← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 732454] [NEW] Running web client on firefox browser failed

 

Public bug reported:

My openerp runs successfuly on Chrome, IE, Opera, but Firefox.

In firefox, after I put correct user/pass to authenticate, the firefox
screen has a following message:

"
403 Forbidden

Request Forbidden -- You are not allowed to access this resource.

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 603, in respond
    self.hooks.run('before_handler')
  File "/usr/local/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 98, in run
    hook()
  File "/usr/local/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 58, in __call__
    return self.callback(**self.kwargs)
  File "/usr/local/lib/python2.6/site-packages/openerp_web-6.0.1-py2.6.egg/openobject/tools/_tools.py", line 38, in csrf_check
    raise cherrypy.HTTPError(403, "Request Forbidden -- You are not allowed to access this resource.")
HTTPError: (403, 'Request Forbidden -- You are not allowed to access this resource.')
-------------------------------------------
Powered by CherryPy 3.1.2
"
When I have changed an opnerp-web config line as follows:

from
tools.csrf.on = True
to
tools.csrf.on = False

so, it's OK.

Is this a bug or "such is this" ?

My system installed:
+ Linux 2.6 Fedora
+ OpenERP web server 6.0.1 from stable release

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Description changed:

- My openerp run successfuly on Chrome, IE, Opera, but Firefox.
+ My openerp runs successfuly on Chrome, IE, Opera, but Firefox.
  
  In firefox, after I put correct user/pass to authenticate, the firefox
  screen has a following message:
  
  "
  403 Forbidden
  
  Request Forbidden -- You are not allowed to access this resource.
  
  Traceback (most recent call last):
-   File "/usr/local/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 603, in respond
-     self.hooks.run('before_handler')
-   File "/usr/local/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 98, in run
-     hook()
-   File "/usr/local/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 58, in __call__
-     return self.callback(**self.kwargs)
-   File "/usr/local/lib/python2.6/site-packages/openerp_web-6.0.1-py2.6.egg/openobject/tools/_tools.py", line 38, in csrf_check
-     raise cherrypy.HTTPError(403, "Request Forbidden -- You are not allowed to access this resource.")
+   File "/usr/local/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 603, in respond
+     self.hooks.run('before_handler')
+   File "/usr/local/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 98, in run
+     hook()
+   File "/usr/local/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 58, in __call__
+     return self.callback(**self.kwargs)
+   File "/usr/local/lib/python2.6/site-packages/openerp_web-6.0.1-py2.6.egg/openobject/tools/_tools.py", line 38, in csrf_check
+     raise cherrypy.HTTPError(403, "Request Forbidden -- You are not allowed to access this resource.")
  HTTPError: (403, 'Request Forbidden -- You are not allowed to access this resource.')
  -------------------------------------------
- Powered by CherryPy 3.1.2 
+ Powered by CherryPy 3.1.2
  "
  When I have changed an opnerp-web config line as follows:
  
  from
  tools.csrf.on = True
  to
  tools.csrf.on = False
  
  so, it's OK.
  
  Is this a bug or "such is this" ?
  
  My system installed:
  + Linux 2.6 Fedora
  + OpenERP web server 6.0.1 from stable release

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/732454

Title:
  Running web client on firefox browser failed

Status in OpenERP Modules (addons):
  New

Bug description:
  My openerp runs successfuly on Chrome, IE, Opera, but Firefox.

  In firefox, after I put correct user/pass to authenticate, the firefox
  screen has a following message:

  "
  403 Forbidden

  Request Forbidden -- You are not allowed to access this resource.

  Traceback (most recent call last):
    File "/usr/local/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 603, in respond
      self.hooks.run('before_handler')
    File "/usr/local/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 98, in run
      hook()
    File "/usr/local/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 58, in __call__
      return self.callback(**self.kwargs)
    File "/usr/local/lib/python2.6/site-packages/openerp_web-6.0.1-py2.6.egg/openobject/tools/_tools.py", line 38, in csrf_check
      raise cherrypy.HTTPError(403, "Request Forbidden -- You are not allowed to access this resource.")
  HTTPError: (403, 'Request Forbidden -- You are not allowed to access this resource.')
  -------------------------------------------
  Powered by CherryPy 3.1.2
  "
  When I have changed an opnerp-web config line as follows:

  from
  tools.csrf.on = True
  to
  tools.csrf.on = False

  so, it's OK.

  Is this a bug or "such is this" ?

  My system installed:
  + Linux 2.6 Fedora
  + OpenERP web server 6.0.1 from stable release



Follow ups

References