I try to login to my account, but it just does nothing, any idea, what's happening?
BTW, great idea with the PCO! I didn't monitor PC for some time, but it's good to see you didn't abandon it :D
If you plan on making some translations - just PM me and I'll be on my way to making Polish one ;)
Forum > Pazaak Cantina Online: Login not possible
|
12.01.2011, 09:11 PM
|
||
|
12.01.2011, 09:35 PM
Great to see you around here again :)
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope (HK-47)
I'll contact you if I decide to make translations. If nothing happens when logging in, please turn on your browser's debugging window, reload the page and try again. The debugging window will tell us what error happens. In Firefox, the debugging window can be shown by pressing CTRL+SHIFT+K |
||
|
12.01.2011, 09:53 PM
Strangely, my Chrome 15 doesn't show any errors. I've also tried some basic debugging with no success.
|
||
|
12.02.2011, 10:32 AM
Does it work in other browsers for you?
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope (HK-47)
Do you have any firewall that blocks access to www.pazaak.org:8080? |
||
|
12.02.2011, 04:10 PM
Nah, tried portable Firefox 8 and still nothing happens. Also, I use standard Win7 firewall and everything seems to be okay.
I have one more thing to check, I'll report here later |
||
|
12.02.2011, 04:14 PM
Oh wow, just opened up developer's console in this firefox portable.
Look, what I've found: [16:13:25.842] The connection to ws://www.pazaak.org:8080/ was interrupted while the page was loading. @ http://www.pazaak.org/game/script.js:2116 |
||
|
12.02.2011, 10:22 PM
I have the same message as naerian in Firefox 8. Also tried in Opera 11 and I keep getting message "You have been disconnected from the Server" while loading. Websockets enabled.
|
||
|
12.03.2011, 12:33 AM
I moved your thread as it seems to be a big issue.
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope (HK-47)
Am I seeing it right, that both of you can't login as a guest too? In line 2110/2116 the connection to the websocket server is made. When this connection cannot be established, you don't even see the login window. Do you see the login window or does the error show up at the loading page (black background)? Perhaps it is a connection timeout. I have increased the connection timeout limit, so perhaps the error is already gone. BTW: Firefox 8 has got the bug, that pressing the ESC key cancels any existing websocket connection. I tested Pazaak Cantina Online today in Firefox 8.0 and Chrome 15.0.874.121. Everything is working fine here. Weird. Perhaps an installed plugin in the browser is the cause. You could also try to temporarily disable all plugins.. |
||
|
12.03.2011, 01:11 AM
I see the login prompt, but when i Click Login nothing happens. Also, extensiens doesn't seem to work.
|
||
|
12.03.2011, 02:14 AM
What happens if you click on 'Login as a guest'?
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope (HK-47)
|
||
|
12.03.2011, 09:26 AM
Still nothing.
I guess it must be something with connection, I'll analyze some of your code, and maybe I'll come up withb something. BTW, I looked into script.js and I must say, I like your coding style ;) |
||
|
12.03.2011, 11:01 AM
When I'm using Opera to login prompt doesn't even show up. In Firefox there is logging window, but I can't log in as Guest, or with my account data, buttons don't work.
|
||
|
12.03.2011, 11:02 AM
Correction. Now it works, I can see lobby! Hurray!:D
|
||
|
12.03.2011, 11:09 AM
Hmmm, I'll try registering a new account if it's something related to my old one.
|
||
|
12.03.2011, 12:16 PM
I can't log in as well. :/
Atton Rand: "Feels like my last time on Telos." Bao-Dur: "Crashed a shuttle that time, too?" Atton Rand: "No, pazaak." |
||
|
12.03.2011, 07:12 PM
Please try to login at the debug version.
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope (HK-47)
There will be some alert boxes after clicking on the login button (both guest and registered user). Please report, what these alert boxes print. |
||
|
12.03.2011, 07:14 PM
Ok, I've got these debug numbers:
1.1 1.2 1.3 3.1 3.2 3.3 1.4 |
||
|
12.03.2011, 07:15 PM
Oh, forgot the guest numbers:
2.1 3.1 3.2 3.3 2.2 |
||
|
12.03.2011, 07:22 PM
I've tried that debug game and although the game works for me in Firefox I get the same debug messages as naerian. Both account-like and guest profiles. I can get to the lobby, although there aren't many people and couldn't test the match itself, since I always enter the empty lobby room. I'l check in Opera, since it doesn't work for me in that browser and post debug messages later.
|
||
|
12.03.2011, 07:24 PM
Ok, I can't post any debug messages in Opera, because I still get message "You have been disconnected from the server" when I try to connect to the server.
|
||
|
12.05.2011, 12:51 PM
Hm, unfortunately I cannot reproduce this problem..
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope (HK-47)
I modified the debug version of the game. Please try again (with the browser's developer console enabled) and post the alert box results. |
||
|
12.05.2011, 07:31 PM
Chrome. Messages:
Before send() After send() No errors in the console. Firefox: The same |
||
|
12.06.2011, 01:57 PM
Thank you, naerian!
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope (HK-47)
It seems that the javascript at the client side is working properly. Therefore I added some extra debug messages to the server. Please try to login again and post the alert box results as well as your IP address, so that I can identify you in the server logs. |
||
|
12.10.2011, 03:53 PM
Tried to log in a moment ago.
Before send() After send() my ip is *.*.*.*, but please remove it from this post, after you got it. |
||
|
12.11.2011, 11:20 PM
I found 3 times the following sequence:
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope (HK-47)
New client connected: *.*.*.* Client *.*.*.* received Handshake Client *.*.*.* responded to Hybi10 Handshake Client *.*.*.* sends WebSocket data Client *.*.*.* disconnected This means, your browser connected successfully to the server. After responding to the Hybi10 Handshake, the login request should be received. Instead, the server tries to send data to your browser. This is incorrect behavior of the server. After that, the connection is closed by a legal protocol operation. It's very strange that the browser apparently doesn't receive the data sent by the server, because there would be an alert box that shows it. Additionally, an error message should be shown when the connection is closed.. I added some more detailed debug messages so that I can see, what data is sent by the server. Thus I would appreciate if you could test it again (please post your current IP address). |
||
|
12.11.2011, 11:25 PM
Just tried it a second ago. Same ip.
|
||
|
12.12.2011, 12:10 PM
The data that the server tries to send is a notification about a SocketTimeoutException. It is strange that a timeout exception occurs and that the error message isn't received by the browser.
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope (HK-47)
Once again, I added more debug info to the server. Please try it again. |
||
|
12.12.2011, 08:12 PM
Ok, did it again second ago.
|
||
|
12.13.2011, 11:47 PM
I'm having a similar problem and get the same error messages when using chrome.
Using safari I can't get connection and using mozilla i get the same errors as chrome. However I can log in and play games on my ipod touch. If you can help fix this, the help would be appreciated. Thanks cc |
||
|
12.14.2011, 10:49 AM
OK, I tracked it down to java.net.SocketInputStream.read
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope (HK-47)
This function tries to read the data that your browser sends. But after 899.971 seconds (15 minutes) the connection times out because the above function never gets data from the browser. After these 15 minutes, the server sends an timeout notification to the browser and disconnects. This is intended. But why doesn't the server receive the data the browser sends? It is strange that the websocket handshake is no problem (browser sends handshake data to server and then server sends handshake data to browser). Anyway, the browser should display an error message after 15 minutes. Please open Pazaak Cantina Online and just stay on the login window without acting. After 15 minutes there should be the timeout notification message. Then, open Pazaak Cantina Online and try to login and although if nothing happens, after 15 minutes there should be the timeout notification. |
||
|
12.14.2011, 05:00 PM
Ok, I did both things in a row
|
||
|
12.15.2011, 12:46 PM
@cc88:
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope (HK-47)
Do you have the latest versions of the browsers? Are you able to login with any browser other than safari mobile on your iPod? The debug game always shows the messages, even if you can actually login. @naerian: So you did see the "You have been disconnected from the server because you were idle for 15 minutes." messages? I looked through the server logs: Your browser sends a valid handshake and receives a valid handshake. Thus, the browser shows after the handshake the login panel. But then, the server just doesn't receive any data. After 15 minutes the server closes the connection (intended). Because the timeout exception is thrown at low level (native method) I think the failure is on the browser's side. It could be, that the browser waits for more data to be sent (e.g. for efficiency). That means, the javascript has to tell the browser explicitly to flush the data immediately after sending the message. According to the WebSocket API (http://dev.w3.org/html5/websockets) it is not possible to tell the browser to flush the data.. However one can test, if data has been buffered. I added a function in the debug game which shows every 10 seconds how much data is buffered. This value should always be zero. Please try to login again. |
||
|
12.15.2011, 01:03 PM
Yes, I saw both of them.
Also, when I try to login to debug game, it shows debug amount of 0 every 10 seconds, so it's okay, I guess. |
||
|
12.15.2011, 05:22 PM
The buffer is apparently not the problem. I have no idea what's going wrong here.. Maybe you could try to use another device (e.g. notebook or tablet or even smartphone) and test if it works with this device.
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope (HK-47)
I will take the debug game offline because it has no use at the moment. Currently I am working on Pazaak Cantina v2, which will use the same multiplayer system that is used in Pazaak Cantina Online. So you will be able to play multiplayer Pazaak games with Pazaak Cantina soon. |
||
|
12.15.2011, 10:57 PM
I definitely have the latest versions of the browsers as I downloaded them specifically to try the cantina on.
I have not been able to log in on any other device than my iPod. Might try to log in at college tomorrow. |
||
|
12.30.2011, 05:41 PM
I was looking through the forum to see if I could find an answer to my question. I was able to find half of the answer in this post.
You see, my problem is that I am also getting the "You are disconnected from the server" message whenever I try to play Cantina online. From what I understand, you are working on that. Now, a bigger problem that I have is that when I try to log into my account on the download/desktop version of the game, I get a similar message. What I do is, I hit "Use existing account" and to where I'm prompted to enter my "name" and "password" and right under, the server address is "http://www.pazaak.org/server.php". Well, when I enter my username and my password, I get the following message: "The requested function is not available on the server". I just thought I'd let you know about this. I don't know if anyone else has this problem, for I haven't seen this on the forums. Any help? |
||
|
01.05.2012, 02:59 PM
I am writing a new desktop version at the moment, which uses the same server as Pazaak Cantina Online. The old server would interfere with the new server in regards to the statistics. So I disabled the old server completely.
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope (HK-47)
Until the next release, only non-online accounts are possible in Pazaak Cantina. |
||
|
01.15.2012, 06:31 PM
I can't login as well :S
I enter my username and password and hit the login button but it just doesn't respond and neither does the login as guest. The register and recover your password seem to function normaly. I tried to debug but no info shows up. |
||
|
02.22.2012, 05:44 AM
I was having this same issue - neither Firefox nor Chrome could play the game, the debug console in Firefox was giving an error along the lines of "Connection to ws://www.pazaak.org:8080/ was interrupted while the page was loading".
I solved it by disabling the Web Shield in avast! antivirus (right-click tray icon, select 'Open avast! user interface', select 'Web Shield" under "REAL-TIME SHIELDS" and click the "Stop" button). Unfortunately, I tried adding various combinations of "http://www.pazaak.org/*" and "ws://www.pazaak.org:8080" to the Web Shield exclusions list, with no success. Seems like the only option is indeed to stop the Web Shield entirely for the duration of your Pazaak game. |
||
|
02.22.2012, 01:04 PM
Thank you for posting this info!
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope (HK-47)
You could also try to add pazaak.org:8080 (without the www.) |
||