Thursday, August 20, 2015

Re: Chrome and SEVERE: CLIENT EXCEPTION: com.google.gwt.user.client.rpc.StatusCodeException: 0

After disabling SPDY on our jetty server, the problem is still there. :(

On Thursday, August 20, 2015 at 12:06:05 PM UTC-7, Mandy Shen wrote:
Thanks for the help. Really appreciate your time.

In the console, I saw "net::ERR_INSECURE_RESPONSE" was reported. And there is also a warning about Mixed Content.
"Mixed Content: The page at 'https://<url>' was loaded over HTTPS, but requested an insecure plugin data 'http://<url>/soap'. This content should also be served over HTTPS."

With Chrome version 44 (which was released towards the end of July), the requests start failing from time to time, but not all the time.

I don't know about SPDY before. Looks like SPDY is enabled on our server (Jetty 8.1).

chrome://net-internals/#spdy does not show up
chrome://net-internals/#http2 shows:
o HTTP/2 Enabled: true
o Use Alternative Service: true
o Next Protocols: http/1.1,spdy/3.1,h2-14,h2

I'll try to disable SPDY and see if it helps. Thanks!

On Wednesday, August 19, 2015 at 12:29:14 AM UTC-7, Jens wrote:

Thanks for the reply. This error happens intermittently (and very often) while there is definitely no problem with network connections. It starts after upgrading to Chrome version 44. Clearing browser cache can stop the problem from happening for a while (about an hour), then it happens again very often.

Without changing anything in the app code and without deploying the app on the server? Then its probably a Chrome issue. GWT doesn't do any magic when making a server request. 

While its not really related to cache cleaning but do you know if your server supports SPDY (the Google protocol that was the foundation of HTTP/2) ? We had some issues with Statuscode 0 exceptions with Chrome + SPDY server in the past and had to disable SPDY on the server. Maybe its a SPDY / HTTP2 issue between Chrome and your server. In Chrome you can type "chrome://net-internals" into your address bar for more connection information.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment