7

I'm trying to load my app in development mode using Chrome v. 20.0 on my local ip 127.0.0.1. The app fails to load, and the following is displayed:

  1. message: "GWT Code Server Disconnected Most likely, you closed GWT Development Mode. Or, you might have lost network connectivity. To fix this, try restarting GWT Development Mode and REFRESH this page."

  2. on top of the previous message (overlaid): "Plugin failed to connect to Development Mode server at 127.0.0.1:9997 Follow the underlying troubleshooting instructions"

This started to happen about 6-9 months ago and after 1 or 2 page refresh, the module loaded correctly. Now, i cannot load my app in dev-mode at all using Chrome. (in firefox everything is ok). I'm using GWT 2.4

UPDATE:

Those errors are not accompanied by any code stack trace output. Usually, if I changed the address form 127.0.0.1 to localhost, the module loaded, but this doesn't work any more...

Andrei F
  • 4,205
  • 9
  • 35
  • 66

6 Answers6

3

Had the same problem. Deleting / reinstalling the plugin did the trick for me.

geert3
  • 7,086
  • 1
  • 33
  • 49
2

Check Automatically select an unused port of GWT from Run configuration. My similar problem solved by this

aki miyazaki
  • 493
  • 4
  • 11
  • Did this, got exactly the same errors. I accessed my app from both browsers (Chrome, Firefox) on the new port given automatically - on firefox worked, on chrome failed :( – Andrei F Jul 21 '12 at 12:03
2

I solved this in chrome by:

  • go to chrome://extensions/
  • locate GWT Developer Plugin
  • uncheck the Enabled box
  • check the Enabled box
Livingston
  • 235
  • 2
  • 8
1

Have a look at http://code.google.com/p/google-web-toolkit/wiki/TroubleshootingOOPHM

This page is supposed to be displayed in an iframe below the message (hence the message "underlying instructions", but Google has changed some server code on code.google.com and they now prohibit display within iframes, which is why it actually doesn't display.

FYI, the issue has been reported on GWT's issue tracker http://code.google.com/p/google-web-toolkit/issues/detail?id=7301

Thomas Broyer
  • 64,353
  • 7
  • 91
  • 164
  • Regarding troubleshooting: the GWT plugin/extension icon is red, not grey; i'm trying to run my app on local machine; i am using GPE and no errors are displayed in the Development mode panel in Eclipse – Andrei F Jul 21 '12 at 12:10
0

Your problem might be caused by improper gwt plugin setup. Go to your gwt developer plugin options (red toolbox right upper conner) in chrome and add your web and code server addresses. That worked for me.

Nikolay Frick
  • 2,145
  • 22
  • 17
0

Allowing "localhost" as webserver and code server made it work for me (although 127.0.0.1 was specified for both in the browser)

Brimstedt
  • 3,020
  • 22
  • 32