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. WebSockets not working, use of Google Firebase causes render crash
Qt 6.11 is out! See what's new in the release blog

WebSockets not working, use of Google Firebase causes render crash

Scheduled Pinned Locked Moved Unsolved QtWebEngine
3 Posts 1 Posters 1.2k 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
    Stesteste
    wrote on last edited by
    #1

    I am trying to connect to Google Firebase from a page I show in a QWebEngineView and the moment the following line is executed, the render process crashes (i.e. renderProcessTerminated is signalled).

    var ref = new Firebase("https://my-project.firebaseio.com/");
    

    Also, I cannot establish a WebSocket connection. I get an error that it failed for an unknown reason.

    Could these two be connected? I built the webengine from source here. Many things are working alright, e.g. YouTube.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Stesteste
      wrote on last edited by
      #2

      The exit code of the renderer is 3.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Stesteste
        wrote on last edited by
        #3

        Ok, it seems that WebSockets don't work fore me. If I force Firebase to use long-polling via

        Firebase.INTERNAL.forceLongPolling();
        

        before creating the Firebase object, then it works.

        I have webengine 5.9.1 built against qt 5.6.2. Has anyone tried websockets in this constellation?

        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