Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Internal server error (KeyError: 'HTTP_HOST) with WAN access

By
Marcin Dlugosz
on 7/5/14, 11:28 AM 1,126 views

Hello

Odoo 7 works like a charm on all LAN computers but there is problem with accessing from WAN. Any browser after connection show blank page named with title OpenERP so it's not port forwarding or firewall issue.
Also I checked connection and I recived following error:

HTTP/1.0 500 INTERNAL SERVER ERROR

Content-Type: text/html

Content-Length: 1001

Server: Werkzeug/0.8.2 Python/2.6.5

Date: Sat, 05 Jul 2014 15:04:27 GMT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<title>500 Internal Server Error</title>

<h1>Internal Server Error</h1>

{"message": "OpenERP WebClient Error", "code": 300, "data": {"debug": "Client Traceback (most recent call last):\n  File \"C:\\Program Files\\OpenERP 7.0-20140622-231040\\Server\\server\\openerp\\addons\\web\\http.py\", line 285, in dispatch\n  File \"C:\\Program Files\\OpenERP 7.0-20140622-231040\\Server\\server\\openerp\\addons\\web\\controllers\\main.py\", line 570, in index\n  File \"C:\\Program Files\\OpenERP 7.0-20140622-231040\\Server\\server\\openerp\\addons\\web\\controllers\\main.py\", line 98, in db_monodb_redirect\n  File \"C:\\Program Files\\OpenERP 7.0-20140622-231040\\Server\\server\\openerp\\addons\\web\\controllers\\main.py\", line 109, in db_redirect\n  File \"C:\\Program Files\\OpenERP 7.0-20140622-231040\\Server\\server\\openerp\\addons\\web\\controllers\\main.py\", line 91, in db_list\nKeyError: 'HTTP_HOST'\n", "type": "client_exception"}}

Any clues what to do with it?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/5/14, 11:28 AM
Seen: 1126 times
Last updated: 3/16/15, 8:10 AM