Navigation

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

    unable to login - SSLError

    Python SDK
    12
    25
    173
    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.
    • M
      Manoj123 @StocksDeveloper last edited by

      @stocksdeveloper Can you please let us know on how to do it ? Any codes if possible please paste.

      S 1 Reply Last reply Reply Quote 0
      • S
        StocksDeveloper @Manoj123 last edited by

        @manoj123 We cannot share our internal code. But a simple google search like this (python disable ssl verification) will be good enough to help you.

        Check for whichever language you use.... python, java, c# etc.

        S 1 Reply Last reply Reply Quote 0
        • L
          lakshmi_73 last edited by lakshmi_73

          @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.

          P V 2 Replies Last reply Reply Quote 0
          • S
            sidsam12 @StocksDeveloper last edited by

            @stocksdeveloper This shouldn't be solution. You cannot expect us to disable ssl for this. Here requests are not a plain get request.

            L 1 Reply Last reply Reply Quote 0
            • P
              pashriva @lakshmi_73 last edited by

              @lakshmi_73
              How to achieve this in Java ?

              L 1 Reply Last reply Reply Quote 0
              • L
                lakshmi_73 @sidsam12 last edited by

                @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.

                1 Reply Last reply Reply Quote 0
                • L
                  lakshmi_73 @pashriva last edited by

                  @pashriva
                  I am not sure pashriva, I use only python sdk.
                  But things should be similar in java also. Check the smartapi code.

                  1 Reply Last reply Reply Quote 0
                  • S
                    sureAngel @StocksDeveloper last edited by

                    @stocksdeveloper thanks boss it worked

                    1 Reply Last reply Reply Quote 0
                    • A
                      Arjun @sureAngel last edited by

                      @harish @admin any update on this still in error

                      1 Reply Last reply Reply Quote 0
                      • V
                        vvbchandrasekhar @lakshmi_73 last edited by

                        @lakshmi_73 thanks. it's working now

                        1 Reply Last reply Reply Quote 0
                        • M
                          MS last edited by

                          any update on this ?

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

                            @ms said in unable to login - SSLError:

                            any update on this ?
                            This has been already resolved.

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