With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
Game server information & questions.

Moderators: Joe Kari, Pardner, TheDoctor

Re: No or bad challenge for your address

Postby Biondo » Thu Feb 07, 2013 9:04 am

TheDoctor wrote:@Biondo: Regarding Circus Novus, can you confirm you still cannot connect to this server neither via xqf nor via the in-game browser?


Hmm, I'm puzzled ... I was able to connect to Circus Novus via XQF, but only 1 time (5 minutes ago). Now I'm not able to connect nor to Circus nor to Baller, both using XQF or in-game server browser.
User avatar
Biondo
SG Website Designer
 
Posts: 543
Joined: Thu Oct 15, 2009 4:35 pm



Re: No or bad challenge for your address

Postby Biondo » Thu Feb 07, 2013 9:15 am

Tequila wrote:Btw for the one comfortable with editing their hosts file, can you just add the following line.
Code: Select all
91.121.39.115 authorize.smokin-guns.net update.smokin-guns.net



This worked for me!
I added the line to my /etc/hosts file, and I'm now able to connect both to Baller and to Circus.
Sorry, Sunrise if I almost ignored your advice, but I usually don't do something I don't understand. When Téquila shows the reason behind that and says it's safe to forget about the added line, for me it's a good reason to try.

Though this can't be a definitive solution for all (not all players read the forum, and particularly this thread), I think it should be explained in bold words.

I can only talk about what to do in Linux: edit /etc/hosts and add the line
Code: Select all
91.121.39.115 authorize.smokin-guns.net update.smokin-guns.net


Don't know where the hosts file is in Windows.
User avatar
Biondo
SG Website Designer
 
Posts: 543
Joined: Thu Oct 15, 2009 4:35 pm



Re: No or bad challenge for your address

Postby Mope » Thu Feb 07, 2013 9:47 am

OK, Sunrise and all who tried to help, thanks a lot, it worked for me too!
Thanks Biondo, for trying this, and pointing it out,
Sorry, I've missed that message too.

On Windows hosts file is here:
C:\Windows\System32\drivers\etc
User avatar
Mope
Drifter
 
Posts: 7
Joined: Fri Dec 18, 2009 6:22 pm
Location: Tel Aviv, Israel



Re: No or bad challenge for your address

Postby Mope » Thu Feb 07, 2013 10:41 am

And special thanks for Tequilla!
User avatar
Mope
Drifter
 
Posts: 7
Joined: Fri Dec 18, 2009 6:22 pm
Location: Tel Aviv, Israel



Re: No or bad challenge for your address

Postby Tequila » Thu Feb 07, 2013 11:15 am

Biondo wrote:This worked for me!

...

Sorry, Sunrise if I almost ignored your advice, but I usually don't do something I don't understand. When Téquila shows the reason behind that and says it's safe to forget about the added line, for me it's a good reason to try.

Well, I said it's safe to forget as I understood you needed such sentence to do the step ;) I wouldn't have say that without your complain :D
Btw it's really safe to forget until the ip changes and you still using the current binary. New binary will only use smokin-guns.org domain and we will be able to forget that lethal effect ;)
So yes, we need a new release...

Btw, Biondo, can you confirm if you can connect to my servers with that hosts file line disabled ?
This question because I only believe the smokin-guns.net reason is only a side effect of something else. The fact is related to the following message on the console:
Code: Select all
Resolving update.smokin-guns.net
Sys_StringToSockaddr: Error resolving update.smokin-guns.net: No address
associated with hostname
Couldn't resolve address

The DNS resolution takes too much time and so your initial server challenge may have been forgotten during the elapsed time. If your problem doesn't exist with my server, we could think the challenge is kept until your client manages to connect. If you still have problems, then you may better have a problem in the DNS resolution...

To check the DNS resolution, guys, can you report the time it tooks ? Under linux, you can try "time host update.smokin-guns.net" and "time host update.smokin-guns.org". Here are my results:
Code: Select all
[tequila@smokinguns ~]$ time host update.smokin-guns.net
;; connection timed out; trying next origin
Host update.smokin-guns.net not found: 3(NXDOMAIN)

real   0m13.751s
user   0m0.010s
sys   0m0.019s
[tequila@smokinguns ~]$ time host update.smokin-guns.org
update.smokin-guns.org has address 91.121.39.115

real   0m3.138s
user   0m0.003s
sys   0m0.010s

So, 13 seconds for the .net and 3 seconds for the .org ...

Generally speaking, DNS resolution problems are sometime the last stuff to check but this is often critical not only for playing Smokin'Guns...

@Mope: np, but I'm also the guy to blame as I enabled in the code the "update server requests" to a sucking server with missing DNS record... Btw I blame Joe Kari to have release 1.1 without fixing the hard-coded update server DNS definition... :oops:

Generally speaking I also blame DNS resolution as this is often a problem for my job...

:twisted:

Edited: 13s & 3s !!! This sucks and this tells me I have problems with my own DNS resolution... I upgraded my system to Fedora 18 recently and now I discover I'm another DNS resolution victim =(
Last edited by Tequila on Thu Feb 07, 2013 11:23 am, edited 1 time in total.
Reason: Added my own complain toward my sysadmin who is myself...

Join Smokin'Guns Return room on Discord
User avatar
Tequila
SG Team
 
Posts: 1100
Joined: Thu Nov 15, 2007 11:33 pm
Location: Montpellier, France



Re: No or bad challenge for your address

Postby Tequila » Thu Feb 07, 2013 11:37 am

Here are my last and normal results after I talked with myself :mrgreen:
Code: Select all
[tequila@smokinguns ~]$ time host update.smokin-guns.net
Host update.smokin-guns.net not found: 3(NXDOMAIN)

real   0m1.987s
user   0m0.004s
sys   0m0.006s
[tequila@smokinguns ~]$ time host update.smokin-guns.net
Host update.smokin-guns.net not found: 3(NXDOMAIN)

real   0m2.853s
user   0m0.002s
sys   0m0.008s
[tequila@smokinguns ~]$ time host update.smokin-guns.org
update.smokin-guns.org has address 91.121.39.115

real   0m0.126s
user   0m0.007s
sys   0m0.008s
[tequila@smokinguns ~]$ time host update.smokin-guns.org
update.smokin-guns.org has address 91.121.39.115

real   0m0.080s
user   0m0.005s
sys   0m0.008s

So bad resolution tooks for me now around 2-3 seconds and good resolution tooks around 100 milliseconds... I really feel better now 8)

Join Smokin'Guns Return room on Discord
User avatar
Tequila
SG Team
 
Posts: 1100
Joined: Thu Nov 15, 2007 11:33 pm
Location: Montpellier, France



Re: No or bad challenge for your address

Postby Biondo » Thu Feb 07, 2013 12:00 pm

Tequila wrote:Btw, Biondo, can you confirm if you can connect to my servers with that hosts file line disabled?


I can't try now, but yesterday your servers were working fine for me, also before having added the line to /etc/hosts.

Tequila wrote:To check the DNS resolution, guys, can you report the time it tooks? Under linux, you can try "time host update.smokin-guns.net" and "time host update.smokin-guns.org".


Here are the outputs:
[10:56] luca@luna:~$ time host update.smokin-guns.net
Host update.smokin-guns.net not found: 2(SERVFAIL)

real 0m1.786s
user 0m0.000s
sys 0m0.004s

[10:57] luca@luna:~$ time host update.smokin-guns.net
Host update.smokin-guns.net not found: 2(SERVFAIL)

real 0m1.631s
user 0m0.008s
sys 0m0.000s

[10:57] luca@luna:~$ time host update.smokin-guns.net
Host update.smokin-guns.net not found: 2(SERVFAIL)

real 0m1.624s
user 0m0.004s
sys 0m0.000s

[10:57] luca@luna:~$ time host update.smokin-guns.net
Host update.smokin-guns.net not found: 2(SERVFAIL)

real 0m1.627s
user 0m0.004s
sys 0m0.000s


[10:57] luca@luna:~$ time host update.smokin-guns.org
update.smokin-guns.org has address 91.121.39.115

real 0m0.256s
user 0m0.000s
sys 0m0.004s

[10:59] luca@luna:~$ time host update.smokin-guns.org
update.smokin-guns.org has address 91.121.39.115

real 0m0.154s
user 0m0.004s
sys 0m0.000s

[10:59] luca@luna:~$ time host update.smokin-guns.org
update.smokin-guns.org has address 91.121.39.115

real 0m0.160s
user 0m0.004s
sys 0m0.000s

[10:59] luca@luna:~$ time host update.smokin-guns.org
update.smokin-guns.org has address 91.121.39.115

real 0m0.154s
user 0m0.004s
sys 0m0.000s
User avatar
Biondo
SG Website Designer
 
Posts: 543
Joined: Thu Oct 15, 2009 4:35 pm



Re: No or bad challenge for your address

Postby Tequila » Thu Feb 07, 2013 12:19 pm

Your DNS resolution is normal and this means the server is forgetting you in less than 2 seconds...
Poor Biondo, I think BB bots are really scared by your coming... :mrgreen:

Join Smokin'Guns Return room on Discord
User avatar
Tequila
SG Team
 
Posts: 1100
Joined: Thu Nov 15, 2007 11:33 pm
Location: Montpellier, France



Re: No or bad challenge for your address

Postby TheDoctor » Thu Feb 07, 2013 3:03 pm

The DNS problem, is it occuring server-side and client-side? Can one fix this server-side? If not, why are some server behaving differently?
Image
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Re: No or bad challenge for your address

Postby Tequila » Thu Feb 07, 2013 4:02 pm

The DNS problem is only client side. On the server side, for now, I can only think of, as I said before, good client could finally be forgotten if too many challenges are asked in a short time (here approximatively 2 seconds for Biondo's case). I'm still trying to find other ideas, but for now this is the only one I have.

You may eventually add debugging on the server side to monitor challenge requests rate and report the case in your log when you drop someone with the message "No or bad challenge for your address".
:twisted:

Join Smokin'Guns Return room on Discord
User avatar
Tequila
SG Team
 
Posts: 1100
Joined: Thu Nov 15, 2007 11:33 pm
Location: Montpellier, France



Re: No or bad challenge for your address

Postby Tequila » Thu Feb 07, 2013 4:12 pm

@TheDoctor: Could you still check the time it takes from the server side to resolve authorize.smokin-guns.org ? This hostname is used during the client authorization and I can imagine something can go wrong if you take too much time to authorize client due to DNS resolution problem too.

Here is the result on my own server:

Code: Select all
[root@western ~]# time host authorize.smokin-guns.org
authorize.smokin-guns.org has address 91.121.39.115

real   0m0.027s
user   0m0.004s
sys   0m0.000s

Join Smokin'Guns Return room on Discord
User avatar
Tequila
SG Team
 
Posts: 1100
Joined: Thu Nov 15, 2007 11:33 pm
Location: Montpellier, France



Re: No or bad challenge for your address

Postby TheDoctor » Thu Feb 07, 2013 11:09 pm

Tequila wrote:@TheDoctor: Could you still check the time it takes from the server side to resolve authorize.smokin-guns.org?

The results of BB's host results are comparable.
thedoctor@fragging:~/ballerbude
> time host update.smokin-guns.org
update.smokin-guns.org has address 91.121.39.115

real 0m0.049s
user 0m0.001s
sys 0m0.002s
thedoctor@fragging:~/ballerbude
> time host update.smokin-guns.org
update.smokin-guns.org has address 91.121.39.115

real 0m0.005s
user 0m0.000s
sys 0m0.003s


Let's see where we are: Does anyone still get the "No or bad challenge for your address" error on Baller Bude? If so, did you try out Tequila's host definition?
Image
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Re: No or bad challenge for your address

Postby Biondo » Thu Feb 07, 2013 11:20 pm

TheDoctor wrote:Let's see where we are: Does anyone still get the "No or bad challenge for your address" error on Baller Bude? If so, did you try out Tequila's host definition?

Don't exactly know what you want to mean, TheDoctor. I edited /etc/hosts file the way Téquila suggested and I'm able to connect to Baller Bude and all other servers I know.

Is it what you were asking for?
Last edited by Biondo on Thu Feb 07, 2013 11:33 pm, edited 2 times in total.
User avatar
Biondo
SG Website Designer
 
Posts: 543
Joined: Thu Oct 15, 2009 4:35 pm



Re: No or bad challenge for your address

Postby TheDoctor » Thu Feb 07, 2013 11:27 pm

Biondo wrote:Is it what you were asking for?
Thanks for confirming your problems having been solved.

Are there any other player who cannot reliably connect to Baller Bude or other servers?
Image
User avatar
TheDoctor
Smokin' Amigo!
 
Posts: 818
Joined: Sun Jun 06, 2010 3:31 am



Re: No or bad challenge for your address

Postby Mope » Thu Feb 07, 2013 11:39 pm

Doctor, after applying Tequilla's hosts file edit suggestion,
Code: Select all
91.121.39.115 authorize.smokin-guns.net update.smokin-guns.net

I connect perfectly, without delay, on any server. Thank you very much.
User avatar
Mope
Drifter
 
Posts: 7
Joined: Fri Dec 18, 2009 6:22 pm
Location: Tel Aviv, Israel



PreviousNext

Return to Telegraph Station

Show Sidebar
Show Sidebar

User Control Panel

cron