代理设置不要用export http_proxy,会导致前后端无法通信 #413
luoye2333
started this conversation in
Show and tell
Replies: 1 comment 1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如果用export http_proxy设置代理,会导致前后端通信和到openai的通信都设置上代理,导致前后端无法访问。然而如果按照解决方案里的加127.0.0.1的特殊规则设置成直连,那么访问openai的请求也会改成直连,导致无法访问。
也就是说用export http_proxy,要么两者全是代理,要么全不代理。解决方案是在网页端设置代理。
Beta Was this translation helpful? Give feedback.
All reactions