Forbidden by X-Frame-Options error in Chrome when running devmode and different host name in URL

6,163 views
Skip to first unread message

Rob

unread,
Apr 4, 2012, 4:56:50 PM4/4/12
to google-we...@googlegroups.com
I've been running GWT and devmode fine for a while with an external Jetty server.  To test virtual hosts on my dev machine I added stuff like this to /etc/hosts:

    127.0.0.1 foodomain-local.com
    127.0.0.1 bardomain-local.com

With a live server a foodomain.com, I can now test the app locally at:


Problem is that when I stopped using localhost:8080, suddenly devmode doesn't work in Chrome. Firefox is okay. (This is Mac OS X.) Urls like this:


Give this error in the browser window: "Plugin failed to connect to Development Mode server at 127.0.0.1:9997 Follow the underlying troubleshooting instructions"  As usual there are no troubleshooting instructions, but that's another story.  In the console, the message: Refused to display document because display forbidden by X-Frame-Options.

So, anyway know what that is and how to make it go away?  I set X-Frame-Options for the html host page and that had no effect.

thanks,
Rob

Thomas Broyer

unread,
Apr 4, 2012, 7:24:56 PM4/4/12
to google-we...@googlegroups.com
The troubleshooting instructions are actually http://code.google.com/p/google-web-toolkit/wiki/TroubleshootingOOPHM

The X-Frame-Options is sent by code.google.com and prevents displaying that page in an iframe.
Would you mind filing a bug so that at least a link to the instructions is added to the error message?

Rob

unread,
Apr 4, 2012, 8:14:04 PM4/4/12
to google-we...@googlegroups.com


On Wednesday, April 4, 2012 7:24:56 PM UTC-4, Thomas Broyer wrote:
The troubleshooting instructions are actually http://code.google.com/p/google-web-toolkit/wiki/TroubleshootingOOPHM

Ah, thanks.  That fixed my problem - had to click the gray icon and adding a rule. 


Would you mind filing a bug so that at least a link to the instructions is added to the error message?

Done:

Assiya EL

unread,
Apr 4, 2012, 5:07:56 PM4/4/12
to google-we...@googlegroups.com
hi,
try to restart the browser or eclipse 


2012/4/4 Rob <rob.ni...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ftTgPdfM7r0J.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--
 
Assiya EL
Master Qualité du Logiciel 



Plz consider environment - Only print this if necessary


Reply all
Reply to author
Forward
0 new messages