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
Forum Updated to NodeBB v4.3 + New Features

WebSockets not working, use of Google Firebase causes render crash

Scheduled Pinned Locked Moved Unsolved QtWebEngine
3 Posts 1 Posters 927 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 28 Jul 2017, 08:06 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 28 Jul 2017, 08:22 last edited by
      #2

      The exit code of the renderer is 3.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Stesteste
        wrote on 28 Jul 2017, 08:56 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

        1/3

        28 Jul 2017, 08:06

        • Login

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