Raised This Month: $51 Target: $400
 12% 

[Problem]Socket Error 3 on Socket for Server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
blazenam
Junior Member
Join Date: Aug 2008
Old 02-07-2009 , 00:05   [Problem]Socket Error 3 on Socket for Server
Reply With Quote #1

This problem comes up when the server started for more than 1 day.
When the server launched,it doesn't show any problem.
But if the server launched for longer time,the socket error 3 on socket for server x comes up and I can't see any server displayed in the server list in game.
Anyone knows wt's the problem?
How to fix it?

Sorry for my bad english.
blazenam is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 02-08-2009 , 12:36   Re: [Problem]Socket Error 3 on Socket for Server
Reply With Quote #2

according to the AMXX include file for the sockets module error 3 is "couldn't connect to given hostname:port". so the linux sockets layer was unable to create an UDP connection to the addresses for the servers. i'm afraid i can't help you with that very much, it's a network problem.
maybe your UDP connections is very limited by the firewall and after one day you reach the limit? i really don't know, i can only suggest to check your network interface. if the servers are connected to each other locally (or even on the same machine) you could try to set the localaddress= parameter for them. xREDIRECT will then prefer to use these addresses for internal querying but still use the remote addresses for player redirection.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
blazenam
Junior Member
Join Date: Aug 2008
Old 02-15-2009 , 10:11   Re: [Problem]Socket Error 3 on Socket for Server
Reply With Quote #3

can you detail explain how to set the localaddress= parameter?
can give me an example?
thank you.
blazenam is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 02-15-2009 , 12:32   Re: [Problem]Socket Error 3 on Socket for Server
Reply With Quote #4

i don't know what you want to see now, i can't show you more than:
Code:
localaddress=123.123.123.123
of course 123.123.123.123 has to be replaced by the local IP of the server. i can't help you with that, i don't know your IPs. usually they are in the range 192.168.* or 10.0.*.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
Glist3r
Senior Member
Join Date: Feb 2008
Old 02-21-2009 , 06:08   Re: Inactive for some time
Reply With Quote #5

I get this error : "Socket error 2 on socket for server 1"

Quote:
redirect_active 1
redirect_auto 2
redirect_manual 1
redirect_follow 0
redirect_external_address "DRJ4F.zapto.org:27015"
redirect_check_method 2
redirect_announce 120
redirect_announce_mode 2
redirect_show 0
redirect_retry 1
redirect_hidedown 0
redirect_localslots 1
What's the problem?
Glist3r is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 02-21-2009 , 08:35   Re: [Problem]Socket Error 3 on Socket for Server
Reply With Quote #6

I have moved your post over here because i think this is/could be your sollution.
You have to set your local address.
If this does not fix your problem show your serverlist.ini pls.
__________________

Mordekay is offline
Glist3r
Senior Member
Join Date: Feb 2008
Old 02-21-2009 , 09:21   Re: [Problem]Socket Error 3 on Socket for Server
Reply With Quote #7

Quote:
Originally Posted by Mordekay View Post
I have moved your post over here because i think this is/could be your sollution.
You have to set your local address.
If this does not fix your problem show your serverlist.ini pls.
[J4F.zapto.org]
address=J4F.zapto.org
localaddress=J4F.zapto.org
port=27015

[DRJ4F.zapto.org]
address=DRJ4F.zapto.org
localaddress=DRJ4F.zapto.org
port=27015

Servers are on different pc's .

Should this be the problem?
Glist3r is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 02-21-2009 , 11:02   Re: [Problem]Socket Error 3 on Socket for Server
Reply With Quote #8

Are they in a LAN? if yes the local adress is their LAN-IP address, usually something with 192.168.X.X or 10.0.X.X
__________________

Mordekay is offline
Glist3r
Senior Member
Join Date: Feb 2008
Old 02-21-2009 , 12:13   Re: [Problem]Socket Error 3 on Socket for Server
Reply With Quote #9

Quote:
Originally Posted by Mordekay View Post
Are they in a LAN? if yes the local adress is their LAN-IP address, usually something with 192.168.X.X or 10.0.X.X
Every time we restart our pc's , we get different IPs.
Glist3r is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 02-21-2009 , 13:32   Re: [Problem]Socket Error 3 on Socket for Server
Reply With Quote #10

Then you should make sure that the DNS name has the actual ip allready before you start your servers. Otherwise the errors could be caused by the plugin searching on the wrong ip.
__________________

Mordekay is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode