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

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 9 Feb 2018, 10:50 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 ?

    J 1 Reply Last reply 9 Feb 2018, 11:23
    0
    • S Snyfir
      9 Feb 2018, 10:50

      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 ?

      J Online
      J Online
      jsulm
      Lifetime Qt Champion
      wrote on 9 Feb 2018, 11:23 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 9 Feb 2018, 12:11
      1
      • J jsulm
        9 Feb 2018, 11:23

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

        S Offline
        S Offline
        Snyfir
        wrote on 9 Feb 2018, 12:11 last edited by
        #3

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

        J 1 Reply Last reply 9 Feb 2018, 12:12
        0
        • S Snyfir
          9 Feb 2018, 12:11

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

          J Online
          J Online
          jsulm
          Lifetime Qt Champion
          wrote on 9 Feb 2018, 12:12 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 9 Feb 2018, 12:28
          0
          • J jsulm
            9 Feb 2018, 12:12

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

            S Offline
            S Offline
            Snyfir
            wrote on 9 Feb 2018, 12:28 last edited by
            #5

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

            T 1 Reply Last reply 9 Feb 2018, 12:30
            0
            • S Snyfir
              9 Feb 2018, 12:28

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

              T Offline
              T Offline
              Taz742
              wrote on 9 Feb 2018, 12:30 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 9 Feb 2018, 12:35
              -1
              • T Taz742
                9 Feb 2018, 12:30

                @Snyfir
                Also you need in your project:

                • libeay32.dll
                • libssl32.dll
                • ssleay32.dll
                S Offline
                S Offline
                Snyfir
                wrote on 9 Feb 2018, 12:35 last edited by
                #7

                @Taz742 i'm not on windows but linux

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 9 Feb 2018, 21:56 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 10 Feb 2018, 08:08
                  0
                  • S SGaist
                    9 Feb 2018, 21:56

                    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 10 Feb 2018, 08:08 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 10 Feb 2018, 09:04 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
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 10 Feb 2018, 09:54 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 10 Feb 2018, 13:42 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

                          7/12

                          9 Feb 2018, 12:35

                          • Login

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