python - Aiohttp errno codes documentation ? Errno -2 / 111 / 113 / 104 / 101 -
i encountering wide variety of error codes while scraping through list of urls.
heres outtake have encountered:
[errno -2] cannot connect host msecnd.net:80 ssl:false [name or service not known] ... [errno 113] cannot connect host ru4.com:80 ssl:false [can not connect ru4.com:80 [connect call failed ('75.98.46.13', 80)]] ... [errno 111] cannot connect host mail.me.com.akadns.net:80 ssl:false [can not connect mail.me.com.akadns.net:80 [connect call failed ('17.172.34.92', 80)]] ... [errno 104] connection reset peer ... [errno 101] cannot connect host mqtt.c10r.facebook.com:80 ssl:false [can not connect mqtt.c10r.facebook.com:80 [network unreachable]]
however cannot find clear documentation on how avoid these errors. errno -2
caused invalid cert chain, cannot find how can fix issue on machine. errno 113
connection refused or no route host other errnos not documented.
my question is: how can find documentation describes these error codes , additionally how can handle them best way ?
aiohttp has no specific error codes, observing standard oserror
exceptions python internals.
https://docs.python.org/3/library/errno.html help. or better google query errno 101
return comprehensive list of articles.
Comments
Post a Comment