Amazon web services VS代码在代理后使用Jupyter笔记本
我提到这个问题,但我有一个不同的问题Amazon web services VS代码在代理后使用Jupyter笔记本,amazon-web-services,visual-studio-code,proxy,jupyter-notebook,Amazon Web Services,Visual Studio Code,Proxy,Jupyter Notebook,我提到这个问题,但我有一个不同的问题 环境: Jupyter笔记本在AWS EMR上 使用SOCKS5代理从浏览器访问笔记本。要做到这一点,我必须连接到VPN才能工作,SSH使用PuTTY使用.ppk文件和隧道(动态端口转发) 为了自动化上面的步骤,我使用PLink(| |)):c:\stuff\PLink.exe--ssh-ic:\stuff\file.ppk-dxxxx user-name@code--proxy server=“socks5://”-verbose 错误消息: [
.ppk
文件和隧道(动态端口转发)c:\stuff\PLink.exe--ssh-ic:\stuff\file.ppk-dxxxx user-name@code--proxy server=“socks5://”-verbose
[17668:0505/104410.116:WARNING:dns_config_service_win.cc(692)] Failed to read DnsConfig.
[main 2021-05-05T14:44:10.224Z] Starting VS Code
[main 2021-05-05T14:44:10.224Z] from: c:\Users\ablaze\AppData\Local\Programs\Microsoft VS Code\resources\app
[main 2021-05-05T14:44:10.224Z] args: {
_: [],
...
'no-proxy-server': false,
'proxy-server': 'socks5://localhost:8088',
...
logsPath: 'C:\\Users\\ablaze\\AppData\\Roaming\\Code\\logs\\20210505T104410'
}
...
[main 2021-05-05T14:44:10.258Z] windowsManager#open pathsToOpen [
{
backupPath: 'C:\\Users\\ablaze\\AppData\\Roaming\\Code\\Backups\\1620224957079',
remoteAuthority: undefined
}
]
为了仔细检查,我还打开了日志文件C:\Users\ablaze\AppData\Roaming\code\logs\20210505T104410\main.log
...
[2021-05-05 10:44:40.345] [main] [trace] update#checkForUpdates, state = idle
[2021-05-05 10:44:40.345] [main] [info] update#setState checking for updates
[2021-05-05 10:44:40.345] [main] [trace] RequestService#request https://update.code.visualstudio.com/api/update/win32-x64-user/stable/3c4e3df9e89829dce27b7b5c24508306b151f30d
[2021-05-05 10:44:40.346] [main] [trace] resolveShellEnv(): skipped (Windows)
[2021-05-05 10:44:44.354] [main] [error] Error: net::ERR_PROXY_CONNECTION_FAILED
at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:109:6508)
at SimpleURLLoaderWrapper.emit (events.js:315:20)
[2021-05-05 10:44:44.354] [main] [info] update#setState idle
。。。
[2021-05-05 10:44:40.345][main][trace]update#checkForUpdates,state=idle
[2021-05-05 10:44:40.345][main][info]更新#设置状态检查更新
[2021-05-0510:44:40.345][main][trace]请求服务#请求https://update.code.visualstudio.com/api/update/win32-x64-user/stable/3c4e3df9e89829dce27b7b5c24508306b151f30d
[2021-05-05 10:44:40.346][main][trace]resolveShellEnv():已跳过(Windows)
[2021-05-05 10:44:44.354][main][error]错误:net::ERR_PROXY_CONNECTION_失败
在SimpleRlloaderWrapper。(electron/js2c/browser_init.js:109:6508)
在SimpleAlloaderWrapper.emit(events.js:315:20)上
[2021-05-05 10:44:44.354][main][info]更新#设置空闲状态
不确定我是否在此处找到了任何内容:您是在尝试打开远程主机上的.ipynb文件,还是在本地运行VS代码时尝试连接到正在运行的Jupyter服务器?如果您尝试执行前者,那么VS代码远程SSH扩展可能就是您所需要的:。@joyceerl后者。不确定前者是否会有所帮助。在一天结束时,尝试从AWS EMR打开Jupyter笔记本。这是Jupyter扩展目前的远程服务器支持:如果您按照这些说明操作,仍然无法连接,请在上提交增强请求。
...
[2021-05-05 10:44:40.345] [main] [trace] update#checkForUpdates, state = idle
[2021-05-05 10:44:40.345] [main] [info] update#setState checking for updates
[2021-05-05 10:44:40.345] [main] [trace] RequestService#request https://update.code.visualstudio.com/api/update/win32-x64-user/stable/3c4e3df9e89829dce27b7b5c24508306b151f30d
[2021-05-05 10:44:40.346] [main] [trace] resolveShellEnv(): skipped (Windows)
[2021-05-05 10:44:44.354] [main] [error] Error: net::ERR_PROXY_CONNECTION_FAILED
at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:109:6508)
at SimpleURLLoaderWrapper.emit (events.js:315:20)
[2021-05-05 10:44:44.354] [main] [info] update#setState idle