Vauxoo / runbot-vms

Our Runbot Instance configuration files for deployments... (No Source here review the readme)
Apache License 2.0
3 stars 8 forks source link

[10.0] Websitelivechat: Live chat not displayed #15

Closed hugho-ad closed 7 years ago

hugho-ad commented 7 years ago

Live chat is not displayed because the im_status is not updated https://github.com/Vauxoo/odoo/blob/10.0/addons/bus/models/res_users.py#L12-L29 image

Talking wit @moylop260 , this bug is related with the requirements installed in docker containers

hugho-ad commented 7 years ago

FYI @moylop260, the issue persists

Regards!

moylop260 commented 7 years ago

I think It is a missing configuration for nginx:

Because using the host:port directly works well, but using subomain.host is not working.

@ruiztulio this issue is reproduced from testing instances too. Could you (something your team) to fix it for production, testing and runbot, please?

@hugho-ad Could you upload image where testing is working using port but failing using subdomain?

ruiztulio commented 7 years ago

@moylop260 we install this configuration by default in the servers (look here) but the runbot is different because we have a global rule to redirect all traffic to the runbot nginx:

a

Then that nginx is supposed to redirect the LP traffic to the appropiate port, so as far as I can see the configuration seems to be done, but we are still missing something.

@hugho-ad can you tell me which test instance is not working properly?

hugho-ad commented 7 years ago

@ruiztulio for example in https://v10.abastotal.com and http://test.imeqmo.com/ and runbot build like http://39472-10-0-cb4dff.runbot.vauxoo.com/shop or http://39422-10-0-0419ee.runbot.vauxoo.com/shop

hugho-ad commented 7 years ago

@moylop260 you rigth, when I acces to the build by the url host:port, live chat is displayed image

ruiztulio commented 7 years ago

@hugho-ad test.imeqmo.com had 0 workers:

a

Changed to 3: b

Restart the instance and the chat is working:

c

d

Abastotal 10.0: a

I didn't change it because I have to restart the instance, but it should work after that.

Most of the issue we had with the chat are because of this. I have to check the runbot ones

hugho-ad commented 7 years ago

Very Thanks @ruiztulio

Regards!

moylop260 commented 7 years ago

I re-open this issue because is not fixed for runbot yet. I saw that odoo redirect the longpolling-port here and we need use this feature from MQT

@JesusZapata Could you help us to fix it?

moylop260 commented 7 years ago

Or wait... we can't use the extra port because we are using it for ssh connection feature. It can't fix it for runbot