Login  |  Register

Author Topic: Failed to construct WebSocket: URL is invalid  (Read 258 times)

Offline atariman486

  • Newbie
  • *
  • Posts: 1
    • View Profile
Failed to construct WebSocket: URL is invalid
« on: 21 May 2017, 11:27:11 PM »
I can't seem to connect to any tables today. I've tried ~10 times and get the same invalid websocket URL everytime: 35.157.6.78:-1536

Is that negative port number? Maybe an integer overflow issue or something?

----

0: Opening metaserver connection (metaserver.dominion-online.com:443)
dominion-webclient-head-1.2.5.min.js:18 184: Metaserver connection established.
dominion-webclient-head-1.2.5.min.js:18 223: Meta: login success.
dominion-webclient-head-1.2.5.min.js:18 232: Loading lobby page.
dominion-webclient-head-1.2.5.min.js:18 290: Lobby has loaded.
dominion-webclient-head-1.2.5.min.js:18 117764: Meta: table joined.
dominion-webclient-head-1.2.5.min.js:18 117819: Meta: Automatch found.
dominion-webclient-head-1.2.5.min.js:18 117921: Meta: join gameserver, gameId: 0_3783475.
dominion-webclient-head-1.2.5.min.js:18 117934: Connection service received instruction to join gameserver, now about to connect...
dominion-webclient-head-1.2.5.min.js:18 117934: Opening gameserver connection (35.157.6.78:-1536)
dominion-webclient-head-1.2.5.min.js:18 Error: Failed to construct 'WebSocket': The URL 'wss://35.157.6.78:-1536' is invalid.
    at WrappedWebSocket (<anonymous>:35:21)
    at Object.t.connect (https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:16:14830)
    at d (https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:21:8239)
    at https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:21:9810
    at f.$broadcast (https://dominion.games/js/dominion-webclient-head-1.2.5.min.js:3:14297)
    at Object.n.send (https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:14:30001)
    at Array.t.joinGameServer (https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:15:23315)
    at Object.t.process (https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:15:26944)
    at WebSocket.t.webSocket.onmessage (https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:16:3480) undefined
t.(anonymous function) @ dominion-webclient-head-1.2.5.min.js:18
dominion-webclient-head-1.2.5.min.js:18 128459: Meta: player left.
dominion-webclient-head-1.2.5.min.js:18 128462: Meta: host changed.
dominion-webclient-head-1.2.5.min.js:18 129942: Meta: player joined.
dominion-webclient-head-1.2.5.min.js:18 131326: Meta: player left.
dominion-webclient-head-1.2.5.min.js:18 131426: Meta: table terminated.
dominion-webclient-head-1.2.5.min.js:18 131527: Loading lobby page.
VM381:4 131553: Lobby has loaded.

Offline scone

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Failed to construct WebSocket: URL is invalid
« Reply #1 on: 22 May 2017, 12:14:03 AM »
I started having the exact same problem about an hour ago. Same negative port number.

Offline ewz

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Failed to construct WebSocket: URL is invalid
« Reply #2 on: 22 May 2017, 12:15:58 AM »
I'm seeing an "invalid or illegal string was specified" Error, but same result: I try to join a table, nothing happens it just spins indefinitely. Even when playing bots:

Edit: this is the error on Firefox. In Chrome I get the same issue stated in op's post.

Code: [Select]
Error: An invalid or illegal string was specified
t.connect@https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:16:14830
d@https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:21:8237
@https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:21:9810
Jt/this.$get</f.prototype.$broadcast@https://dominion.games/js/dominion-webclient-head-1.2.5.min.js:3:14292
n.send@https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:14:29999
t.joinGameServer@https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:15:23313
t.process@https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:15:26926
t.connect/t.webSocket.onmessage@https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:16:3478
 undefined  dominion-webclient-head-1.2.5.min.js:18:5480
e/t[n] https://dominion.games/js/dominion-webclient-head-1.2.5.min.js:18:5480
o/< https://dominion.games/js/dominion-webclient-head-1.2.5.min.js:2:30686
nt/this.$get</< https://dominion.games/js/dominion-webclient-head-1.2.5.min.js:2:16681
r https://dominion.games/js/dominion-webclient-head-1.2.5.min.js:19:2770
Jt/this.$get</f.prototype.$broadcast https://dominion.games/js/dominion-webclient-head-1.2.5.min.js:3:14320
n.send https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:14:29999
t.joinGameServer https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:15:23313
t.process https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:15:26926
t.connect/t.webSocket.onmessage https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:16:3478

Offline Dwedit

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: Failed to construct WebSocket: URL is invalid
« Reply #3 on: 22 May 2017, 01:41:59 AM »
Getting this error:

Code: [Select]
Error: Failed to construct 'WebSocket': The URL 'wss://35.157.6.78:-1536' is invalid.
    at Object.t.connect (https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:16:14830)
    at d (https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:21:8239)
    at https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:21:9810
    at f.$broadcast (https://dominion.games/js/dominion-webclient-head-1.2.5.min.js:3:14297)
    at Object.n.send (https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:14:30001)
    at Array.t.joinGameServer (https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:15:23315)
    at Object.t.process (https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:15:26944)
    at WebSocket.t.webSocket.onmessage (https://dominion.games/js/dominion-webclient-body-1.2.5.min.js:16:3480) undefined
t.(anonymous function) @ dominion-webclient-head-1.2.5.min.js:18
Noticing a negative port number there...

Offline Stef

  • Administrator
  • *****
  • Posts: 554
    • View Profile
Re: Failed to construct WebSocket: URL is invalid
« Reply #4 on: 22 May 2017, 10:51:14 AM »
Yes one of the gameservers restarted (which shouldn't happen) then registered itself with the metaserver with a negative port number. This obviously isn't the root cause (still need to figure out why that gameserver restarted in the first place) but it resulted in everyone being redirected to a negative number and failing.