Skip to content
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

'NoneType' object has no attribute 'host' #215

Open
poiuty opened this issue Jun 20, 2023 · 0 comments
Open

'NoneType' object has no attribute 'host' #215

poiuty opened this issue Jun 20, 2023 · 0 comments

Comments

@poiuty
Copy link

poiuty commented Jun 20, 2023

Exception in callback UVTransport._call_connection_made
handle: <Handle UVTransport._call_connection_made>
Traceback (most recent call last):
  File "uvloop/cbhandles.pyx", line 66, in uvloop.loop.Handle._run
  File "uvloop/handles/tcp.pyx", line 155, in uvloop.loop.TCPTransport._call_connection_made
  File "uvloop/handles/basetransport.pyx", line 145, in uvloop.loop.UVBaseTransport._call_connection_made
  File "uvloop/handles/basetransport.pyx", line 142, in uvloop.loop.UVBaseTransport._call_connection_made
  File "/home/bitcoin/.local/lib/python3.9/site-packages/aiorpcx/rawsocket.py", line 81, in connection_made
    self.session = self.session_factory(self)
  File "/home/bitcoin/electrumx/electrumx/server/session.py", line 984, in __init__
    super().__init__(*args, **kwargs)
  File "/home/bitcoin/electrumx/electrumx/server/session.py", line 913, in __init__
    self.session_mgr.add_session(self)
  File "/home/bitcoin/electrumx/electrumx/server/session.py", line 856, in add_session
    self._session_group(self._ip_addr_group_name(session), 1.0),
  File "/home/bitcoin/electrumx/electrumx/server/session.py", line 829, in _ip_addr_group_name
    host = session.remote_address().host
AttributeError: 'NoneType' object has no attribute 'host'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant