Browser version does not work in Chrome

You can get help here if Freeciv doesn't start on your computer, or if you keep getting fatal errors while playing etc.
colesmills
Posts: 1
Joined: Thu May 16, 2013 4:30 pm

Browser version does not work in Chrome

Post by colesmills »

I can't get the Browser version of FreeCiv to work! I navigate to http://play.freeciv.org/webclient/ and click "start game" in the popup window but the game screen is black and it does not start. Is there anything I'm doing wrong?
randscreen
Posts: 2
Joined: Fri May 17, 2013 6:10 pm

Re: Browser version does not work in Chrome

Post by randscreen »

I'm seeing the same problem on iPhone 5 with both the Safari and Chrome browsers.
louis94
Hardened
Posts: 270
Joined: Thu Apr 25, 2013 10:17 pm
Location: Belgium

Re: Browser version does not work in Chrome

Post by louis94 »

Hello,

It doesn't work in QtWebKit 4.8.1 (Rekonq). All Webkit browsers seem to be affected.
Konqueror also fails to load the game, but Konq is not as important as Chrome & al.

Louis
ifaesfu
Posts: 25
Joined: Thu Feb 21, 2013 9:13 pm
Location: Huelva, Spain
Contact:

Re: Browser version does not work in Chrome

Post by ifaesfu »

I tried to start a multiplayer game and observe an existing one and I had no problems with Google Chrome. It was 2 days ago.
AndreasR
Elite
Posts: 754
Joined: Thu May 02, 2013 10:26 pm

Re: Browser version does not work in Chrome

Post by AndreasR »

Hi colesmills, randscreen and louis94!

Thanks for reporting the issues with the Freeciv web client. This is something we should fix! 8-)

Could you please try playing the game again now, and see if you still get the same problems?
If the problem still remains, then please give as much information as possible about:
- web browser version
- operating system
- Internet connection speed
- plugins installed in the browser
- if you are connecting through a HTTP proxy
- if you have any problems with other HTML5 games which use websockets, eg http://rumpetroll.com/
- error messages in the Javascript console of your browser.

Please give as much information as possible. Thanks for your bugreports!

Andreas
louis94
Hardened
Posts: 270
Joined: Thu Apr 25, 2013 10:17 pm
Location: Belgium

Re: Browser version does not work in Chrome

Post by louis94 »

Hello,

Here is the requested information:
- web browser version
Rekonq 2.3.0 (http://rekonq.kde.org), or any based upon QtWebkit from Qt 4.8 (just tested using Qt Designer).
- operating system
Kubuntu Linux 12.10 with Project Neon's PPA.
- Internet connection speed
Up to 2.5 Mio/s.
- plugins installed in the browser
Not relevant since it does not work with a simple QtWebkit widget.
- if you are connecting through a HTTP proxy
No.
- if you have any problems with other HTML5 games which use websockets, eg http://rumpetroll.com/
No.
- error messages in the Javascript console of your browser.
Failed to load resource: Blocked by « adfilter » -> analytics.js
http://play.freeciv.org -> Unexpected response code: 426
webclient.js:81 -> WebSocket connection closed.

Request to ws://play.freeciv.org/civsocket is pending for a long time.

Louis
AndreasR
Elite
Posts: 754
Joined: Thu May 02, 2013 10:26 pm

Re: Browser version does not work in Chrome

Post by AndreasR »

Thanks for all the useful debugging information. Today I learned that I had to start testing for yet another browser called Rekonq.

I got Freeciv-web running on Rekonq 2.2.1 on Ubuntu. However, I haven't been able to compile your version on Ubuntu yet.

Could you please test Freeciv-web on Firefox 21 or Google Chrome if you have access? I would like to find out of this problem is specific to
some browser, or if there is some other thing with your system which causes this.

"Unexpected response code: 426" seems to be the relevant error message.
louis94
Hardened
Posts: 270
Joined: Thu Apr 25, 2013 10:17 pm
Location: Belgium

Re: Browser version does not work in Chrome

Post by louis94 »

Works for me in Chromium 25.0 and Firefox 21, but still not in QtWebkit.
AndreasR
Elite
Posts: 754
Joined: Thu May 02, 2013 10:26 pm

Re: Browser version does not work in Chrome

Post by AndreasR »

louis94 wrote:Works for me in Chromium 25.0 and Firefox 21, but still not in QtWebkit.
Very interesting. Some versions of QtWebkit is the problem then. I'll give Rekonq on Kubuntu a try when I get the chance.
The problem could actually be a bug in QtWebkit. Or perhaps a bug in nginx (HTTP proxy used by Freeciv-web) or the Tornado (python webserver).

Just to be clear, Freeciv-web works correctly for most people using the latest versions of Firefox, Chrome and Safari?
I'm trying to figure out of this issue will have an effect for most users, or if it is only for very specific versions of some browsers.

Andreas
User avatar
Alien Valkyrie
Elite
Posts: 513
Joined: Sun Feb 10, 2013 10:21 pm
Location: Stuttgart, Germany

Re: Browser version does not work in Chrome

Post by Alien Valkyrie »

It works perfect for me with Firefox 21.
~ AVL
Post Reply