Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    internal server error 500 while smart_api.generateSession

    Bugs
    2
    7
    27
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Diljeet last edited by

      @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>
      
      A 1 Reply Last reply Reply Quote 0
      • A
        admin @Diljeet last edited by

        Hi @mihirk can you try to generate session now and update on this.

        1 Reply Last reply Reply Quote 0
        • D
          Diljeet last edited by

          Thanks @admin for the update. But socket is getting auto closed after some time. Can you please look into this.

          D 1 Reply Last reply Reply Quote 0
          • D
            Diljeet @Diljeet last edited by

            @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
            
            A 1 Reply Last reply Reply Quote 0
            • A
              admin @Diljeet last edited by

              Hi @mihirk post your client here our team will connect you.

              D 1 Reply Last reply Reply Quote 0
              • D
                Diljeet @admin last edited by

                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.

                A 1 Reply Last reply Reply Quote 0
                • A
                  admin @Diljeet last edited by

                  Hi @mihirk Thank you for your valuable suggestion.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post