-
-
Notifications
You must be signed in to change notification settings - Fork 164
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
ConnectionError(ProtocolError('Connection aborted.', OSError(0, 'Error')),) #163
Comments
Do you have a timeout set? if not maybe set it to something big, like 300. |
yes s4w3d0ff i have a timeout set to 3.05 to connection and None for answer |
I'm not sure where that error is coming from, can you post the traceback? |
i don't have it anymore but if it s happen again yes |
Looking back, if this issue keeps happening (and you think it is this module that is causing it) you can log the https://stackoverflow.com/a/40088591/3389859 import logging
import poloniex
from logging.handlers import RotatingFileHandler
logging.basicConfig(filename="my_log.log", level=logging.DEBUG)
poloniex.logger.setLevel(logging.DEBUG)
fileLoggerHandler = RotatingFileHandler('my_log.log', maxBytes=1000, backupCount=2)
poloniex.logger.addHandler(fileLoggerHandler) While looking for a more simple solution I found this SO question: One answer might work for you if you are executing your script remote using bash and want to log just the exceptions: Append errors to file, other output to the terminal:
|
Hello,
My script runing now from a long time has been stop
and i have had this error:
ConnectionError(ProtocolError('Connection aborted.', OSError(0, 'Error')),)
What is mean ?
Thanks.
The text was updated successfully, but these errors were encountered: