Мне нужно ssh
до Web App
на Azure
. Следуя инструкциям Я установил azure cli
, вошел в систему и вызвал, чтобы открыть туннель:
az webapp remote-connection create -g myresourcegroup -n myapp -p 9000
Он генерирует этот стек ошибок:
Traceback (most recent call last):
File "/usr/local/Cellar/python/3.7.1/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.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/Users/myusername/.azure/cliextensions/webapp/azext_webapp/custom.py", line 235, in _start_tunnel
if not _check_for_ready_tunnel(remote_debugging_enabled, tunnel_server):
File "/Users/myusername/.azure/cliextensions/webapp/azext_webapp/custom.py", line 200, in _check_for_ready_tunnel
default_port = tunnel_server.is_port_set_to_default()
File "/Users/myusername/.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://myapp.scm.azurewebsites.net/AppServiceTunnel/Tunnel.ashx?GetStatus' with status code '404' and reason 'Not Found'
Как мне идти отсюда? Я на MacOs
.
РЕДАКТИРОВАТЬ:
Несколько строк debug
трассировки до ошибки:
msrest.http_logger : <publishData><publishProfile profileName="hxserver1 - Web Deploy" publishMethod="MSDeploy" publishUrl="hxserver1.scm.azurewebsites.net:443" msdeploySite="hxserver1" userName="$hxserver1" userPWD="bRqeRL3xwe1K2Wuqi3MX6oFZMlASg3jSt3bE9lN4YygiNafTvJSrgbTNMLz1" destinationAppUrl="http://hxserver1.azurewebsites.net" SQLServerDBConnectionString="" mySQLDBConnectionString="" hostingProviderForumLink="" controlPanelLink="http://windows.azure.com" webSystem="WebSites"><databases /></publishProfile><publishProfile profileName="hxserver1 - FTP" publishMethod="FTP" publishUrl="ftp://waws-prod-blu-083.ftp.azurewebsites.windows.net/site/wwwroot" ftpPassiveMode="True" userName="hxserver1\$hxserver1" userPWD="bRqeRL3xwe1K2Wuqi3MX6oFZMlASg3jSt3bE9lN4YygiNafTvJSrgbTNMLz1" destinationAppUrl="http://hxserver1.azurewebsites.net" SQLServerDBConnectionString="" mySQLDBConnectionString="" hostingProviderForumLink="" controlPanelLink="http://windows.azure.com" webSystem="WebSites"><databases /></publishProfile></publishData>
urllib3.connectionpool : Starting new HTTPS connection (1): hxserver1.scm.azurewebsites.net
urllib3.connectionpool : https://hxserver1.scm.azurewebsites.net:443 "GET /api/settings HTTP/1.1" 200 574
urllib3.connectionpool : Starting new HTTPS connection (1): hxserver1.scm.azurewebsites.net
urllib3.connectionpool : https://hxserver1.scm.azurewebsites.net:443 "GET /AppServiceTunnel/Tunnel.ashx?GetStatus HTTP/1.1" 404 67