You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error message informs us about the security type for which we don't have permission.
Actual Behavior
We get this error:
"Runtime Error: Failed to authenticate websocket. Make sure your API key is valid and has the right permissions."
in the Syslog we see:
2024-12-06T11:57:14.0252444Z TRACE:: PolygonSubscriptionManager.Subscribe(): JPM
2024-12-06T11:57:14.0256851Z TRACE:: WebSocketClientWrapper connection task started: wss://socket.polygon.io/stocks
2024-12-06T11:57:14.0257277Z TRACE:: WebSocketClientWrapper.HandleConnection(wss://socket.polygon.io/stocks): Connecting...
2024-12-06T11:57:14.1161131Z TRACE:: WebSocketClientWrapper.OnOpen(): Connection opened (IsOpen:True, State:Open): wss://socket.polygon.io/stocks
2024-12-06T11:57:14.1161655Z TRACE:: PolygonWebSocketClientWrapper.OnOpen(): Equity - connection open
2024-12-06T11:57:14.1348581Z TRACE:: PolygonSubscriptionManager.ConnectWebSocket(): Failed authentication: Your plan doesn't include websocket access. Visit https://polygon.io/pricing to upgrade..
It would be helpful if the runtime error reports that we don't have permissions for the stocks endpoint, since we may have permissions for the option one.
Potential Solution
Attach the request URL to the message.
Checklist
I have completely filled out this template
I have confirmed that this issue exists on the current master branch
I have confirmed that this is not a duplicate issue by searching issues
I have provided detailed steps to reproduce the issue
The text was updated successfully, but these errors were encountered:
Expected Behavior
The error message informs us about the security type for which we don't have permission.
Actual Behavior
We get this error:
"Runtime Error: Failed to authenticate websocket. Make sure your API key is valid and has the right permissions."
in the Syslog we see:
2024-12-06T11:57:14.0252444Z TRACE:: PolygonSubscriptionManager.Subscribe(): JPM
2024-12-06T11:57:14.0256851Z TRACE:: WebSocketClientWrapper connection task started: wss://socket.polygon.io/stocks
2024-12-06T11:57:14.0257277Z TRACE:: WebSocketClientWrapper.HandleConnection(wss://socket.polygon.io/stocks): Connecting...
2024-12-06T11:57:14.1161131Z TRACE:: WebSocketClientWrapper.OnOpen(): Connection opened (IsOpen:True, State:Open): wss://socket.polygon.io/stocks
2024-12-06T11:57:14.1161655Z TRACE:: PolygonWebSocketClientWrapper.OnOpen(): Equity - connection open
2024-12-06T11:57:14.1348581Z TRACE:: PolygonSubscriptionManager.ConnectWebSocket(): Failed authentication: Your plan doesn't include websocket access. Visit https://polygon.io/pricing to upgrade..
It would be helpful if the runtime error reports that we don't have permissions for the stocks endpoint, since we may have permissions for the option one.
Potential Solution
Attach the request URL to the message.
Checklist
master
branchThe text was updated successfully, but these errors were encountered: