This question has been flagged
1 Reply
6927 Views

Hello

I ve installed openerp on a server debian, i ve edited an apache2 vhost on the port 8080 with ProxyPass and ProxyPassReverse like this:

<VirtualHost *:8080>
    ErrorLog /var/log/openerp/openerp-error.log
    CustomLog /var/log/openerp/openerp-access.log combined
    ProxyRequests Off
    ProxyPreserveHost On
    ProxyPass / http://127.0.1.1:8069/
    ProxyPassReverse / http://127.0.1.1:8069/
    SetEnv proxy-nokeepalive 1
    <Proxy *=>
        Order deny,allow
        Allow from all
    </Proxy>
</VirtualHost>

 

and i add Listen 8080 in ports.conf apache2 file.

So then i do :

curl http://my-server-ip:8080

<!DOCTYPE html>
<html style="height: 100%">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>OpenERP</title>
        <link rel="shortcut icon" href="/web/static/src/img/favicon.ico" type="image/x-icon"/>
        <link rel="stylesheet" href="/web/static/src/css/full.css" />
        <link rel="stylesheet" href="/web/webclient/css">
        <script type="text/javascript" src="/web/webclient/js"></script>
        <script type="text/javascript">
            $(function() {
                var s = new openerp.init(["web", "web_kanban"]);
                var wc = new s.web.WebClient();wc.appendTo($(document.body));
            });
        </script>
    </head>
    <body>
        <!--[if lte IE 8]>
        <script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
        <script>CFInstall.check({mode: "overlay"});</script>
        <![endif]-->
    </body>
</html>

 

All feel right but then i do this from my local machine:

nmap -p my-server-ip:8080

Host is up (0.081s latency).
PORT     STATE    SERVICE
8080/tcp filtered http-proxy

Nmap done: 1 IP address (1 host up) scanned in 0.81 seconds

I ve tried lots of things but i dont know really what is the good way to resolve the problem.

 

Thanks

Avatar
Discard

have you checked your /etc/openerp_server.conf file? It may be worth adding the following line if it is not already in there. # Specify the TCP IP address for the XML-RPC protocol. The empty string binds to all interfaces. xmlrpc_interface = 127.0.1.1 as I can see you are not binding to localhost in the above snippet (ie. 127.0.0.1). You may want to troubleshoot by simply adding the following line to start with: xmlrpc_interface = as this will bind to all interfaces.

hello Luke

thanks a lots for your reply

i use a personal server conf file like this for the moment:
openerp-server -c .openerp_serverrc

and in the .openerp_serverrc there is this:
xmlrpc = True
xmlrpc_interface =
xmlrpc_port = 8069
xmlrpcs = True
xmlrpcs_interface =
xmlrpcs_port = 8071

and this the server logs:
2014-07-02 08:03:57,981 12948 INFO ? openerp: OpenERP version 7.0-20140630-231039
2014-07-02 08:03:57,981 12948 INFO ? openerp: addons paths: /usr/local/lib/python2.7/dist-packages/openerp-7.0_20140630_231039-py2.7.egg/openerp/addons
2014-07-02 08:03:57,981 12948 INFO ? openerp: database hostname: localhost
2014-07-02 08:03:57,981 12948 INFO ? openerp: database port: 5432
2014-07-02 08:03:57,982 12948 INFO ? openerp: database user: openerp
2014-07-02 08:03:58,276 12948 INFO ? openerp.addons.google_docs.google_docs: GData lib version `%s GData-Python/2.0.17` detected
2014-07-02 08:03:58,514 12948 INFO ? openerp.service.netrpc_server: starting NET-RPC service on 127.0.0.1:8070
2014-07-02 08:03:58,517 12948 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069
2014-07-02 08:03:58,518 12948 INFO ? openerp: OpenERP server is running, waiting for connections...



2014-07-02 9:41 GMT+02:00 Luke <luke-weairsoft-com@openerp.my.openerp.com>:

have you checked your /etc/openerp_server.conf file? It may be worth adding the following line if it is not already in there. # Specify the TCP IP address for the XML-RPC protocol. The empty string binds to all interfaces. xmlrpc_interface = 127.0.1.1 as I can see you are not binding to localhost in the above snippet (ie. 127.0.0.1). You may want to troubleshoot by simply adding the following line to start with: xmlrpc_interface = as this will bind to all interfaces.

--
Luke Sent by OpenERP S.A. using OpenERP. Access your messages and documents in Odoo



--
LARRIEU Olivier
Author Best Answer

any idea ? 

 

Avatar
Discard
Author

hello Luke thanks a lots for your reply i use a personal server conf file like this for the moment: openerp-server -c .openerp_serverrc and in the .openerp_serverrc there is this: xmlrpc = True xmlrpc_interface = xmlrpc_port = 8069 xmlrpcs = True xmlrpcs_interface = xmlrpcs_port = 8071 and this the server logs: 2014-07-02 08:03:57,981 12948 INFO ? openerp: OpenERP version 7.0-20140630-231039 2014-07-02 08:03:57,981 12948 INFO ? openerp: addons paths: /usr/local/lib/python2.7/dist-packages/openerp-7.0_20140630_231039-py2.7.egg/openerp/addons 2014-07-02 08:03:57,981 12948 INFO ? openerp: database hostname: localhost 2014-07-02 08:03:57,981 12948 INFO ? openerp: database port: 5432 2014-07-02 08:03:57,982 12948 INFO ? openerp: database user: openerp 2014-07-02 08:03:58,276 12948 INFO ? openerp.addons.google_docs.google_docs: GData lib version `%s GData-Python/2.0.17` detected 2014-07-02 08:03:58,514 12948 INFO ? openerp.service.netrpc_server: starting NET-RPC service on 127.0.0.1:8070 2014-07-02 08:03:58,517 12948 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069 2014-07-02 08:03:58,518 12948 INFO ? openerp: OpenERP server is running, waiting for connections...