Coder Social home page Coder Social logo

asocksimap's People

Contributors

optinsoft avatar

Stargazers

 avatar

Watchers

 avatar

asocksimap's Issues

Future exception was never retrieved

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.