Skip to content

Error when connecting to Proxy Agent #11

@matt953

Description

@matt953

Hi,

I am trying to get the updated proxy agent working. When I try I am getting the following error every time I send a message to the Proxy.

This is occurring when I try and send the auth action message.

{"action": "auth", "key": "{APCA-API-KEY-ID}", "secret": "{APCA-API-SECRET-KEY}"}

The Error in the Porxy Agent log is:

a bytes-like object is required, not 'str'

local variable 'data' referenced before assignment

2021-08-10 14:01:09,205 root Unsubscribing from: defaultdict(<class 'set'>, {})

2021-08-10 14:01:09,205 root error unsubscribing from defaultdict(<class 'set'>, {}). 'NoneType' object has no attribute 'unsubscribe_trades'

Done

Thanks

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