Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. No network reply received in WinRT after calling QNetworkAccessManager::post

No network reply received in WinRT after calling QNetworkAccessManager::post

Scheduled Pinned Locked Moved Mobile and Embedded
winrtnetwork
3 Posts 2 Posters 1.4k 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.
  • R Offline
    R Offline
    ronic
    wrote on 11 May 2015, 15:25 last edited by ronic 5 Nov 2015, 15:37
    #1

    Hi

    I'm using Qt 5.4.1 and have an App which runs fine on all the other platforms except on winrt where after a QNetworkAccessManager::post, the QNetworkAccessManager::finished signal never gets triggered. The post is just an http message and I can see that the server receives and responds to the post.

    So the call to post is working fine but no timeout is triggered and the finished signal is never emitted so the app just sits and waits for the reply.

    The only clue that I can see are some error messages in the debug output indicating exceptions being thrown by the windows libraries:

    First-chance exception at 0x00007FF9A3578B9C (KernelBase.dll) in app.exe: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x0000001CD208EF00)

    If I enable breaking on exceptions I can trace these back to this method/line
    QEventDispatcherWinRTPrivate::fetchCoreDispatcher()
    {
    ...
    hr = view2->get_Dispatcher(&coreDispatcher);
    ...
    }

    I get a couple of these exceptions before the call to post and then at least one after, so there may be other things that have been affected.

    Any suggestions on what might be wrong?
    Thanks.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 11 May 2015, 20:09 last edited by
      #2

      Hi and welcome to devnet,

      Since it looks like it could be a very platform specific bug, i'd recommend to check the bug report system to see if it's something known. You can also bring the discussion to the interest mailing list. You'll find there Qt's developers/maintainers (this forum is more user oriented)

      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
      • R Offline
        R Offline
        ronic
        wrote on 13 May 2015, 12:26 last edited by
        #3

        Thanks.
        I couldn't find a bug myself but it seems there is one, so in the event that someone else might be interested it is https://bugreports.qt.io/browse/QTBUG-43837.

        1 Reply Last reply
        0

        2/3

        11 May 2015, 20:09

        • Login

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