Replies: 4 comments 8 replies
-
Is there a public URL which replicates this behaviour? |
Beta Was this translation helpful? Give feedback.
-
Hello @tomchristie , I have same problem. I couldn't reproduce this problem with a single use. But it consistently appears in the production. I'm making 4-5 requests in a lot of threads. Code
Logs
Env
|
Beta Was this translation helpful? Give feedback.
-
It seems that I also encountered a similar error: It is worth noting that it always appears after transmitting several chunks. import asyncio
import time
import urllib.parse
from httpx import AsyncClient
async def main():
async with AsyncClient() as source_client:
async with source_client.stream(
"GET", "URL", follow_redirects=True
) as stream_resp:
async with AsyncClient(...) as target_client:
await target_client.put(
"/api/fs/put",
headers={
"Content-Type": "application/octet-stream",
"Last-Modified": str(int(time.time() * 1000)),
"File-Path": urllib.parse.quote_plus("/path/to/file"),
},
content=stream_resp.aiter_bytes(),
)
asyncio.run(main())
|
Beta Was this translation helpful? Give feedback.
-
Issue with Shared Instance of
|
Beta Was this translation helpful? Give feedback.
-
The proxy is being used is ref. to
Fiddler
Beta Was this translation helpful? Give feedback.
All reactions