internal server error 500 while smart_api.generateSession
-
@admin, I am getting below error while connecting to smart_api. Can you please check and update.
<!doctype html><html lang="en"><head><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 – Internal Server Error</h1></body></html>
-
Hi @mihirk Thank you for your valuable suggestion.
-
Hi @admin,
I tried sending heartBeats at interval of 30 seconds and that fixed the issue, socket is not getting closed now.
Please check with team if this fix can work. -
Hi @mihirk post your client here our team will connect you.
-
@admin Here are some details when socket gets auto Closed :
"authorizationError":"UNABLE_TO_VERIFY_LEAF_SIGNATURE" "_closeCode":1006: , "_closeFrameReceived":false, "_closeFrameSent":false, "_closeMessage":"", "_closeTimer":null, "type":"close","wasClean":false
-
Thanks @admin for the update. But socket is getting auto closed after some time. Can you please look into this.
-
Hi @mihirk can you try to generate session now and update on this.