Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to connect via API?
Forum Updated to NodeBB v4.3 + New Features

How to connect via API?

Scheduled Pinned Locked Moved Solved General and Desktop
66 Posts 8 Posters 11.7k Views 3 Watching
  • 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.
  • VRoninV Offline
    VRoninV Offline
    VRonin
    wrote on last edited by VRonin
    #16

    Qt says: qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed

    Make sure you have OpenSSL installed

    I have api-key: 63YUZ8NP5SW1D302
    How can I use the key?

    RTFM: https://www.alphavantage.co/documentation/

    "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
    ~Napoleon Bonaparte

    On a crusade to banish setIndexWidget() from the holy land of Qt

    1 Reply Last reply
    2
    • M Offline
      M Offline
      Mikeeeeee
      wrote on last edited by
      #17

      @VRonin said in How to connect via API?:

      OpenSSL

      This link is nothing about OpenSSL.
      OpenSSL need to connect to the project?

      1 Reply Last reply
      0
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by
        #18

        Qt uses OpenSSL to implement TLS and SSL

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Mikeeeeee
          wrote on last edited by
          #19

          I installed everything in MaintenanceTool. Do I need to download additional OpenSSL?
          If you need to install OpenSSL, then how to connect it to Qt?

          SGaistS VRoninV 2 Replies Last reply
          0
          • M Mikeeeeee

            I installed everything in MaintenanceTool. Do I need to download additional OpenSSL?
            If you need to install OpenSSL, then how to connect it to Qt?

            SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #20

            Hi,

            @Mikeeeeee said in How to connect via API?:

            I installed everything in MaintenanceTool. Do I need to download additional OpenSSL?
            If you need to install OpenSSL, then how to connect it to Qt?

            What OS are you on ? My guess would be Windows.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Mikeeeeee
              wrote on last edited by
              #21

              My OS - Windows.

              sierdzioS 1 Reply Last reply
              0
              • M Mikeeeeee

                My OS - Windows.

                sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #22

                @Mikeeeeee said in How to connect via API?:

                My OS - Windows.

                https://stackoverflow.com/questions/20351155/how-can-i-enable-ssl-in-qt-windows-application

                (Z(:^

                1 Reply Last reply
                1
                • M Offline
                  M Offline
                  Mikeeeeee
                  wrote on last edited by
                  #23

                  downloaded openssl-1.1.1b and put it in the folder with the executable file. Did not help.
                  In openssl-1.1.1b there is no libeay32.dll.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    Mikeeeeee
                    wrote on last edited by
                    #24

                    There is a file e_os.h in the main folder of the library .

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #25

                      What version of Qt are you using ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      1
                      • M Mikeeeeee

                        I installed everything in MaintenanceTool. Do I need to download additional OpenSSL?
                        If you need to install OpenSSL, then how to connect it to Qt?

                        VRoninV Offline
                        VRoninV Offline
                        VRonin
                        wrote on last edited by
                        #26

                        @Mikeeeeee said in How to connect via API?:

                        I installed everything in MaintenanceTool

                        Terrible idea

                        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                        ~Napoleon Bonaparte

                        On a crusade to banish setIndexWidget() from the holy land of Qt

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          Mikeeeeee
                          wrote on last edited by
                          #27

                          I use Qt 5.12.2

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #28

                            Then try again with the latest version of the 1.0 series.

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              Mikeeeeee
                              wrote on last edited by
                              #29

                              I downloaded openssl-1.0.2r. There is no bin folder. No .exe files. No libeay32.dll. What to do with it?

                              1 Reply Last reply
                              0
                              • M Offline
                                M Offline
                                Mikeeeeee
                                wrote on last edited by
                                #30

                                I downloaded libeay32.dll ssleay32.dll and put them to the executable file and the project, but it still does not work.

                                1 Reply Last reply
                                0
                                • SGaistS Offline
                                  SGaistS Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #31

                                  Still the same error or another one ?

                                  Interested in AI ? www.idiap.ch
                                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                  1 Reply Last reply
                                  0
                                  • M Offline
                                    M Offline
                                    Mikeeeeee
                                    wrote on last edited by
                                    #32

                                    Same error: TLS initialization failed

                                    1 Reply Last reply
                                    0
                                    • SGaistS Offline
                                      SGaistS Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #33

                                      Did you check whether you can connect to another https resource and if it triggers the same error ?

                                      Interested in AI ? www.idiap.ch
                                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                      1 Reply Last reply
                                      0
                                      • M Offline
                                        M Offline
                                        Mikeeeeee
                                        wrote on last edited by
                                        #34

                                        Not check. I don't know what other resource to connect to.

                                        jsulmJ Pablo J. RoginaP 2 Replies Last reply
                                        0
                                        • M Mikeeeeee

                                          Not check. I don't know what other resource to connect to.

                                          jsulmJ Offline
                                          jsulmJ Offline
                                          jsulm
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #35
                                          This post is deleted!
                                          1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved