Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

Odoo 10 CE - chat is not refreshing on SSL connection

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
messageschatsslrefresh
7 Respostas
15438 Visualizações
Avatar
Hadron for business sp. z o.o.

Hello,

We have problems with 'Discuss' module in Odoo v10CE on SSL connection. When connected vie SSL chat frame is not refreshing automatically. When user is typing a message after sending it the message is not visible in the chat. It shows up only after manual page refresh. 


We have tried different Apache configuration without success. Seems Java code used in this module is not supporting https connections. Any ideas how to solve this?


1
Avatar
Cancelar
Avatar
Hadron for business sp. z o.o.
Autor Melhor resposta

Hi All,

We have found solution for this problem. There is misleading information in official documentation regarding proxy configuration for chat feature. The port should not be '8072' instead it should be port used by Odoo (by default '8069').  Or just remove following lines form your proxy configuration:


# Needed for real time message / chat feature (longpolling)

    ProxyPass /longpolling/poll http://127.0.0.1:8072/longpolling/poll/ timeout=900

    ProxyPass /longpolling/poll/ http://127.0.0.1:8072/longpolling/poll/ timeout=900

    ProxyPassReverse /longpolling/poll/ http://127.0.0.1:8072/longpolling/poll/


Works well for us, tested on two separate projects ;)

1
Avatar
Cancelar
Avatar
Laps Solutions Limited
Melhor resposta

i am using Nginx on 10E. We get the same situation - IM is not working. Browser refresh/reload in order to post the message to the chatbox.  I try the same database in a local vm without proxy server (ngnix) it works. No idea how to solve it. 


1
Avatar
Cancelar
Avatar
Sergey K
Melhor resposta

Hello everyone, who can help me, the same trouble with messages, I can show the files, I have already tried different configurations but nothing helps

Odoo 16, Ubuntu 22.04

0
Avatar
Cancelar
Avatar
mstephenson@werokllc.com
Melhor resposta

The post on 6/29/17, 2:19 AM by Hadron for business sp. z o.o. is what worked for me. After hours of scratching my head trying to figure this out, I found this post. 

My conf file now looks like this:


upstream odoo {

     server 127.0.0.1:8069;

}

upstream odoochat {

     server 127.0.0.1:8069;

}

...

location /longpolling {

     proxy_connect_timeout 600;

     proxy_send_timeout 600;

     proxy_read_timeout 600;

     send_timeout 600;

     proxy_pass http://odoochat;

}

0
Avatar
Cancelar
Avatar
Sinerkia Innovación y Desarrollo S.L.
Melhor resposta

Hadron has the answer!

Tested his solution on five different servers, works perfectly.

Just disable the longpolling proxy pass and everything works.

Thanks

0
Avatar
Cancelar
Avatar
Piotr Cierkosz
Melhor resposta

Same at v9. Used couple templates, changed longpolling settings but it does not work;/ Hadron solution worked for v10

0
Avatar
Cancelar
Hadron for business sp. z o.o.
Autor

Hi Piotr,

Please share more config details, we can check on v9 as well.

Piotr Cierkosz

Config:

limit_memory_hard = 13690208256

limit_memory_soft = 11408506880

limit_request = 8192

limit_time_cpu = 600

limit_time_real = 1200

list_db = True

log_db = False

log_db_level = warning

log_handler = :INFO

log_level = info

logfile = /var/log/odoo/odoo-server.log

logrotate = True

longpolling_port = 8072

max_cron_threads = 2

osv_memory_age_limit = 1.0

osv_memory_count_limit = False

pg_path = None

pidfile = False

proxy_mode = True

reportgz = False

server_wide_modules = web,web_kanban

smtp_password = False

smtp_port = 25

smtp_server = localhost

smtp_ssl = False

smtp_user = False

syslog = False

test_commit = False

test_enable = False

test_file = False

test_report_directory = False

translate_modules = ['all']

unaccent = False

without_demo = False

workers = 17

xmlrpc = True

xmlrpc_interface =

xmlrpc_port = 8069

Nginx:

#odoo server

upstream odoo {

server localhost:8069;

}

upstream odoochat {

server 127.0.0.1:8072;

}

# http -> https

server {

listen 80;

server_name xxxx.com;

rewrite ^(.*) https://$host$1 permanent;

}

server {

listen 443;

server_name xxxx.com;

proxy_read_timeout 720s;

proxy_connect_timeout 720s;

proxy_send_timeout 720s;

# Add Headers for odoo proxy mode

proxy_set_header X-Forwarded-Host $host;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_set_header X-Forwarded-Proto $scheme;

proxy_set_header X-Real-IP $remote_addr;

# Add Headers for odoo proxy mode

proxy_set_header X-Forwarded-Host $host;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_set_header X-Forwarded-Proto $scheme;

proxy_set_header X-Real-IP $remote_addr;

# SSL parameters

ssl on;

ssl_certificate /etc/xxx;

ssl_certificate_key /etc/xxx;

ssl_session_timeout 30m;

ssl_protocols TLSv1 TLSv1.1 TLSv1.2;

ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:$

ssl_prefer_server_ciphers on;

# log

access_log /var/xxxx;

error_log /var/xxxx;

# Redirect requests to odoo backend server

location / {

proxy_redirect off;

proxy_pass http://odoo;

}

location /longpolling {

proxy_pass http://127.0.0.1:8072;

}

# common gzip

gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript;

gzip on;

}

It is quite generic config (followed Odoo docs and some tips from the Odoo Dev Cookbook). Also according the docs there could be an issue with db_maxcon http://odoo-development.readthedocs.io/en/latest/admin/db_maxconn.html as it is surely greater than 100.

BTW: I am also from Poland ;)Dzieki

Avatar
Rachid
Melhor resposta

Same problem in the version 8

0
Avatar
Cancelar
Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
Is there no auto refresh for message flow in groups?
messages usability groups refresh
Avatar
Avatar
Avatar
Avatar
Avatar
9
jun. 15
9826
Polling process can't connect to DB over a NGINX reverse proxy
messages nginx chat proxy reverse
Avatar
Avatar
1
mai. 24
15442
Where to change OdooBot default messaging
messages chat discussion tour odoobot
Avatar
Avatar
1
dez. 24
4638
How to open the chatter messages in a window from a button in the partner form view?
messages chat thread discuss Chatter v18
Avatar
0
jun. 25
1411
How to change color of chat text (Odoo online) Resolvido
chat
Avatar
Avatar
2
jul. 23
5282
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now