[Bug?] Problems connecting to third-party servers

[Bug?] Problems connecting to third-party servers

Postby SandroDC » 07 May 2019, 14:12

Well, my previous topic was kind of nonsense, I put unnecessary information, but... ¯\_(ツ)_/¯ I'm reporting a possible bug regarding third-party servers (like me), where some are having trouble connecting.

In my case, I created a server on my PC (Brazil - South America), I changed some options but only affect the configuration of the game mode and difficulty. It is working "perfectly", since the vast majority of players who use it aren't from S. America lol.

The problem is that some of my friends here in Brazil aren't able to connect to it. Below is the STK logs when trying to connect to the server (on another PC here at home) and the server at the time of the attempt:

Client log (Ubuntu):

{l Code}: {l Select All Code}
(...)
[info   ] ConnectToServer: Server is in the same lan
[info   ] Broadcast: address 127.0.0.1:0 length 8 mask ff --> 127.0.0.255:2757
[info   ] Broadcast: address 10.0.0.101:0 length 24 mask ffffff --> 10.255.255.255:2757
[info   ] Broadcast: address 10.0.0.101:0 length 16 mask ffff --> 10.0.255.255:2757
[info   ] Broadcast: address 10.0.0.101:0 length 8 mask ff --> 10.0.0.255:2757
[info   ] ConnectToServer: Trying connecting to 138.59.218.15:26806 from port 33845, retry remain: 3
[info   ] ConnectToServer: Trying connecting to 138.59.218.15:26806 from port 33845, retry remain: 2
[info   ] ConnectToServer: Trying connecting to 138.59.218.15:26806 from port 33845, retry remain: 1
[info   ] ConnectToServer: Trying connecting to 138.59.218.15:26806 from port 33845, retry remain: 0
[info   ] ConnectToServer: Trying connecting to 138.59.218.15:26806 from port 55488, retry remain: 10
[info   ] ConnectToServer: Trying connecting to 138.59.218.15:26806 from port 55488, retry remain: 9
[info   ] ConnectToServer: Trying connecting to 138.59.218.15:26806 from port 55488, retry remain: 8
[info   ] ConnectToServer: Trying connecting to 138.59.218.15:26806 from port 55488, retry remain: 7
[info   ] ConnectToServer: Trying connecting to 138.59.218.15:26806 from port 55488, retry remain: 6
[info   ] ConnectToServer: Trying connecting to 138.59.218.15:26806 from port 55488, retry remain: 5
[info   ] ConnectToServer: Trying connecting to 138.59.218.15:26806 from port 55488, retry remain: 4
[info   ] ConnectToServer: Trying connecting to 138.59.218.15:26806 from port 55488, retry remain: 3
[info   ] ConnectToServer: Trying connecting to 138.59.218.15:26806 from port 55488, retry remain: 2
[info   ] ConnectToServer: Trying connecting to 138.59.218.15:26806 from port 55488, retry remain: 1
[info   ] ConnectToServer: Trying connecting to 138.59.218.15:26806 from port 55488, retry remain: 0
[error  ] STKHost: Não foi possível conectar ao servidor [Test] South America STK Server #1.
[info   ] ProtocolManager: A 15ConnectToServer protocol has been terminated.


Server log (openSUSE):

{l Code}: {l Select All Code}
(...)
Tue May  7 09:09:44 2019 [info   ] ServerLobby: Server 35669 is now online.
Tue May  7 09:10:55 2019 [info   ] ProtocolManager: A 13ConnectToPeer protocol has been started.
Tue May  7 09:11:17 2019 [warn   ] ConnectToPeer: Time out trying to connect to 138.59.218.15:26524
Tue May  7 09:11:17 2019 [info   ] ProtocolManager: A 13ConnectToPeer protocol has been terminated.


Besides me, others also cant connect to the servers created by other players (by STK itself), since the 0.10 Beta. Anyone have any idea what might be happening?

Thanks in advance! :)
SandroDC
 
Posts: 3
Joined: 04 May 2019, 19:44

Re: [Bug?] Problems connecting to third-party servers

Postby benau » 07 May 2019, 17:53

You need to enable port forward for your server so everyone (who can be behind a strong firewall) can connect
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: [Bug?] Problems connecting to third-party servers

Postby SandroDC » 09 May 2019, 01:45

benau {l Wrote}:You need to enable port forward for your server so everyone (who can be behind a strong firewall) can connect

I thought I just needed to open a extra port on the firewall lol

Well, I did open a port on the router but to no avail. I contacted the responsible company, where they told me that my IP is Dynamic, and that to open a port to my STK server, I would have to hire an extra service to have a Static IP, which I can not at this moment...

Despite this problem, the server still works for most players, so I plan to leave it that way until I can have a Static IP here.

A hug and thanks for the help Benau! :)
SandroDC
 
Posts: 3
Joined: 04 May 2019, 19:44

Re: [Bug?] Problems connecting to third-party servers

Postby SandroDC » 09 May 2019, 01:51

One last question, is it possible to remove my username in the "owner" column, leaving only the "-"?
SandroDC
 
Posts: 3
Joined: 04 May 2019, 19:44

Re: [Bug?] Problems connecting to third-party servers

Postby benau » 09 May 2019, 02:06

People see your username only if he's your friend or yourself (seen by most player currently:)
Image
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: [Bug?] Problems connecting to third-party servers

Postby benau » 09 May 2019, 05:43

Or you can create a server account just use to host this server (and u play stk with your main account)
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Who is online

Users browsing this forum: Google [Bot] and 1 guest