Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. quicknanobrowser and youtube - SSL connection error
Forum Updated to NodeBB v4.3 + New Features

quicknanobrowser and youtube - SSL connection error

Scheduled Pinned Locked Moved QtWebEngine
11 Posts 5 Posters 3.2k Views 1 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.
  • X Offline
    X Offline
    xenotrax
    wrote on last edited by
    #1

    Hi all,
    Is there a way to handle SSL connections with the QtWebEngine.
    I would realy like to open a video from youtube in a fancy window but quicknanobrowser can't handle https connections.

    Can someone give me an example how to handle such connections?

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

      Hi,

      I haven't played with QtWebEngine yet but what comes to mind is: do you have OpenSSL installed on your system ?

      What OS/Qt version 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

      X 2 Replies Last reply
      0
      • SGaistS SGaist

        Hi,

        I haven't played with QtWebEngine yet but what comes to mind is: do you have OpenSSL installed on your system ?

        What OS/Qt version are you using ?

        X Offline
        X Offline
        xenotrax
        wrote on last edited by
        #3

        @SGaist
        Hi,
        Openssl is installed and I use Fedora/Qt 5.5.1

        Package openssl-1:1.0.2f-1.fc23.x86_64 is already installed, skipping.
        Dependencies resolved.
        Nothing to do.
        Complete!
        
        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          I haven't played with QtWebEngine yet but what comes to mind is: do you have OpenSSL installed on your system ?

          What OS/Qt version are you using ?

          X Offline
          X Offline
          xenotrax
          wrote on last edited by
          #4

          @SGaist
          Can you tell me if this SSL problem also happens on your OS ?

          1 Reply Last reply
          0
          • X Offline
            X Offline
            xenotrax
            wrote on last edited by
            #5

            I used a new Fedora installation and quicknanobrowser is working fine to open https connections.
            Now I have to see why it does't work on my upgraded fedora machine?

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

              What are the difference between the two Fedoras install ?

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

              X 1 Reply Last reply
              0
              • SGaistS SGaist

                What are the difference between the two Fedoras install ?

                X Offline
                X Offline
                xenotrax
                wrote on last edited by
                #7

                @SGaist that's a verry good question :-)
                It must be something in the ssl settings (if there are some) or missing packages .. I don't know. I have no Idea where to look for.

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

                  You could list the installed package from both system and compare them

                  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
                  • cowlitz_buntuC Offline
                    cowlitz_buntuC Offline
                    cowlitz_buntu
                    wrote on last edited by
                    #9

                    I'm unable to connect to Youtube, Google, and Twitter with any browser running QtWEbEngine on an Ubuntu Trusty base due to an SSL connection error. I'm able to connect to those web site on a Debian Jessie base.

                    1 Reply Last reply
                    0
                    • E Offline
                      E Offline
                      eureka
                      wrote on last edited by eureka
                      #10

                      I'm seeing the same problem on Ubuntu 14.04 running demobrowser in Qt 5.6.0.

                      I have "SSL Connection Error".

                      Searching around I see that this is a QtWebEngine bug.

                      https://bugreports.qt.io/browse/QTBUG-52068

                      https://bugs.launchpad.net/ubuntu/+source/nss/+bug/1547133

                      =========================================================

                      Quoting from above reports ..

                      Ubuntu bug #1547133 at https://bugs.launchpad.net/ubuntu/+source/nss/+bug/1547133 is likely affecting WebEngine. All supported versions of Ubuntu are now using nss version 3.21. When I tested WebEngine on Debian Jessie which has nss version 3.17 the Google sites connected. The newest version of nss is 3.23 which the supported versions of Fedora are now using.

                      I downgrade to 3.15 version of libnss and it works!
                      (3.15 is available in Ubuntu's repository)
                      Thank you, ronbu.

                      Inspecting my Ubuntu 14.04 packages I have these installed ...

                      2:3.21-0ubuntu0.14.04.2 (trusty-updates)
                      2:3.15.4-1ubuntu7 (trusty)

                      So I have to work out how to downgrade to 3.15.

                      [Later edit]

                      I have found this reference ...

                      https://productforums.google.com/forum/#!topic/chrome/rxBgSMEkKC8

                      but it's proving tricky to go through the steps of forcing version in Synaptic Package Manager.

                      I have these installed ...

                      libnss3
                      libns3-1d
                      libnss3-nssdb

                      If I try to uninstall libnss3 it will remove too many other programs depending on libnss3.

                      1 Reply Last reply
                      0
                      • X xenotrax

                        Hi all,
                        Is there a way to handle SSL connections with the QtWebEngine.
                        I would realy like to open a video from youtube in a fancy window but quicknanobrowser can't handle https connections.

                        Can someone give me an example how to handle such connections?

                        S Offline
                        S Offline
                        surendraece08
                        wrote on last edited by
                        #11

                        @xenotrax In the console of your target board, just export the following variable.

                        export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt

                        The other way you can do this is by writing an initscript, simply exporting this variable.

                        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