optinsoft / asocksimap Goto Github PK
View Code? Open in Web Editor NEWConnect to IMAP through Socks using Python asyncio
License: MIT License
Connect to IMAP through Socks using Python asyncio
License: MIT License
When using this library, i get a lot of "Future exception was never retrieved" errors.
future: <Future finished exception=SocksError('Can not connect to imap.gmx.com:993. Server sent fewer bytes than required (0 bytes read on a total of 2 expected bytes)')>
aiosocks.errors.SocksError: Can not connect to imap.gmx.com:993. Server sent fewer bytes than required (0 bytes read on a total of 2 expected bytes)
Future exception was never retrieved
or
ConnectionResetError: [Errno 104] Connection reset by peer
Future exception was never retrieved
future: <Future finished exception=ConnectionResetError(104, 'Connection reset by peer')>
Traceback (most recent call last):
File "/home/lukas/.local/lib/python3.11/site-packages/aiosocks/protocols.py", line 57, in negotiate
self._proxy_peername, self._proxy_sockname = await req
^^^^^^^^^
File "/home/lukas/.local/lib/python3.11/site-packages/aiosocks/protocols.py", line 281, in socks_request
await self.authenticate()
File "/home/lukas/.local/lib/python3.11/site-packages/aiosocks/protocols.py", line 314, in authenticate
chosen_auth = await self.read_response(2)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lukas/.local/lib/python3.11/site-packages/aiosocks/protocols.py", line 150, in read_response
return (await self._stream_reader.readexactly(n))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/asyncio/streams.py", line 733, in readexactly
await self._wait_for_data('readexactly')
File "/usr/lib64/python3.11/asyncio/streams.py", line 526, in _wait_for_data
await self._waiter
File "/usr/lib64/python3.11/asyncio/selector_events.py", line 995, in _read_ready__data_received
data = self._sock.recv(self.max_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer
Future exception was never retrieved
I am not entirely sure that those are futures started by this library, but maybe it is tasks created with create_task
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.