赛普拉斯无法访问本地主机socks5代理

问题描述

我在 socks5 代理后面运行 cypress 时遇到问题。就是这样:

我通过 SSH 连接到我的主机以创建隧道。成功。

我在 MAC 网络设置中添加了我的 SOCKS 代理。

代理设置为"localhost" port 1080.

这在我的浏览器中运行良好,但是当我尝试使用 cypress test runner 时。我没有连接。

我必须导航到主页才能看到这个:

cy.visit() failed trying to load:

http://dev.website.io/

We attempted to make an http request to this URL but the request failed without a response.

We received this error at the network level:

  > Error: socket hang up

Common situations why this would fail:
   - you don't have internet access
   - you forgot to run / boot your web server
   - your web server isn't accessible
   - you have weird network configuration settings on your computer

我在这里做错了什么?

我尝试以超过 1 种方式设置 HTTP_PROXY 变​​量,但没有找到。

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...