Idirect-Tech / Breeze-Python-SDK

The official Python client library for the ICICI Securities trading APIs
MIT License
53 stars 28 forks source link

WebSocket BadNamespaceError #51

Open onchiptech opened 6 months ago

onchiptech commented 6 months ago

Hello,

I am getting the following error while executing the subscribe_feeds() function using Websocket. The same code was executed daily without any problem until 18th December. I was wondering if there is any external factor that might be causing this error.

api_conn.subscribe_feeds(exchange_code="NSE", stock_code=breeze.to_breeze[tic], product_type="cash", right="Call", interval="1minute", get_exchange_quotes=True, get_market_depth=False) File "/usr/local/lib/python3.9/dist-packages/breeze_connect/breeze_connect.py", line 362, in subscribe_feeds self.sio_ohlcv_stream_handler.watch_stream_data(exchange_quotes_token,interval) File "/usr/local/lib/python3.9/dist-packages/breeze_connect/breeze_connect.py", line 86, in watch_stream_data self.sio.emit('join', data) File "/usr/local/lib/python3.9/dist-packages/socketio/client.py", line 393, in emit raise exceptions.BadNamespaceError( socketio.exceptions.BadNamespaceError: / is not a connected namespace.

Thanks, Surendra

sanchaykasturey commented 6 months ago

it must have been fixed by now, there was an internal server error I got in touch with some representatives from Breeze API

Idirect-Tech commented 6 months ago

Sir,

Sorry for the inconvenience.

We are debugging the issue, once it would be fixed will let you know.