Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Issue with IndexError after authenticate() #89

Description

@KevinTurnbull

I'm not sure I understand how the solution was found here. I am having the same issue as this.

I've called authenticate with my key and secret; if I don't use authenticate (i.e. don't register for information about orders) then I don't get this crash. It also only sometimes crashes like this since it's only an infrequent crash. Thoughts?

  File "/code/market/sockets.py", line 61, in _connection_handler
    self.connection.conn.start()
  File "/usr/local/lib/python3.6/dist-packages/bittrex_websocket/_signalr.py", line 53, in start
    self.queue_handler()
  File "/usr/local/lib/python3.6/dist-packages/bittrex_websocket/_signalr.py", line 64, in queue_handler
    raise self.exception
  File "/usr/local/lib/python3.6/dist-packages/bittrex_websocket/_signalr.py", line 41, in wrapped_listener
    listener()
  File "/usr/local/lib/python3.6/dist-packages/signalr/transports/_ws_transport.py", line 42, in _receive
    self._handle_notification(notification)
  File "/usr/local/lib/python3.6/dist-packages/bittrex_websocket/_signalr.py", line 105, in _handle_notification
    self._connection.received.fire(**data)
  File "/usr/local/lib/python3.6/dist-packages/signalr/events/_events.py", line 15, in fire
    handler(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/bittrex_websocket/websocket_client.py", line 298, in _on_debug
    self._is_query_invoke(kwargs)
  File "/usr/local/lib/python3.6/dist-packages/bittrex_websocket/websocket_client.py", line 302, in _is_query_invoke
    invoke = self.invokes[int(kwargs['I'])]['invoke']
IndexError: list index out of range

list index out of range

Originally posted by @KevinTurnbull in #77 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions