No Server Response when using Rotating Proxies #2368
-
Overview First Issue
Second Issue To Reproduce data1 = {"foo": "bar"}
with httpx.Client(headers=HEADERS, timeout=timeout, proxies=proxyauth if proxytype != "" else None) as client:
resp2 = client.post("https://discord.com/api/v9/users/@me", json=data1)
lock.acquire()
if resp2.status_code == 204: pystyle.Write.Print("\t[+] Successfully requested api!\n", pystyle.Colors.green, interval=0)
lock.release() Expected behavior |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
It's not obvious to me how best to try to help with resolving this.
|
Beta Was this translation helpful? Give feedback.
-
It seems that the issue is caused by rotating proxies. When choosing sticky ones with 30 seconds - 1 minute stickiness the issue don't happen that often. However it still would be nice to be able to use rotating proxies. |
Beta Was this translation helpful? Give feedback.
-
@tomchristie I also have this problem.
If I export the proxy and run this test.py file, I will get 502, but if I do not use proxy, then I get 200, here is my file:
Can you help me fix this problem? |
Beta Was this translation helpful? Give feedback.
It seems that the issue is caused by rotating proxies. When choosing sticky ones with 30 seconds - 1 minute stickiness the issue don't happen that often. However it still would be nice to be able to use rotating proxies.