Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 745

asyncio - ConnectionResetError constantly printing??

by Zentred - 13 October, 2022 - 04:52 PM
This post is by a banned member (Zentred) - Unhide
Zentred  
Infinity
617
Posts
124
Threads
4 Years of service
#1
(This post was last modified: 13 October, 2022 - 09:42 PM by Zentred. Edited 1 time in total.)
i am using try: and except: on where the request takes place (yes it works, the other exceptions go through this)

i am unable to make this specific exception stop printing, i really don't know what to do, i tried to look for how to fix but couldn't.

any help?
 
Code:
 
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\asyncio\events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 162, in _call_connection_lost
    self._sock.shutdown(socket.SHUT_RDWR)

This is a bump
This post is by a banned member (LoroPiana) - Unhide
LoroPiana  
Retired Staff
946
Posts
187
Threads
6 Years of service
#2
(This post was last modified: 13 October, 2022 - 10:19 PM by LoroPiana.)
Share some code if you want help Fappa
Monkah
This post is by a banned member (Zentred) - Unhide
Zentred  
Infinity
617
Posts
124
Threads
4 Years of service
#3
(13 October, 2022 - 10:19 PM)LoroPiana Wrote: Show More
Share some code if you want help Fappa

can't really do that because i make money from this bot

however it's a general issue not specific to just what im doing, just happens with requests sometimes whether thats the url in requesting too or for whatever reason
This post is by a banned member (LoroPiana) - Unhide
LoroPiana  
Retired Staff
946
Posts
187
Threads
6 Years of service
#4
(14 October, 2022 - 05:48 PM)Zentred Wrote: Show More
(13 October, 2022 - 10:19 PM)LoroPiana Wrote: Show More
Share some code if you want help Fappa

can't really do that because i make money from this bot

however it's a general issue not specific to just what im doing, just happens with requests sometimes whether thats the url in requesting too or for whatever reason

remove the important parts like the urls...
Share the relevant part with the request
Monkah

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)