sureshvv / plonegomobile

Automatically exported from code.google.com/p/plonegomobile
0 stars 0 forks source link

Logout fails when browsing Plone on `localhost` #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When browsing Plone on a local port, logout fails: 
http://localhost:39112/manage_zmi_logout

"""
Error Type: RuntimeError
Error Value: You need to use subdomain to access the site. E.g. web.localhost 
instead of localhost
"""

Traceback:

2012-03-09T11:02:38 ERROR Zope.SiteErrorLog 1331287358.880.781055632014 
http://localhost:39109/manage_zmi_logout
Traceback (innermost last):
  Module ZPublisher.Publish, line 127, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 47, in call_object
  Module Products.PluggableAuthService, line 90, in manage_zmi_logout
  Module Products.PluggableAuthService.PluggableAuthService, line 1134, in resetCredentials
  Module gomobile.mobile.monkeypatch, line 219, in resetCredentials
  Module gomobile.mobile.monkeypatch, line 197, in getCookieDomain
RuntimeError: You need to use subdomain to access the site. E.g. web.localhost 
instead of localhost

Original issue reported on code.google.com by jean.jor...@gmail.com on 9 Mar 2012 at 10:08