Hi @admin ,
Orders are not triggered and getting "adapter is down" error.
Hi @admin ,
Orders are not triggered and getting "adapter is down" error.
@pashriva
I am not sure pashriva, I use only python sdk.
But things should be similar in java also. Check the smartapi code.
@sidsam12
This is not a solution, this is workaround.
Even i thought it would break some of the requests but I am running by disabling certificate validation and so far things are working fine.
@Manoj123
Just do this
self.angel_obj = SmartConnect(api_key=self.config["API_KEY"],disable_ssl=True)
Just add this parameter disable_ssl=True while calling SmartConnect class.
This will skip the ssl_certificate validation.
hi @admin
suddenly getting this error and no requests are working.
Kindly fix asap.
2022-01-24 11:24:19 : INFO : [broker:141] : Trying to login to angel broking...
2022-01-24 11:24:19 : CRITICAL : [broker:157] : Angel broking login failed! 0th Attempt
2022-01-24 11:24:19 : CRITICAL : [broker:160] : Response Data = {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
2022-01-24 11:24:19 : ERROR : [broker:161] : Traceback (most recent call last):
File "/home/algo/algotrade/algotrade/broker/broker.py", line 150, in angel_login
refreshToken = data["data"]["refreshToken"]
TypeError: 'NoneType' object is not subscriptable
Yes,
Couldn't parse the JSON response received from the server: {content}".format(
smartapi.smartExceptions.DataException: Couldn't parse the JSON response received from the server:
@admin kindly check ASAP.
@admin market time also getting over. Pls update the status.
@admin Pls fix asap. Because not able to do anything. How long it may take?
@admin P342922
It was working fine on friday also. Not able to use app or webpage also. Nothing is working.
Fix this ASAP admin.
@admin getting NULL response back and no orders are triggering.
@admin My query is if I had placed an LIMIT sell order for 20 Lots of BNF and after 5secs if only 10 Lots is filled then can I modify order to MARKET now in order to fill the remaining 10 lots?
or do I have to cancel that existing limit order and place new market order?
@admin Internal Server Error
smartapi.smartExceptions.DataException: Couldn't parse the JSON response received from the server: b'<html>\r\n<head><title>500 Internal Server Error</title></head>\r\n<body bgcolor="white">\r\n<center><h1>500 Internal Server Error</h1></center>\r\n<hr><center>nginx/1.14.0 (Ubuntu)</center>\r\n</body>\r\n</html>\r\n'
requests.exceptions.SSLError: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Max retries exceeded with url: /rest/auth/angelbroking/user/v1/loginByPassword (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)')))
Kindly fix ASAP.
@leena-1234 @admin Everyone is facing same issue... session is getting expired in few seconds... And all requests are failing..
2021-09-01 10:01:15 : INFO : [Angel:285] : Fetching order details for 210901000182820 from broker
2021-09-01 10:01:15 : WARNING : [Angel:302] : Failed to get orderbook details for orderid 210901000182820! 0th attempt
2021-09-01 10:01:15 : WARNING : [Angel:307] : orders response data: None
2021-09-01 10:01:15 : ERROR : [Angel:308] : Traceback (most recent call last):
File "/home/algo/AlgoTrading_new/Straddle/Angel.py", line 289, in get_order_details
for order in orders_data:
TypeError: 'NoneType' object is not iterable
2021-09-01 10:01:45 : INFO : [Angel:285] : Fetching order details for 210901000182820 from broker
2021-09-01 10:01:45 : WARNING : [Angel:302] : Failed to get orderbook details for orderid 210901000182820! 1th attempt
2021-09-01 10:01:45 : WARNING : [Angel:307] : orders response data: None
2021-09-01 10:01:45 : ERROR : [Angel:308] : Traceback (most recent call last):
File "/home/algo/AlgoTrading_new/Straddle/Angel.py", line 289, in get_order_details
for order in orders_data:
TypeError: 'NoneType' object is not iterable
Every minute this error is coming!
@admin So ,many errors are occurring.. kindly fix ASAP
@admin Yes admin not exactly same issue but yeah couldnot fetch any details or place orders,
https://smartapi.angelbroking.com/topic/1222/internal-server-error
pls refer above thread.
Hi @leena-1234 , these errors are very frequent and you need to make your script robust. Previously these errors used to come once every week. But this time from past 3 days daily these are coming and no one knows what are the reasons.
Improve your code and make it robust to such errors.