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. Protocol https unknown with QQNetworkAccessManager
QtWS25 Last Chance

Protocol https unknown with QQNetworkAccessManager

Scheduled Pinned Locked Moved Unsolved General and Desktop
12 Posts 5 Posters 2.0k Views
  • 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.
  • S Offline
    S Offline
    Snyfir
    wrote on last edited by
    #1

    When i try to send a post request with Qt5.5 in debian (raspbian) machine.
    The error "Protocol https unknown" is displayed.

    To solve this problem i try to :

    • install libssl-dev
    • install openssl
    • copy libcrypto.so and libssl.so to /usr/lib

    but he problem persist.

    Do you have some idea ?

    jsulmJ 1 Reply Last reply
    0
    • S Snyfir

      When i try to send a post request with Qt5.5 in debian (raspbian) machine.
      The error "Protocol https unknown" is displayed.

      To solve this problem i try to :

      • install libssl-dev
      • install openssl
      • copy libcrypto.so and libssl.so to /usr/lib

      but he problem persist.

      Do you have some idea ?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Snyfir Why don't you simply install OpenSSL package from Debian?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply
      1
      • jsulmJ jsulm

        @Snyfir Why don't you simply install OpenSSL package from Debian?

        S Offline
        S Offline
        Snyfir
        wrote on last edited by
        #3

        @jsulm
        That's what i do with "sudo apt-get install openssl", but it doesn't change anything.

        jsulmJ 1 Reply Last reply
        0
        • S Snyfir

          @jsulm
          That's what i do with "sudo apt-get install openssl", but it doesn't change anything.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Snyfir I was wondering why you copy the libs to /usr/lib?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          S 1 Reply Last reply
          0
          • jsulmJ jsulm

            @Snyfir I was wondering why you copy the libs to /usr/lib?

            S Offline
            S Offline
            Snyfir
            wrote on last edited by
            #5

            @jsulm i see that here : http://codeblog.vurdalakov.net/2009/11/solution-qsslsocket-cannot-call.html

            Taz742T 1 Reply Last reply
            0
            • S Snyfir

              @jsulm i see that here : http://codeblog.vurdalakov.net/2009/11/solution-qsslsocket-cannot-call.html

              Taz742T Offline
              Taz742T Offline
              Taz742
              wrote on last edited by
              #6

              @Snyfir
              Also you need in your project:

              • libeay32.dll
              • libssl32.dll
              • ssleay32.dll

              Do what you want.

              S 1 Reply Last reply
              -1
              • Taz742T Taz742

                @Snyfir
                Also you need in your project:

                • libeay32.dll
                • libssl32.dll
                • ssleay32.dll
                S Offline
                S Offline
                Snyfir
                wrote on last edited by
                #7

                @Taz742 i'm not on windows but linux

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

                  Hi,

                  What version of Raspbian are you using ? Did you check what version of OpenSSL you did install ?

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

                  S 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Hi,

                    What version of Raspbian are you using ? Did you check what version of OpenSSL you did install ?

                    S Offline
                    S Offline
                    Snyfir
                    wrote on last edited by
                    #9

                    @SGaist Linux pibox 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 20
                    16 armv6l GNU/Linux

                    pi@pibox ~ $ openssl version
                    OpenSSL 1.0.1t 3 May 2016

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Snyfir
                      wrote on last edited by
                      #10

                      In the config.summary of Qtbase i have:
                      Networking:
                      getaddrinfo .......... yes
                      getifaddrs ........... yes
                      IPv6 ifname .......... yes
                      libproxy.............. no
                      OpenSSL .............. no

                      can it be the problem or it is at yes if openssl is embeded in the executable ?

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

                        You are missing the OpenSSL development package for your target in order for Qt to detect it and build the corresponding code.

                        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
                        • O Offline
                          O Offline
                          OZaric
                          wrote on last edited by
                          #12

                          when you configure qt there is an ssl option (which is off by default i think ).
                          +i would install newest openssl from source ~100MB, but its worth it !

                          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