@Moderator_2 Please update how to fix this. My SDK version is 1.4.1
Today again I got multiple errors. I have set timeout to 30 seconds in SmartConnect.py still getting these errors.
[E 240409 09:18:46 smartConnect:210] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/getLtpData. Headers: {'Content-type': 'application/json', 'X-ClientLocalIP xxxxxxxxxxxxxxxxxxxxxx Response: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
[E 240409 09:41:33 smartConnect:210] Error occurred while making a GET request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/getOrderBook. Headers: {'Content-type': 'application/json', 'X-ClientLocalIP xxxxxxxxxxxxxxxxxxxxxx Response: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Max retries exceeded with url: /rest/secure/angelbroking/order/v1/getOrderBook?%7B%7D (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000016197836610>, 'Connection to apiconnect.angelbroking.com timed out. (connect timeout=30)'))
[E 240409 09:43:40 smartConnect:210] Error occurred while making a GET request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/getOrderBook. Headers: {'Content-type': 'application/json', 'X-ClientLocalIP xxxxxxxxxxxxxxxxxxxxxx Response: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=30)
[E 240409 09:45:22 smartConnect:210] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Headers: {'Content-type': 'application/json', 'X-ClientLocalIP xxxxxxxxxxxxxxxxxxxxxx Response: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))
[E 240409 10:08:00 smartConnect:210] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/getLtpData. Headers: {'Content-type': 'application/json', 'X-ClientLocalIP xxxxxxxxxxxxxxxxxxxxxx Response: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Max retries exceeded with url: /rest/secure/angelbroking/order/v1/getLtpData (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001619795E250>, 'Connection to apiconnect.angelbroking.com timed out. (connect timeout=30)'))
[E 240409 10:11:50 smartConnect:210] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/getLtpData. Headers: {'Content-type': 'application/json', 'X-ClientLocalIP xxxxxxxxxxxxxxxxxxxxxx Response: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Max retries exceeded with url: /rest/secure/angelbroking/order/v1/getLtpData (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x000001619795E150>, 'Connection to apiconnect.angelbroking.com timed out. (connect timeout=30)'))
[E 240409 10:12:44 smartConnect:210] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Headers: {'Content-type': 'application/json', 'X-ClientLocalIP xxxxxxxxxxxxxxxxxxxxxx Response: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=30)
[E 240409 10:17:56 smartConnect:210] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Headers: {'Content-type': 'application/json', 'X-ClientLocalIP xxxxxxxxxxxxxxxxxxxxxx Response: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=30)
[E 240409 10:26:23 smartConnect:210] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Headers: {'Content-type': 'application/json', 'X-ClientLocalIP xxxxxxxxxxxxxxxxxxxxxx Response: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Max retries exceeded with url: /rest/secure/angelbroking/historical/v1/getCandleData (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x00000161954A87D0>, 'Connection to apiconnect.angelbroking.com timed out. (connect timeout=30)'))