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

Server disconnected without sending a response #595

Open
zhaoxin111 opened this issue Jun 6, 2024 · 0 comments
Open

Server disconnected without sending a response #595

zhaoxin111 opened this issue Jun 6, 2024 · 0 comments

Comments

@zhaoxin111
Copy link

Thanks for sharing such an excellent work. The code ran stably within a few hours after I deployed it on my computer. But after more than ten hours, the error "Server disconnected without sending a response" always appeared. I restarted the program several times and the same error appeared after a few hours. I guess it might be because I used VPN, but is there any way to circumvent this problem? Or when the service hangs, it can restart itself, which avoids the need to ctrl+c and restart the service every time it hangs. Any suggestions will be very helpful to me, thank you.

2024-06-05 22:49:38,850 - _updater.py:768 - ERROR - Error while getting Updates: httpx.RemoteProtocolError: Server disconnected without sending a response.
2024-06-05 22:49:38,853 - utils.py:149 - ERROR - Exception while handling an update: httpx.RemoteProtocolError: Server disconnected without sending a response.
2024-06-05 22:49:38,863 - utils.py:155 - ERROR - Traceback (most recent call last):
File "D:\tools\anaconda3\lib\site-packages\httpx_transports\default.py", line 69, in map_httpcore_exceptions
yield
File "D:\tools\anaconda3\lib\site-packages\httpx_transports\default.py", line 373, in handle_async_request
resp = await self._pool.handle_async_request(req)
File "D:\tools\anaconda3\lib\site-packages\httpcore_async\connection_pool.py", line 216, in handle_async_request
raise exc from None
File "D:\tools\anaconda3\lib\site-packages\httpcore_async\connection_pool.py", line 196, in handle_async_request
response = await connection.handle_async_request(
File "D:\tools\anaconda3\lib\site-packages\httpcore_async\http_proxy.py", line 344, in handle_async_request
return await self._connection.handle_async_request(request)
File "D:\tools\anaconda3\lib\site-packages\httpcore_async\http11.py", line 143, in handle_async_request
raise exc
File "D:\tools\anaconda3\lib\site-packages\httpcore_async\http11.py", line 113, in handle_async_request
) = await self._receive_response_headers(**kwargs)
File "D:\tools\anaconda3\lib\site-packages\httpcore_async\http11.py", line 186, in _receive_response_headers
event = await self._receive_event(timeout=timeout)
File "D:\tools\anaconda3\lib\site-packages\httpcore_async\http11.py", line 238, in _receive_event
raise RemoteProtocolError(msg)
httpcore.RemoteProtocolError: Server disconnected without sending a response.

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