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

QNetworkAccessManager issue in QML

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.9.1
    • Network: HTTP
    • None
    • All

      QNetworkAccessManager created in the main.cpp and provided to the QQmlApplicationEngine 

       

      QQmlApplicationEngine engine;

      engine.setNetworkAccessManagerFactory(new NetworkFactory(m_net));

       

      When QML Image displays image by url from the net, periodically appears errors:

      qt.network.http2.connection: [0x1fd586cec10] Connection error: HEADERS on invalid stream (1)
      qt.network.http2: stream 11 error: "HEADERS on invalid stream"
      qt.network.http2: stream 11 finished with error: "HTTP/2 protocol error"
      QML QQuickImage: HTTP/2 protocol error

      Error appears on Qt 6.9.1

      Everything works fine on Qt 6.6.3

      Also works fine on Qt 6.10 beta2

       

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

            manordheim Mårten Nordheim
            alexxey593 Stolyarov Aleksey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes