Odoo Help

0
0
Francesco
On 2/1/16, 2:56 AM

FINALLY, THIS IS MY SOLUTION:

==========================================================

Keeping in mind that I have my instance at https://www.mydomain.com/web/ , finally I have found my configuration:

<VirtualHost *:443>

.....

        ProxyPass / http://localhost:8072/

        ProxyPassReverse / http://localhost:8072/

        ProxyPass / http://localhost:8069/web/

        ProxyPassReverse / http://localhost:8069/web/

</VirtualHost>

I can load all the static images, and load all the modules on 8072.

To me it is quite confusing, as there is too much burden in searching the configuration. However, for the moment, everything works fine.

Thank you for any help received.






BEFORE I SAID THE FOLLOWING, BUT WAS NOT SOLVING MY PROBLEM:

==========================================================

Yes, I have set website.base.url=https://www.mydomain.com/web , but with no result.

I have put proxy-mode = True in /etc/odoo/odoo-server.conf.


I did already yesterday the change:

ProxyPass //im_chat http://localhost:8072/im_chat      (this was added after some suggestion)

    ProxyPassReverse /im_chat http://localhost:8072/im_chat      (this was added after some suggestion)

    ProxyPass /longpooling http://localhost:8072/longpooling      (this was added after some suggestion)

    ProxyPassReverse /longpooling http://localhost:8072/longpooling      (this was added after some suggestion)

and the result is:

    https://www.mydomain.com/calendar/notify Failed to load resource: the server responded with a status of 404 (Not Found)

    https://www.mydomain.com/im_chat/init Failed to load resource: the server responded with a status of 503 (Service Unavailable)

    https://www.mydomain.com/im_odoo_support/static/img/odoo_o_small.png Failed to load resource: the server responded with a status of 404 (Not Found)

    https://www.mydomain.com/im_chat/static/src/img/green.png Failed to load resource: the server responded with a status of 503 (Service Unavailable)


and

XmlHttpRequestError Service Unavailable


<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Unavailable</title>
</head><body>
<h1>Service Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at www.mydomain.com Port 443</address>
</body></html>
0
Avatar

Ermin Trevisan

--Ermin Trevisan--
8633
| 6 5 7
Walchwil, Switzerland
--Ermin Trevisan--


Ermin Trevisan
On 2/1/16, 2:12 AM

Did you set the proper website.base.url (or similar) in the "Technical Setting/System Parameters?

@Edit: It looks to me that setting up Odoo as a subfolder under /web does not work.

0
Avatar
--Qutechs, Ahmed M.Elmubarak--


Qutechs, Ahmed M.Elmubarak
On 2/1/16, 3:50 AM

Also, If you didn't set the --proxy-mode in your Odoo .conf file. Set this option to true


Regards

0
Avatar

Axel Mendoza

--Axel Mendoza--
13263
| 7 8 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full-time employee trying to understand what to do and how

Reach me at aekroft@gmail.com

Axel Mendoza
On 2/1/16, 1:14 AM

Hi again. I'm not using apache for reverse proxy, but you have some errors. The port 8072 will be used for im_chat and longpooling urls so you need to proxy those urls to the port 8072. Like:

    ProxyPass /web http://localhost:8069/web      (this was there before)

    ProxyPassReverse /web http://localhost:8069/web      (this was there before)

    ProxyPass //im_chat http://localhost:8072/im_chat      (this was added after some suggestion)

    ProxyPassReverse /im_chat http://localhost:8072/im_chat      (this was added after some suggestion)

    ProxyPass /longpooling http://localhost:8072/longpooling      (this was added after some suggestion)

    ProxyPassReverse /longpooling http://localhost:8072/longpooling      (this was added after some suggestion)


If this answers help you please don't forget to upvote it

About This Community

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

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 1/31/16, 3:35 PM
Seen: 3384 times
Last updated: 2/1/16, 3:50 AM