-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfyersDataSocket.log
10 lines (10 loc) · 44.2 KB
/
fyersDataSocket.log
1
2
3
4
5
6
7
8
9
10
{"level":"ERROR","location":"[exception:108] fyers_logger","message":"HTTPSConnectionPool(host='api-t1.fyers.in', port=443): Max retries exceeded with url: /data/quotes?symbols=NSE%3ASBIN-EQ%2CNSE%3AADANIENT-EQ%2CNSE%3ANIFTYBANK-INDEX (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x000002ACCF0DC8B0>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\"))","timestamp":"2023-12-01 15:45:44,859+0530","service":"FyersDataSocket","exception":"Traceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_app.py\", line 428, in setSock\n dispatcher.read(self.sock.sock, read, check)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_app.py\", line 99, in read\n if not read_callback():\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_app.py\", line 442, in read\n raise e\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_app.py\", line 437, in read\n op_code, frame = self.sock.recv_data_frame(True)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_core.py\", line 406, in recv_data_frame\n frame = self.recv_frame()\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_core.py\", line 445, in recv_frame\n return self.frame_buffer.recv_frame()\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_abnf.py\", line 338, in recv_frame\n self.recv_header()\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_abnf.py\", line 294, in recv_header\n header = self.recv_strict(2)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_abnf.py\", line 373, in recv_strict\n bytes_ = self.recv(min(16384, shortage))\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_core.py\", line 529, in _recv\n return recv(self.sock, bufsize)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_socket.py\", line 122, in recv\n raise WebSocketConnectionClosedException(\nwebsocket._exceptions.WebSocketConnectionClosedException: Connection to remote host was lost.\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connection.py\", line 203, in _new_conn\n sock = connection.create_connection(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\util\\connection.py\", line 60, in create_connection\n for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\socket.py\", line 955, in getaddrinfo\n for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\nsocket.gaierror: [Errno 11001] getaddrinfo failed\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 791, in urlopen\n response = self._make_request(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 492, in _make_request\n raise new_e\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 468, in _make_request\n self._validate_conn(conn)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 1097, in _validate_conn\n conn.connect()\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connection.py\", line 611, in connect\n self.sock = sock = self._new_conn()\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connection.py\", line 210, in _new_conn\n raise NameResolutionError(self.host, self, e) from e\nurllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x000002ACCF0DC8B0>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\adapters.py\", line 486, in send\n resp = conn.urlopen(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 845, in urlopen\n retries = retries.increment(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\util\\retry.py\", line 515, in increment\n raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api-t1.fyers.in', port=443): Max retries exceeded with url: /data/quotes?symbols=NSE%3ASBIN-EQ%2CNSE%3AADANIENT-EQ%2CNSE%3ANIFTYBANK-INDEX (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x000002ACCF0DC8B0>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\"))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\fyers_apiv3\\FyersWebsocket\\data_ws.py\", line 65, in symbol_to_hsmtoken\n response = requests.get(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\api.py\", line 73, in get\n return request(\"get\", url, params=params, **kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\api.py\", line 59, in request\n return session.request(method=method, url=url, **kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\sessions.py\", line 589, in request\n resp = self.send(prep, **send_kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\sessions.py\", line 703, in send\n r = adapter.send(request, **kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\adapters.py\", line 519, in send\n raise ConnectionError(e, request=request)\nrequests.exceptions.ConnectionError: HTTPSConnectionPool(host='api-t1.fyers.in', port=443): Max retries exceeded with url: /data/quotes?symbols=NSE%3ASBIN-EQ%2CNSE%3AADANIENT-EQ%2CNSE%3ANIFTYBANK-INDEX (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x000002ACCF0DC8B0>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\"))","exception_name":"ConnectionError"}
{"level":"ERROR","location":"[exception:108] fyers_logger","message":"'NoneType' object is not subscriptable","timestamp":"2023-12-01 15:45:45,132+0530","service":"FyersDataSocket","exception":"Traceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_app.py\", line 428, in setSock\n dispatcher.read(self.sock.sock, read, check)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_app.py\", line 99, in read\n if not read_callback():\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_app.py\", line 442, in read\n raise e\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_app.py\", line 437, in read\n op_code, frame = self.sock.recv_data_frame(True)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_core.py\", line 406, in recv_data_frame\n frame = self.recv_frame()\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_core.py\", line 445, in recv_frame\n return self.frame_buffer.recv_frame()\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_abnf.py\", line 338, in recv_frame\n self.recv_header()\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_abnf.py\", line 294, in recv_header\n header = self.recv_strict(2)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_abnf.py\", line 373, in recv_strict\n bytes_ = self.recv(min(16384, shortage))\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_core.py\", line 529, in _recv\n return recv(self.sock, bufsize)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_socket.py\", line 122, in recv\n raise WebSocketConnectionClosedException(\nwebsocket._exceptions.WebSocketConnectionClosedException: Connection to remote host was lost.\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\fyers_apiv3\\FyersWebsocket\\data_ws.py\", line 1327, in __symbol_conversion\n symbol_dict.update(symbol_dict, **symbol_value[0])\nTypeError: 'NoneType' object is not subscriptable","exception_name":"TypeError"}
{"level":"ERROR","location":"[exception:108] fyers_logger","message":"HTTPSConnectionPool(host='api-t1.fyers.in', port=443): Max retries exceeded with url: /data/quotes?symbols=NSE%3ASBIN-EQ%2CNSE%3AADANIENT-EQ%2CNSE%3ANIFTYBANK-INDEX (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x000002ACCF0DE230>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\"))","timestamp":"2023-12-01 15:45:49,863+0530","service":"FyersDataSocket","exception":"Traceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 155, in _get_addrinfo_list\n addrinfo_list = socket.getaddrinfo(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\socket.py\", line 955, in getaddrinfo\n for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\nsocket.gaierror: [Errno 11001] getaddrinfo failed\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_app.py\", line 412, in setSock\n self.sock.connect(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_core.py\", line 249, in connect\n self.sock, addrs = connect(url, self.sock_opt, proxy_info(**options),\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 122, in connect\n addrinfo_list, need_tunnel, auth = _get_addrinfo_list(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 167, in _get_addrinfo_list\n raise WebSocketAddressException(e)\nwebsocket._exceptions.WebSocketAddressException: [Errno 11001] getaddrinfo failed\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connection.py\", line 203, in _new_conn\n sock = connection.create_connection(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\util\\connection.py\", line 60, in create_connection\n for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\socket.py\", line 955, in getaddrinfo\n for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\nsocket.gaierror: [Errno 11001] getaddrinfo failed\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 791, in urlopen\n response = self._make_request(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 492, in _make_request\n raise new_e\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 468, in _make_request\n self._validate_conn(conn)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 1097, in _validate_conn\n conn.connect()\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connection.py\", line 611, in connect\n self.sock = sock = self._new_conn()\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connection.py\", line 210, in _new_conn\n raise NameResolutionError(self.host, self, e) from e\nurllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x000002ACCF0DE230>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\adapters.py\", line 486, in send\n resp = conn.urlopen(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 845, in urlopen\n retries = retries.increment(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\util\\retry.py\", line 515, in increment\n raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api-t1.fyers.in', port=443): Max retries exceeded with url: /data/quotes?symbols=NSE%3ASBIN-EQ%2CNSE%3AADANIENT-EQ%2CNSE%3ANIFTYBANK-INDEX (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x000002ACCF0DE230>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\"))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\fyers_apiv3\\FyersWebsocket\\data_ws.py\", line 65, in symbol_to_hsmtoken\n response = requests.get(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\api.py\", line 73, in get\n return request(\"get\", url, params=params, **kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\api.py\", line 59, in request\n return session.request(method=method, url=url, **kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\sessions.py\", line 589, in request\n resp = self.send(prep, **send_kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\sessions.py\", line 703, in send\n r = adapter.send(request, **kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\adapters.py\", line 519, in send\n raise ConnectionError(e, request=request)\nrequests.exceptions.ConnectionError: HTTPSConnectionPool(host='api-t1.fyers.in', port=443): Max retries exceeded with url: /data/quotes?symbols=NSE%3ASBIN-EQ%2CNSE%3AADANIENT-EQ%2CNSE%3ANIFTYBANK-INDEX (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x000002ACCF0DE230>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\"))","exception_name":"ConnectionError"}
{"level":"ERROR","location":"[exception:108] fyers_logger","message":"'NoneType' object is not subscriptable","timestamp":"2023-12-01 15:45:49,898+0530","service":"FyersDataSocket","exception":"Traceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 155, in _get_addrinfo_list\n addrinfo_list = socket.getaddrinfo(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\socket.py\", line 955, in getaddrinfo\n for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\nsocket.gaierror: [Errno 11001] getaddrinfo failed\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_app.py\", line 412, in setSock\n self.sock.connect(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_core.py\", line 249, in connect\n self.sock, addrs = connect(url, self.sock_opt, proxy_info(**options),\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 122, in connect\n addrinfo_list, need_tunnel, auth = _get_addrinfo_list(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 167, in _get_addrinfo_list\n raise WebSocketAddressException(e)\nwebsocket._exceptions.WebSocketAddressException: [Errno 11001] getaddrinfo failed\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\fyers_apiv3\\FyersWebsocket\\data_ws.py\", line 1327, in __symbol_conversion\n symbol_dict.update(symbol_dict, **symbol_value[0])\nTypeError: 'NoneType' object is not subscriptable","exception_name":"TypeError"}
{"level":"ERROR","location":"[exception:108] fyers_logger","message":"HTTPSConnectionPool(host='api-t1.fyers.in', port=443): Max retries exceeded with url: /data/quotes?symbols=NSE%3ASBIN-EQ%2CNSE%3AADANIENT-EQ%2CNSE%3ANIFTYBANK-INDEX (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x000002ACCC6CA380>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\"))","timestamp":"2023-12-01 15:45:54,883+0530","service":"FyersDataSocket","exception":"Traceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 155, in _get_addrinfo_list\n addrinfo_list = socket.getaddrinfo(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\socket.py\", line 955, in getaddrinfo\n for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\nsocket.gaierror: [Errno 11001] getaddrinfo failed\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_app.py\", line 412, in setSock\n self.sock.connect(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_core.py\", line 249, in connect\n self.sock, addrs = connect(url, self.sock_opt, proxy_info(**options),\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 122, in connect\n addrinfo_list, need_tunnel, auth = _get_addrinfo_list(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 167, in _get_addrinfo_list\n raise WebSocketAddressException(e)\nwebsocket._exceptions.WebSocketAddressException: [Errno 11001] getaddrinfo failed\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connection.py\", line 203, in _new_conn\n sock = connection.create_connection(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\util\\connection.py\", line 60, in create_connection\n for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\socket.py\", line 955, in getaddrinfo\n for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\nsocket.gaierror: [Errno 11001] getaddrinfo failed\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 791, in urlopen\n response = self._make_request(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 492, in _make_request\n raise new_e\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 468, in _make_request\n self._validate_conn(conn)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 1097, in _validate_conn\n conn.connect()\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connection.py\", line 611, in connect\n self.sock = sock = self._new_conn()\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connection.py\", line 210, in _new_conn\n raise NameResolutionError(self.host, self, e) from e\nurllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x000002ACCC6CA380>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\adapters.py\", line 486, in send\n resp = conn.urlopen(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 845, in urlopen\n retries = retries.increment(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\util\\retry.py\", line 515, in increment\n raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api-t1.fyers.in', port=443): Max retries exceeded with url: /data/quotes?symbols=NSE%3ASBIN-EQ%2CNSE%3AADANIENT-EQ%2CNSE%3ANIFTYBANK-INDEX (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x000002ACCC6CA380>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\"))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\fyers_apiv3\\FyersWebsocket\\data_ws.py\", line 65, in symbol_to_hsmtoken\n response = requests.get(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\api.py\", line 73, in get\n return request(\"get\", url, params=params, **kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\api.py\", line 59, in request\n return session.request(method=method, url=url, **kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\sessions.py\", line 589, in request\n resp = self.send(prep, **send_kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\sessions.py\", line 703, in send\n r = adapter.send(request, **kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\adapters.py\", line 519, in send\n raise ConnectionError(e, request=request)\nrequests.exceptions.ConnectionError: HTTPSConnectionPool(host='api-t1.fyers.in', port=443): Max retries exceeded with url: /data/quotes?symbols=NSE%3ASBIN-EQ%2CNSE%3AADANIENT-EQ%2CNSE%3ANIFTYBANK-INDEX (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x000002ACCC6CA380>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\"))","exception_name":"ConnectionError"}
{"level":"ERROR","location":"[exception:108] fyers_logger","message":"'NoneType' object is not subscriptable","timestamp":"2023-12-01 15:45:54,888+0530","service":"FyersDataSocket","exception":"Traceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 155, in _get_addrinfo_list\n addrinfo_list = socket.getaddrinfo(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\socket.py\", line 955, in getaddrinfo\n for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\nsocket.gaierror: [Errno 11001] getaddrinfo failed\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_app.py\", line 412, in setSock\n self.sock.connect(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_core.py\", line 249, in connect\n self.sock, addrs = connect(url, self.sock_opt, proxy_info(**options),\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 122, in connect\n addrinfo_list, need_tunnel, auth = _get_addrinfo_list(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 167, in _get_addrinfo_list\n raise WebSocketAddressException(e)\nwebsocket._exceptions.WebSocketAddressException: [Errno 11001] getaddrinfo failed\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\fyers_apiv3\\FyersWebsocket\\data_ws.py\", line 1327, in __symbol_conversion\n symbol_dict.update(symbol_dict, **symbol_value[0])\nTypeError: 'NoneType' object is not subscriptable","exception_name":"TypeError"}
{"level":"ERROR","location":"[exception:108] fyers_logger","message":"HTTPSConnectionPool(host='api-t1.fyers.in', port=443): Max retries exceeded with url: /data/quotes?symbols=NSE%3ASBIN-EQ%2CNSE%3AADANIENT-EQ%2CNSE%3ANIFTYBANK-INDEX (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x000002ACCF0DE170>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\"))","timestamp":"2023-12-01 15:45:59,890+0530","service":"FyersDataSocket","exception":"Traceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 155, in _get_addrinfo_list\n addrinfo_list = socket.getaddrinfo(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\socket.py\", line 955, in getaddrinfo\n for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\nsocket.gaierror: [Errno 11001] getaddrinfo failed\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_app.py\", line 412, in setSock\n self.sock.connect(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_core.py\", line 249, in connect\n self.sock, addrs = connect(url, self.sock_opt, proxy_info(**options),\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 122, in connect\n addrinfo_list, need_tunnel, auth = _get_addrinfo_list(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 167, in _get_addrinfo_list\n raise WebSocketAddressException(e)\nwebsocket._exceptions.WebSocketAddressException: [Errno 11001] getaddrinfo failed\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connection.py\", line 203, in _new_conn\n sock = connection.create_connection(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\util\\connection.py\", line 60, in create_connection\n for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\socket.py\", line 955, in getaddrinfo\n for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\nsocket.gaierror: [Errno 11001] getaddrinfo failed\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 791, in urlopen\n response = self._make_request(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 492, in _make_request\n raise new_e\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 468, in _make_request\n self._validate_conn(conn)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 1097, in _validate_conn\n conn.connect()\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connection.py\", line 611, in connect\n self.sock = sock = self._new_conn()\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connection.py\", line 210, in _new_conn\n raise NameResolutionError(self.host, self, e) from e\nurllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x000002ACCF0DE170>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\adapters.py\", line 486, in send\n resp = conn.urlopen(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 845, in urlopen\n retries = retries.increment(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\util\\retry.py\", line 515, in increment\n raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api-t1.fyers.in', port=443): Max retries exceeded with url: /data/quotes?symbols=NSE%3ASBIN-EQ%2CNSE%3AADANIENT-EQ%2CNSE%3ANIFTYBANK-INDEX (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x000002ACCF0DE170>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\"))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\fyers_apiv3\\FyersWebsocket\\data_ws.py\", line 65, in symbol_to_hsmtoken\n response = requests.get(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\api.py\", line 73, in get\n return request(\"get\", url, params=params, **kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\api.py\", line 59, in request\n return session.request(method=method, url=url, **kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\sessions.py\", line 589, in request\n resp = self.send(prep, **send_kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\sessions.py\", line 703, in send\n r = adapter.send(request, **kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\adapters.py\", line 519, in send\n raise ConnectionError(e, request=request)\nrequests.exceptions.ConnectionError: HTTPSConnectionPool(host='api-t1.fyers.in', port=443): Max retries exceeded with url: /data/quotes?symbols=NSE%3ASBIN-EQ%2CNSE%3AADANIENT-EQ%2CNSE%3ANIFTYBANK-INDEX (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x000002ACCF0DE170>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\"))","exception_name":"ConnectionError"}
{"level":"ERROR","location":"[exception:108] fyers_logger","message":"'NoneType' object is not subscriptable","timestamp":"2023-12-01 15:45:59,896+0530","service":"FyersDataSocket","exception":"Traceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 155, in _get_addrinfo_list\n addrinfo_list = socket.getaddrinfo(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\socket.py\", line 955, in getaddrinfo\n for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\nsocket.gaierror: [Errno 11001] getaddrinfo failed\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_app.py\", line 412, in setSock\n self.sock.connect(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_core.py\", line 249, in connect\n self.sock, addrs = connect(url, self.sock_opt, proxy_info(**options),\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 122, in connect\n addrinfo_list, need_tunnel, auth = _get_addrinfo_list(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 167, in _get_addrinfo_list\n raise WebSocketAddressException(e)\nwebsocket._exceptions.WebSocketAddressException: [Errno 11001] getaddrinfo failed\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\fyers_apiv3\\FyersWebsocket\\data_ws.py\", line 1327, in __symbol_conversion\n symbol_dict.update(symbol_dict, **symbol_value[0])\nTypeError: 'NoneType' object is not subscriptable","exception_name":"TypeError"}
{"level":"ERROR","location":"[exception:108] fyers_logger","message":"HTTPSConnectionPool(host='api-t1.fyers.in', port=443): Max retries exceeded with url: /data/quotes?symbols=NSE%3ASBIN-EQ%2CNSE%3AADANIENT-EQ%2CNSE%3ANIFTYBANK-INDEX (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x000002ACCF0DF910>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\"))","timestamp":"2023-12-01 15:46:04,884+0530","service":"FyersDataSocket","exception":"Traceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 155, in _get_addrinfo_list\n addrinfo_list = socket.getaddrinfo(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\socket.py\", line 955, in getaddrinfo\n for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\nsocket.gaierror: [Errno 11001] getaddrinfo failed\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_app.py\", line 412, in setSock\n self.sock.connect(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_core.py\", line 249, in connect\n self.sock, addrs = connect(url, self.sock_opt, proxy_info(**options),\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 122, in connect\n addrinfo_list, need_tunnel, auth = _get_addrinfo_list(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 167, in _get_addrinfo_list\n raise WebSocketAddressException(e)\nwebsocket._exceptions.WebSocketAddressException: [Errno 11001] getaddrinfo failed\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connection.py\", line 203, in _new_conn\n sock = connection.create_connection(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\util\\connection.py\", line 60, in create_connection\n for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\socket.py\", line 955, in getaddrinfo\n for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\nsocket.gaierror: [Errno 11001] getaddrinfo failed\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 791, in urlopen\n response = self._make_request(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 492, in _make_request\n raise new_e\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 468, in _make_request\n self._validate_conn(conn)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 1097, in _validate_conn\n conn.connect()\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connection.py\", line 611, in connect\n self.sock = sock = self._new_conn()\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connection.py\", line 210, in _new_conn\n raise NameResolutionError(self.host, self, e) from e\nurllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x000002ACCF0DF910>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\adapters.py\", line 486, in send\n resp = conn.urlopen(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\connectionpool.py\", line 845, in urlopen\n retries = retries.increment(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\urllib3\\util\\retry.py\", line 515, in increment\n raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api-t1.fyers.in', port=443): Max retries exceeded with url: /data/quotes?symbols=NSE%3ASBIN-EQ%2CNSE%3AADANIENT-EQ%2CNSE%3ANIFTYBANK-INDEX (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x000002ACCF0DF910>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\"))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\fyers_apiv3\\FyersWebsocket\\data_ws.py\", line 65, in symbol_to_hsmtoken\n response = requests.get(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\api.py\", line 73, in get\n return request(\"get\", url, params=params, **kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\api.py\", line 59, in request\n return session.request(method=method, url=url, **kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\sessions.py\", line 589, in request\n resp = self.send(prep, **send_kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\sessions.py\", line 703, in send\n r = adapter.send(request, **kwargs)\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\adapters.py\", line 519, in send\n raise ConnectionError(e, request=request)\nrequests.exceptions.ConnectionError: HTTPSConnectionPool(host='api-t1.fyers.in', port=443): Max retries exceeded with url: /data/quotes?symbols=NSE%3ASBIN-EQ%2CNSE%3AADANIENT-EQ%2CNSE%3ANIFTYBANK-INDEX (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x000002ACCF0DF910>: Failed to resolve 'api-t1.fyers.in' ([Errno 11001] getaddrinfo failed)\"))","exception_name":"ConnectionError"}
{"level":"ERROR","location":"[exception:108] fyers_logger","message":"'NoneType' object is not subscriptable","timestamp":"2023-12-01 15:46:04,890+0530","service":"FyersDataSocket","exception":"Traceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 155, in _get_addrinfo_list\n addrinfo_list = socket.getaddrinfo(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\socket.py\", line 955, in getaddrinfo\n for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\nsocket.gaierror: [Errno 11001] getaddrinfo failed\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_app.py\", line 412, in setSock\n self.sock.connect(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_core.py\", line 249, in connect\n self.sock, addrs = connect(url, self.sock_opt, proxy_info(**options),\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 122, in connect\n addrinfo_list, need_tunnel, auth = _get_addrinfo_list(\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\websocket\\_http.py\", line 167, in _get_addrinfo_list\n raise WebSocketAddressException(e)\nwebsocket._exceptions.WebSocketAddressException: [Errno 11001] getaddrinfo failed\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"C:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\fyers_apiv3\\FyersWebsocket\\data_ws.py\", line 1327, in __symbol_conversion\n symbol_dict.update(symbol_dict, **symbol_value[0])\nTypeError: 'NoneType' object is not subscriptable","exception_name":"TypeError"}