Search Unity

Unity Firebase WebSocket Error

Discussion in 'Editor & General Support' started by taylankarahan, Jun 19, 2019.

  1. taylankarahan

    taylankarahan

    Joined:
    Dec 13, 2018
    Posts:
    1
    Hello,

    We were using Unity 2018.3.3f1 version, Firebase 5.2.1 and .NET 3.5 Equivalent as Scripting Runtime Version and we have a working project on production.
    But Unity declared .NET 3.5 Equivalent as deprecated and in Firebase's documents .NET 4.x Equivalent is supported. (https://firebase.google.com/docs/unity/setup) So we tried to upgrade our project.
    We switched out platforms to Unity 2019.1.7f1 version, Firebase 6.0.0 and .NET 4.x Equivalent as Scripting Runtime Version. The errors are:
    WebSocket: ws_0 - could not connect
    System.Net.Sockets.SocketException (0x80004005): No route to host
    WebSocket: ws_0 - WebSocketException during handshake
    Firebase.Database.Internal.TubeSock.WebSocketException: unknown host

    also described in those topics:
    https://stackoverflow.com/questions...tabaseerror-websocket-ws-0-could-not-connect#
    https://github.com/firebase/quickstart-unity/issues/106

    We tried the solutions but no chance. Can't we use .NET4.x?