haxball / haxball-issues

115 stars 43 forks source link

Lag like behavior only on headless host #651

Open lashagosh opened 5 years ago

lashagosh commented 5 years ago

I'm getting lag-like behavior on my headless host, well not me, but joined players. I think it might be related to these errors that I'm getting in the terminal. Can anyone help? Thanks


[1216/004510.134142:INFO:socket_udp.cc(367)] sendto() has failed twice returning a  transient error net::ERR_ADDRESS_UNREACHABLE. Dropping the packet.
[1216/004511.139203:INFO:socket_udp.cc(367)] sendto() has failed twice returning a  transient error net::ERR_ADDRESS_UNREACHABLE. Dropping the packet.
[1216/004527.614994:ERROR:peerconnection.cc(5107)] AddSctpDataStream called when sctp_transport_ is NULL.
[1216/004527.615878:ERROR:peerconnection.cc(5107)] AddSctpDataStream called when sctp_transport_ is NULL.
[1216/004527.616740:ERROR:peerconnection.cc(5107)] AddSctpDataStream called when sctp_transport_ is NULL.
[1216/004527.626244:WARNING:stunport.cc(422)] Port[677c8c00:data:1:0:local:Net[any:0:0:0:x:x:x:x:x/0:Wildcard:id=0]]: StunPort: stun host lookup received error 0
[1216/004657.222407:ERROR:peerconnection.cc(5107)] AddSctpDataStream called when sctp_transport_ is NULL.
[1216/004657.223071:ERROR:peerconnection.cc(5107)] AddSctpDataStream called when sctp_transport_ is NULL.
[1216/004657.223587:ERROR:peerconnection.cc(5107)] AddSctpDataStream called when sctp_transport_ is NULL.
[1216/004657.240650:WARNING:stunport.cc(422)] Port[677c7c00:data:1:0:local:Net[any:0:0:0:x:x:x:x:x/0:Wildcard:id=0]]: StunPort: stun host lookup received error 0

***

[1216/030525.148456:ERROR:inspector_emulation_agent.cc(492)] Can only enable virtual time for pages, not workers
[1216/030525.148490:ERROR:inspector_emulation_agent.cc(492)] Can only enable virtual time for pages, not workers
Leo-MapCreator commented 5 years ago

Errors are causing the lag

lashagosh commented 5 years ago

Well, good to know that at least there's a reason, but maybe does anyone know what are these errors and/or how to fix them? Thanks

Leo-MapCreator commented 5 years ago

Probably a sintax error, maybe you have a thing on your script trying to get the value of something that doesnt exist, making the variable return undefined, which may cause errors if you use this value in calculations to get another value

Edit: By looking at the errors message, it has something to do with connection

lashagosh commented 5 years ago

Yeah, it's most probably related to the connection, but can't figure out what's happening, Google search gives me very strange results as well 😃

Leo-MapCreator commented 5 years ago

Do you have any function that relates to connection in any way? By the error message you are trying to send a package to some address that doesnt exist

lashagosh commented 5 years ago

No I don't have any functions relating to connection in any way. :(

JeffCodes1 commented 5 years ago

I am getting the same error message on a bot program I wrote. I am somewhat new to coding so I dont understand what I am supposed to do to fix this problem. Where you able to find a solution?

error 1

error 2

error 3