Need Advice on solving a getsockopt issue

  • Thread starter Thread starter /u/gundum584
  • Start date Start date
U

/u/gundum584

Guest
Hello everyone! I am struggling terribly and trying to solve this issue. I have found it to be very difficult to search for information because of the more advanced approach i am using to host my servers.

Basically I am using the self hosted service called Crafty controller on a Docker container in Unraid.For the longest time I had no issues with people connecting directly to the minecraft servers via my ip(xxx.xxx.xxx.xxx:25565) or they could all use my domain(xxxxx.com:25565).

So I went about trying to secure my network by setting up a reverse proxy and adding SRV records in my domain dns so the servers could be connected to by ServerName.Domain.com without having to specify a port.

It seemed to work fine for awhile but then users started getting getsockopt connection errors and they have to try to connect to the server multiple times before it will actually connect. Once connected no one ever has lag or disconnection issues, it's only on trying to connect that the problem seems to occur. Over time the getsockopt errors seems to have started happening more and more often so I disable the reverse proxy as well as removed the SRV dns records and went back to having the users connect directly with the IpAddressee:port but now that is also causing the getsockopt errors.

At this point i have also setup a new router in an effort to resolve this problem but it seems to have not helped at all.

My basic understanding of the problem is that quiet frequently the client is unable to reach the server while trying to login.( I dont see anything in the server logs about anyone trying to connect when it happens or failed to connect errors.)

At this point I am at my whits end on what other steps to take to try and solve/find the problem.

Hopefully someone that knows more about networking than me could throw some insight on what could be causing this intermittent connection issue.

submitted by /u/gundum584
[link] [comments]

Continue reading...
 
Back
Top