Replies: 7 comments 12 replies
-
and i am use proxy (socks5) |
Beta Was this translation helpful? Give feedback.
-
data and params is none |
Beta Was this translation helpful? Give feedback.
-
In order to say anything about your issue, we are going to need more information. Could you:
It would be tremendously helpful if you were able to write a runnable reproduction of the issue you have. |
Beta Was this translation helpful? Give feedback.
-
@jhominal I've met the same error, MWE as below from httpx import AsyncClient
async def test_socks5_proxy():
async with AsyncClient(proxies="socks5://localhost:7890") as client:
r = await client.post(f"https://api.telegram.org/bot{token}/getMe") # TypeError
r.raise_for_status() Stack trace:
Downstream issue and discussions here, if you need it: python-telegram-bot/python-telegram-bot#3211 |
Beta Was this translation helpful? Give feedback.
-
Can confirm the error, happens always when using async and socks5, |
Beta Was this translation helpful? Give feedback.
-
I have a very sad workaround: in |
Beta Was this translation helpful? Give feedback.
-
Are there any new updates to it? The problem is still there unfortunately |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/encode/httpx/discussions
Gives the error
unhashable type: 'bytearray'
when I make a GET request using cookies, headers and parametersCode:
Beta Was this translation helpful? Give feedback.
All reactions