Navigation

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

    Error while trying to generate session

    NodeJS SDK
    6
    16
    118
    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.
    • A
      Annamalai @skumar12 last edited by

      @skumar12 Can you please provide the list of all dependencies required + links to download? I am having similar issue

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

        @Annamalai said in Error while trying to generate session:

        @skumar12 Can you please provide the list of all dependencies required + links to download? I am having similar issue

        @admin - Please advise.

        S 1 Reply Last reply Reply Quote 0
        • S
          Surya 1 @Annamalai last edited by

          @Annamalai

          service_identity
          requests
          six
          pyOpenSSL
          enum34
          python-dateutil
          autobahn
          Twisted

          J 1 Reply Last reply Reply Quote 0
          • J
            jiwan1986 @Surya 1 last edited by

            @rajanprabu I think some of them are available only for Python. He is asking for Java SDK if I'm not wrong.

            S 1 Reply Last reply Reply Quote 0
            • S
              Surya 1 @jiwan1986 last edited by

              @rjbanna

              Im sorry for the oversight. Yes you are right..

              A 1 Reply Last reply Reply Quote 0
              • A
                Annamalai @Surya 1 last edited by

                Yep. I am looking for Java

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

                  @skumar12 said in Error while trying to generate session:

                  okhttp3

                  I too faced this issue, I used following dependencies to resolve it :

                  <classpathentry kind="lib" path="lib/commons-cli-1.4.jar"/>
                  	<classpathentry kind="lib" path="lib/commons-codec-1.13.jar"/>
                  	<classpathentry kind="lib" path="lib/httpclient5-5.0.3.jar"/>
                  	<classpathentry kind="lib" path="lib/httpclient5-cache-5.0.3.jar"/>
                  	<classpathentry kind="lib" path="lib/httpclient5-fluent-5.0.3.jar"/>
                  	<classpathentry kind="lib" path="lib/httpclient5-testing-5.0.3.jar"/>
                  	<classpathentry kind="lib" path="lib/httpclient5-win-5.0.3.jar"/>
                  	<classpathentry kind="lib" path="lib/httpcore5-5.0.2.jar"/>
                  	<classpathentry kind="lib" path="lib/httpcore5-h2-5.0.2.jar"/>
                  	<classpathentry kind="lib" path="lib/httpcore5-reactive-5.0.2.jar"/>
                  	<classpathentry kind="lib" path="lib/httpcore5-testing-5.0.2.jar"/>
                  	<classpathentry kind="lib" path="lib/jna-5.2.0.jar"/>
                  	<classpathentry kind="lib" path="lib/jna-platform-5.2.0.jar"/>
                  	<classpathentry kind="lib" path="lib/reactive-streams-1.0.2.jar"/>
                  	<classpathentry kind="lib" path="lib/rxjava-2.2.8.jar"/>
                  	<classpathentry kind="lib" path="lib/slf4j-api-1.7.25.jar"/>
                  	<classpathentry kind="lib" path="lib/json-simple-1.1.1.jar"/>
                  	<classpathentry kind="lib" path="lib/jsoup-1.13.1.jar"/>
                  	<classpathentry kind="lib" path="lib/poi-4.1.2.jar"/>
                  	<classpathentry kind="lib" path="lib/poi-ooxml-4.1.2.jar"/>
                  	<classpathentry kind="lib" path="lib/poi-ooxml-schemas-4.1.2.jar"/>
                  	<classpathentry kind="lib" path="lib/xmlbeans-3.1.0.jar"/>
                  	<classpathentry kind="lib" path="lib/commons-collections4-4.4.jar"/>
                  	<classpathentry kind="lib" path="lib/commons-compress-1.19.jar"/>
                  	<classpathentry kind="lib" path="lib/commons-math3-3.6.1.jar"/>
                  	<classpathentry kind="lib" path="lib/log4j-1.2.17.jar"/>
                  	<classpathentry kind="lib" path="lib/smartapi-java-1.0.0.jar"/>
                  	<classpathentry kind="lib" path="lib/java-json.jar"/>
                  	<classpathentry kind="lib" path="lib/slf4j-simple-1.7.9.jar"/>
                  	<classpathentry kind="lib" path="lib/Java-WebSocket-1.5.1.jar"/>
                  	<classpathentry kind="lib" path="lib/okhttp-4.9.0.jar"/>
                  	<classpathentry kind="lib" path="lib/kotlin-stdlib-1.4.20.jar"/>
                  	<classpathentry kind="lib" path="lib/okio-2.9.0.jar"/>
                  	<classpathentry kind="lib" path="lib/logging-interceptor-4.9.0.jar"/>
                  	<classpathentry kind="lib" path="lib/gson-2.8.6.jar"/>
                  
                  A 2 Replies Last reply Reply Quote 0
                  • A
                    Annamalai @Diljeet last edited by

                    @mihirk Thank you!

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

                      @mihirk - I have added all the dependencies and existing errors got cleared.

                      Any idea about the below errors ?
                      void is an invalid type for the variable placeOrder
                      Syntax error on token "throws", implements expected
                      Syntax error on token ".", { expected

                      @admin - can you please confirm migration of A373387 as well ?

                      b4b40753-b3f2-4cd6-b9e1-685d58e96743-image.png

                      D A 2 Replies Last reply Reply Quote 0
                      • D
                        Diljeet @Annamalai last edited by

                        @Annamalai Not sure about this error. Please check if there is some update regarding SmartAPI jar.

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

                          Hi @Annamalai said in Error while trying to generate session:

                          A373387
                          We have noticed your errors we will contact you for further assistance.

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

                            @admin any resolution for this?

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

                              Hi@Annamalai said in Error while trying to generate session:

                              @admin any resolution for this?

                              Mail us your piece of code @ api@angelbroking.com we will review it.And update you.

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

                                @admin said in Error while trying to generate session:

                                Hi@Annamalai said in Error while trying to generate session:

                                Please let us know the status of your issue.

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