Skip to content
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

ERROR: 发现不同线程(并发)进行使用BCE 调用, 设置了不同EndPoints, Proxy影响不同线程的调用 #96

Open
seayuns opened this issue Oct 11, 2024 · 0 comments

Comments

@seayuns
Copy link

seayuns commented Oct 11, 2024

A线程:
bcmclient := bcm.NewClient(ak, sk, endpoint)
bcmclient.Config.ProxyUrl =AProxyURL

B线程:
bcmclient := bcm.NewClient(ak, sk, endpoint)
bcmclient.Config.ProxyUrl = ""

错误现象:
B线程的 bcmclient 被设置上 AProxyURL 导致代理错误
错误日志
proxyconnect tcp: dial tcp ${AProxy}: connect: connection timed out, retry for 3 time(s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant