Server announce ACCEPTED but never shows in the list

Post Reply
dgsomerton
New member
Posts: 3
Joined: Sun Nov 29, 2020 06:52
In-game: Steve

Server announce ACCEPTED but never shows in the list

by dgsomerton » Post

I have been running a server on my local computer for a while, with no issues (apart from IP changing due to flaky service). I recently obtained a VPS to host the server. All the files are copied onto the server, and everything works as before except that the new server is never shown in the available list. Using tcpdump I captured the conversation on the working and not working systems for comparison, but they are the same, with the response coming back as ACCEPTED.

I have not yet tried the same curl request manually from the VPS.

Knowing the server IP, I can connect to the VPS and everything works as it should.

TLDR: 2 servers, same binaries and data files, both announces are ACCEPTED, only 1 shows up.

dgsomerton
New member
Posts: 3
Joined: Sun Nov 29, 2020 06:52
In-game: Steve

Re: Server announce ACCEPTED but never shows in the list

by dgsomerton » Post

I set up a curl command to send the same data as I captured on the successful server, changing the address for the VPS. I can run this command on either server and get a successful response:

Code: Select all

[minetest_user@dgsoft ~]$ ./curl_announce.sh 
*   Trying 185.107.80.107:80...
* Connected to servers.minetest.net (185.107.80.107) port 80 (#0)
> POST /announce HTTP/1.1
> Host: servers.minetest.net
> Accept: */*
> User-Agent: Minetest/5.4.0-dev-5330f69 (Linux/5.9.10-100.fc32.x86_64 x86_64)
> Content-Type: multipart/form-data; boundary=----FormBoundary1848829217
> Content-Length: 2674
> 
* upload completely sent off: 2674 out of 2674 bytes
* Mark bundle as not supporting multiuse
< HTTP/1.1 202 ACCEPTED
< Server: nginx/1.19.4
< Date: Sun, 29 Nov 2020 10:28:37 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 23
< 
* Connection #0 to host servers.minetest.net left intact
Request has been filed.
And yet, the server name, ip and port are not on the web site or in the client selection.

dgsomerton
New member
Posts: 3
Joined: Sun Nov 29, 2020 06:52
In-game: Steve

Re: Server announce ACCEPTED but never shows in the list

by dgsomerton » Post

Further investigation shows that after the announcement is sent to the list at servers.minetest.net a UDP packet is sent from the list to the server that just announced. It is this packet that is not making it to my server on the failing instance, but has no problem on the other server. It would seem that an upstream provider is blocking incoming UDP.. what a pain..

User avatar
Minix
Member
Posts: 50
Joined: Thu Nov 12, 2020 13:51
In-game: Minix

Re: Server announce ACCEPTED but never shows in the list

by Minix » Post

You are right, you can try on your local server to disable the port forwarding on your router and the server won't appear in the public list. I guess you would have to talk with your VPS provider.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests