Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-70281

minibrowser: net::ERR_CLEARTEXT_NOT_PERMITTED error with Android 9 (API 28)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.3
    • 5.11.1
    • WebView
    • None
    • Android
    • e54a993e028039be93a46c5decf00194d898b9c4

    Description

      If I launch minibrowser example compiled with targetSdkVersion="28", default qt.io page is not loaded with error net::ERR_CLEARTEXT_NOT_PERMITTED (screenshot attached).

      If I use target api 27, there's no issue (apart from compatibility warning message box). http://qt.io is loaded and then redirected to https://.. later.

      If http will stop working, that means QtWebChannel solutions will be broken, as you will not have https connection to your in-app websocket (who will provide valid https certificate for 127.0.0.1..?)!

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            stromme Christian
            talkless Vincas Dargis
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes