Page 1 of 1

Why isn't my server ipv6 enabled?

PostPosted: 21 Sep 2021, 18:49
by tux_peng
Ubuntu 20.04 server on Dedipath. Name is PlaySTK. I do not have an ipv6 address to test, but https://online.supertuxkart.net/api/v2/server/get-all doesn't have an ipv6 address for it

{l Code}: {l Select All Code}
root@linux:~# ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
    link/void
    inet 127.0.0.1/32 scope host venet0
       valid_lft forever preferred_lft forever
    inet 194.53.111.213/32 brd 194.53.111.213 scope global venet0:0
       valid_lft forever preferred_lft forever
    inet6 2602:fe90:800:1::8eb3:7d75/128 scope global
       valid_lft forever preferred_lft forever
root@linux:~#

Re: Why isn't my server ipv6 enabled?

PostPosted: 21 Sep 2021, 19:28
by benau
you need to paste your stk server log

Re: Why isn't my server ipv6 enabled?

PostPosted: 21 Sep 2021, 20:29
by kimden
I am not sure whether it is the case but sometimes a restart is enough to fix "missing ipv6" error (my ipv6 is also missing recently with some probability)

Though there may be other problems so hard to say without log

Re: Why isn't my server ipv6 enabled?

PostPosted: 21 Sep 2021, 22:41
by tux_peng
I restarted the server and copied the fresh log, doesn't say anything helpful to me, it doesn't seem to see my system as ipv6 at all

[info ] HTTPRequest: Sending userid=141769&token=************************&visitingid=141769 to https://online.supertuxkart.net/api/v2/ ... ends-list/
[info ] NetworkConfig: System is IPv4 only.
Tue Sep 21 22:27:51 2021 [info ] STKHost: Host initialized.
Tue Sep 21 22:27:51 2021 [warn ] STKHost: Disable IPv6 socket due to missing IPv6.
Tue Sep 21 22:27:51 2021 [info ] STKHost: Server port is 5153
Tue Sep 21 22:27:51 2021 [info ] ServerLobby: Resetting the server to its initial state.
Tue Sep 21 22:27:51 2021 [info ] ProtocolManager: A 11ServerLobby protocol has been started.
Tue Sep 21 22:27:51 2021 [info ] main: Creating a WAN server 'PlaySTK Configurable Server (All featured addons)'.
Tue Sep 21 22:27:51 2021 [info ] STKHost: Listening has been started.
Tue Sep 21 22:27:51 2021 [info ] ServerLobby: Public IPv4 server address 194.53.111.213:5153
Tue Sep 21 22:27:51 2021 [info ] HTTPRequest: Sending userid=141769&token=************************&address=3258281941&port=5153&private_port=5153&name=PlaySTK%20Configurable%20Server%20%28All%20featured%20addons%29&max_players=12&difficulty=1&game_mode=3&password=*&version=6 to https://online.supertuxkart.net/api/v2/server/create/
Tue Sep 21 22:27:51 2021 [info ] ServerLobby: Server 441118 is now online.

https://pastecode.io/s/215n91vb

Re: Why isn't my server ipv6 enabled?

PostPosted: 22 Sep 2021, 02:04
by benau
try paste the log of supertuxkart --log=0 --server-config=xyz.xml, make sure your vps can resolve ipv6 dns