-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connection lost without notice #35
Comments
It already reports connection closed, but it may not detect it if there's a problem on your end. I've never seen the behaviour you describe, but my connection is stable. |
so how do you propose to confirm the connection problem i've just reported to you ? |
Perhaps I can have the program send ayt messages to the server while in a match. That should hopefully detect a connection failure. |
what you're saying in your last post is an idea that might be worth trying, but, sending ayt is an idea, but you could also wrap that in a timer method, to check how long did the response from igs took. i think it shouldn't matter if problem is on q5go, igs server itself, or user connectivity. |
That's a good goal, but sometimes you're just at the mercy of your environment - ideally the OS needs to discover that the connection is lost and report it to the application. |
i think i know a good way to test this. i will create a debug file, launch a game online, and simulate degradation of connection. we'll see in the log what will happen then, as far as how q5go sees these kind of things. the bad side is that my opponent will be like a guinea pig, and i will look like an escaper, i might loose the game too. but i'll have the logs. |
We could have a test game some time this week. I've wanted to test resuming a game for a while, and I can't do it purely locally because the NNGS server I have for testing is a little too broken for this. |
sure, that would be a better solution most probably. rather than testing with normal players. they might find it unfair treatement to them. i'd gladly help if i can. just let me know when it might be a good time for you. |
I'm venkman on IGS. Let me know your username. I'll try to be on-line in the evenings, but I might not be at the computer the whole time. |
my nick on igs is the same as here on github, nsklaus. |
i confirm i just had a problem with loosing connection again.
i think the time while the connection was stalled with me without noticing was being counted on igs. |
You should use the "stored" command to see if any games were saved and under what name. You can't use local paths. Let's see if we can test this one of the next few days. Were you using development sources in all cases, or did you use the last release? There was a small change in how q5go communicates with the server, and while it's working fine here, I wonder if that could be causing your issues. It would be good to rule this out if possible. |
i'm currently using the sources from your repo i've cloned it and pulled it last a few hours ago. |
Did IGS go down for you? It booted me out, and when I try to reconnect I just get "sorry". |
yes, same here. i cannot connect back. |
Oh well. To summarize here what we saw: once the connection was lost on your end, the game adjourned on my end, as expected. It showed up as stored at that point. "68 1 32652.00 49 115 32652.00 49 115" Not sure whether it was a timeout, but it would be a big coincidence if it just happened at the same time. So maybe IGS just doesn't really allow resuming games at the moment? I'm not sure what's going on. The focus on the chat window is something I noticed today, too. That's somewhat annoying. |
Let's wait and see if IGS comes back. If it doesn't, the conversation is a bit moot :-( |
igs can't just die. worst case we were kicked for strange behavior, testing connectivity, disconnecting, not resuming game or things like that. i think they're just have a little bit of down time for maintenance or something. let's hope it's not "日本が没む日" ("The day Japan disappeared", it's a joke on a recurrent theme in japanese culture that someday japan will sink into the sea and disappear) well, it will be a good test case for resuming game after loosing connectivity :) hmm..
ok i tried with gopanda, and i saw: "sorry your account is currently banned" (message sent, msg id is: 2007310009-6352) |
ban lifted |
Same here. That's a relief at least.
So, not much that can be done here, I think. OK to close? |
for example, my irc client. it could be possible to see there is a network connectivity problem in the code (by exchanging an ayt every minute for example) and if that ayt fails 3 times (so 3 minutes) then q5go could manualy sever the connection and at the very least tell the user there was a network problem and he needs to connect/login again. tomorrow i will be looking at how gopanda handle these situation. |
i think summary and conclusion were done a bit too fast here. all in all what i'm saying is: |
i was playing on igs, and suddenly my opponent was taking a long time to respond and do his move.
on the server window (where there is the igs console, user list and player list) i tried to refresh game and user list, but nothing would show up. these areas went all white with nothing in it. igs console didn't reply to my input properly, like: typing "help commands" didn't gave me the list of commands.
so now i have no idea how to resume my previous game, if it is possible at all.
if there is a long server lag or connection lost, maybe q5go could tell us about it ?
The text was updated successfully, but these errors were encountered: