Wednesday, January 22, 2014

Re: Super Dev Mode in 2.6rc4


I then compared my system with the other systems that WERE working with 2.6.0rc4 and the only difference was their using localhost (or having no bindAddress) vs. my using my internal IP.  When I switched everything in my debug environment from using my internal IP (10.0.1.202) to using localhost, super dev mode works fine.

Question:  Did anything change with the code server in 2.6.0rc4 that may have broken source delivery across other than localhost?

They have enabled the devModeRedirectEnabled configuration property by default ( = you don't need to specify it anymore in your module) but restrict SuperDevMode to 127.0.0.1 and localhost for security reasons.You can see this in the following commit diff:

https://gwt.googlesource.com/gwt/+/5c141831d4ec6f1fd109fb60332aa3baa6eea03b%5E%21/#F1

Looks like you need to whitelist your IP address by using the devModeUrlWhitelistRegexp configuration property.

-- 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/groups/opt_out.

No comments:

Post a Comment