-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] dockerfile部署后,agent无法加载。 #3395
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
果然是PROXYCHAINS问题,我去掉就没事。 |
Sure enough, it is a PROXYCHAINS problem. If I remove it, it will be fine. |
@hezhijie0327 来帮忙看看这个 case? |
@hezhijie0327 Come and help with this case? |
@yincangshiwei docker 部署命令能提供下嘛,如 我本地跑了下没啥问题,建议检查下: |
@yincangshiwei Can you provide the docker deployment command, such as I ran it locally and there was no problem. I suggest you check: |
docker 官方镜像,运行测试一切正常 。 |
Docker official image, everything is normal when running the test. |
我环境所在是云函数 |
我环境所在是云函数 |
Is it from Tencent or Alibaba Cloud? I briefly looked at the configurations of the two platforms. Are you using an intranet tunnel through VPC to access the proxy in your VPS? Either check whether the HTTP or Socks firewall on the VPS is turned on. I will try it later if I have time. |
腾讯,是要开启WebSocket? |
Tencent, do you want to enable WebSocket? |
I just can't use this proxy client. So I didn't fill in the PROXY_URL. Normally I can't use the proxy client. I can use it normally without filling in the PROXY_URL. |
In the design, Line 161 in 8004367
Line 188 in 8004367
There is a possibility that the Cloud Function platform does not support the current Dockerfile CMD format, and the existing one may need to be put into a separate |
I changed it to: CMD ["node", "/app/server.js"], which is useless ${PROXYCHAINS} node "/app/server.js"; |
它主要问题是,使用${PROXYCHAINS} node "/app/server.js"; 是有问题的,我改成CMD ["node", "/app/server.js"]是没问题。所以如果说,没存在proxy url的话,干脆就不要PROXYCHAINS。 |
The main problem is that there is a problem with using ${PROXYCHAINS} node "/app/server.js";. I changed it to CMD ["node", "/app/server.js"] and there is no problem. |
主要是现在判定就是不引入啊... 当 而且官方镜像,我在云函数平台(上海区域)中运行都正常的... 你要么先试试下面这个方法
你如果有顾虑你改成这个看看,逻辑等同:
|
The main reason is that it is now decided not to introduce it... When And the official image, I run it normally in the cloud function platform (Shanghai area)... You can either try the following method first
If you have concerns, you can change it to this and have a look. The logic is equivalent to:
|
This issue is closed, If you have any questions, you can comment and reply. |
📦 Environment
Docker
📌 Version
1.8.2
💻 Operating System
Other Linux
🌐 Browser
Chrome, Edge, Safari, Firefox
🐛 Bug Description
使用最新的dockerfile打包部署后,agent无法加载出来。估计是PROXYCHAINS不适配我这个环境,这玩意能否去掉。
📷 Recurrence Steps
No response
🚦 Expected Behavior
No response
📝 Additional Information
No response
The text was updated successfully, but these errors were encountered: