Can't connect to my server


#1

All I get is a non-informative window saying “no connection”.

Interface is windows, downloaded RELEASE binary from the hifi site (7071). Server is linux RELEASE-7071.

I was able to connect with my linux interface, just not windows interface. Windows version is able to connect to the Playa domain but not any of my domains. Did I miss some sort of compile flag on the server?


#2

What did the logs say for both the client and the server?


#3

I got it to work. I changed the command in systemd and it just started working.


#4

Nope stopped working again.

Sep 15 00:36:48 unassigned domain-server[727]: [09/15 00:36:48] [DEBUG] [default] Maximum number of ping attempts reached for peer with ID QUuid("{f2050435-01c3-489e-a3f9-58e5fc22cda2}")
Sep 15 00:36:48 unassigned domain-server[727]: [09/15 00:36:48] [DEBUG] [default] Removing from list of connecting peers.
Sep 15 00:36:49 unassigned domain-server[727]: [09/15 00:36:49] [DEBUG] [default] New peer requesting ICE connection being added to hash - "f2050435-01c3-489e-a3f9-58e5fc22cda2" - public: **[_my ip address_]** :51925 - local: 192.168.128.18:51925
Sep 15 00:36:49 unassigned domain-server[727]: [09/15 00:36:49] [DEBUG] [default] Sending ping packets to establish connectivity with ICE peer with ID QUuid("{f2050435-01c3-489e-a3f9-58e5fc22cda2}")

I have ports 40100-40105 open but still no connection. Don’t want to open more ports than that. Don’t think it’s a firewall issue anyway because disabling the firewall doesn’t work either.


#5

It’s weird… sometimes it connects but sometimes it doesn’t. I suspect the interface is getting blocked from repeated attempts. But when it does connect it reconnects over and over and here’s the log:

Sep 15 01:06:28 unassigned assignment-client[651]: [09/15 01:06:28] [DEBUG] [hifi.networking] [1090] [entity-server] 	LimitedNodeList::sendPacket called without active socket for node "Agent" (I) {8884e7c0-147e-4f38-bf78-494dff33632c} 	[MYIP] - not sending
Sep 15 01:06:28 unassigned assignment-client[651]: [09/15 01:06:28] [DEBUG] [hifi.networking] [805] [avatar-mixer] 		LimitedNodeList::sendPacket called without active socket for node "Agent" (I) {8884e7c0-147e-4f38-bf78-494dff33632c} 	[MYIP] - not sending
Sep 15 01:06:28 unassigned assignment-client[651]: [09/15 01:06:28] [DEBUG] [hifi.networking] [809] [messages-mixer] 	LimitedNodeList::sendPacket called without active socket for node "Agent" (I) {8884e7c0-147e-4f38-bf78-494dff33632c} 	[MYIP]- not sending
Sep 15 01:06:28 unassigned assignment-client[651]: [09/15 01:06:28] [DEBUG] [hifi.networking] [810] [asset-server] 		LimitedNodeList::sendPacket called without active socket for node "Agent" (I) {8884e7c0-147e-4f38-bf78-494dff33632c} 	[MYIP] - not sending
Sep 15 01:06:28 unassigned assignment-client[651]: [09/15 01:06:28] [DEBUG] [hifi.networking] [806] [audio-mixer] 		LimitedNodeList::sendPacket called without active socket for node "Agent" (I) {8884e7c0-147e-4f38-bf78-494dff33632c} 	[MYIP] - not sending
Sep 15 01:06:28 unassigned assignment-client[651]: [09/15 01:06:28] [DEBUG] [hifi.networking] [805] [avatar-mixer] No response to UDP hole punch pings for node QUuid("{8884e7c0-147e-4f38-bf78-494dff33632c}") in last second.
Sep 15 01:06:28 unassigned assignment-client[651]: [09/15 01:06:28] [DEBUG] [hifi.networking] [809] [messages-mixer] No response to UDP hole punch pings for node QUuid("{8884e7c0-147e-4f38-bf78-494dff33632c}") in last second.
Sep 15 01:06:28 unassigned assignment-client[651]: [09/15 01:06:28] [DEBUG] [hifi.networking] [810] [asset-server] No response to UDP hole punch pings for node QUuid("{8884e7c0-147e-4f38-bf78-494dff33632c}") in last second.
Sep 15 01:06:28 unassigned assignment-client[651]: [09/15 01:06:28] [DEBUG] [hifi.networking] [806] [audio-mixer] No response to UDP hole punch pings for node QUuid("{8884e7c0-147e-4f38-bf78-494dff33632c}") in last second.
Sep 15 01:06:28 unassigned assignment-client[651]: [09/15 01:06:28] [DEBUG] [hifi.networking] [1090] [entity-server] No response to UDP hole punch pings for node QUuid("{8884e7c0-147e-4f38-bf78-494dff33632c}") in last second.

This never used to happen before…


#6

Well I was reading through this and somebody said try to stop all scripts. I did and it worked. WTF is this? Something in the default startup scripts prevents me from connecting. Needs to be fixed… submitting this as an issue on github.


#7

Looking into this… script debugger says this when it reconnects:

[8/15 2:24:34] [about:Entities 114] INFO - Script Engine starting:about:Entities 114
[8/15 2:24:34] [about:Entities 113] INFO - Script Engine stopping:about:Entities 113
[8/15 2:24:34] [about:Entities 113] INFO - Script Engine has stopped:about:Entities 113

#8

More looking into it… the problem is in dialtone.js. If this script is killed it no longer happens.
But that is probably where the connection sound is happening lol, so no dice there.


#9

Ok so the problem isn’t with the scripts. Stopping all scripts only stops the reconnection sound from playing.

I imagine this is a pretty good clue to what is happening though since the script debugger shows this every time it reconnects: