SSH错误 [英] SSH error
问题描述
我在azure上安装了drupal Web应用程序.
I have drupal web app installed on azure.
当我浏览到https://brighton.scm.azurewebsites.net/webssh/host时,我看到错误
when I browse to https://brighton.scm.azurewebsites.net/webssh/host, I see error
没有为'/webssh/host'注册的路由"
"No route registered for '/webssh/host'"
我也收到以下错误
az webapp远程连接创建-g Brighton -n Brighton -p 8888
az webapp remote-connection create -g brighton -n brighton -p 8888
端口8888已打开
线程Thread-1中的异常:
追溯(最近一次通话):
_bootstrap_inner
中的文件"/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py",第917行
self.run()
在运行中,文件"/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py",行865
self._target(* self._args,** self._kwargs)
在_start_tunnel中的文件"/Users/davidsoanes/.azure/cliextensions/webapp/azext_webapp/custom.py"第230行
如果不是_check_for_ready_tunnel(启用远程调试功能,tunnel_server):
在_check_for_ready_tunnel中的文件"/Users/davidsoanes/.azure/cliextensions/webapp/azext_webapp/custom.py"第195行
default_port = tunnel_server.is_port_set_to_default()
is_port_set_to_default
中的文件"/Users/davidsoanes/.azure/cliextensions/webapp/azext_webapp/tunnel.py",第96行
url,r.status,r.reason))
knack.util.CLIError:无法连接状态代码为"404"且原因为未找到"的"https://brighton.scm.azurewebsites.net/AppServiceTunnel/Tunnel.ashx?GetStatus"
Port 8888 is open
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/Users/davidsoanes/.azure/cliextensions/webapp/azext_webapp/custom.py", line 230, in _start_tunnel
if not _check_for_ready_tunnel(remote_debugging_enabled, tunnel_server):
File "/Users/davidsoanes/.azure/cliextensions/webapp/azext_webapp/custom.py", line 195, in _check_for_ready_tunnel
default_port = tunnel_server.is_port_set_to_default()
File "/Users/davidsoanes/.azure/cliextensions/webapp/azext_webapp/tunnel.py", line 96, in is_port_set_to_default
url, r.status, r.reason))
knack.util.CLIError: Failed to connect to 'https://brighton.scm.azurewebsites.net/AppServiceTunnel/Tunnel.ashx?GetStatus' with status code '404' and reason 'Not Found'
请帮助谢谢Devrajan
please help thanks Devrajan
推荐答案
你好Devrajan,
Hello Devrajan,
这是之后安装了Drupal的普通Windows Web App,还是市场上的Drupal Web App?
Is this a normal Windows Web App with Drupal installed afterwards, or a Drupal Web App from the marketplace?
There's a similar post here where the the "Webpages" property was set to disabled. Can you check to make sure that wasn't set for you? You can add it to the web.config to make sure it's enabled.
这篇关于SSH错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!