Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Food & Hospitality
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Guest House
    • Distributor nápojů
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Trades
    • Údržbář
    • IT hardware a podpora
    • Solar Energy Systems
    • Výrobce obuvi
    • Úklidové služby
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Browse all Industries
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Services for Partners
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

IM LiveChat is not working on Odoo server. The chat button doesn't appear at all.

Odebírat

Get notified when there's activity on this post

This question has been flagged
buglivechatodoo
5 Odpovědi
17149 Zobrazení
Avatar
muhammadusamaimran@gmail.com

The chat button doesn't appear at all on the website. Even it doesn't work on the live demo of Odoo https://demo2.odoo.com. Does anyone know about it?

If this is a issue it should be fixed.

The livechat on localhost works fine.

1
Avatar
Zrušit
Avatar
Ömer ABA
Nejlepší odpověď

Hi, I had same problem and I updated /etc/nginx/sites-enabled/odoo.conf file as below: 

# Odoo server 
upstream odoo {server 127.0.0.1:8069;
}

upstream odoochat {
    server 127.0.0.1:8072;
}

map $http_upgrade $connection_upgrade {
    default upgrade;
    ''      close;
}

server {
    listen 443 ssl;
    ssl_certificate /etc/ssl/certificate.crt; 
    ssl_certificate_key /etc/ssl/private.key;
    proxy_read_timeout 720s;
    proxy_connect_timeout 720s;
    proxy_send_timeout 720s;
    # log
    access_log /var/log/nginx/odoo.access.log;
    error_log /var/log/nginx/odoo.error.log;

    # Redirect requests to odoo backend server
    location / {
        # 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;

        proxy_redirect off;
        proxy_pass http://odoo;
        add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
    }

    location /longpolling {
        proxy_pass http://odoochat;
    }

    location /websocket {
        proxy_pass http://odoochat; 
        proxy_redirect off;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $connection_upgrade;
        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;
    }

    # common gzip
    gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript;
    gzip on;

    client_body_in_file_only clean;
    client_body_buffer_size 32K;
    client_max_body_size 500M;
    sendfile on;
    send_timeout 600s;
    keepalive_timeout 300;
}

server {
    listen 80 default_server;
    server_name _;
    return 301 https://$host$request_uri;
}
proxy_http_version 1.1;
proxy_set_header Host $host;


after save it. You should restart ngingx service :


 
sudo systemctl restart nginx

or

sudo service nginx stop
sudo service nginx start


If you are still experiencing issues, you can check the Nginx error logs for more information:

tail -f /var/log/nginx/error.log 

I solved this problem with the solution and I hope the solution will help you also. 

1
Avatar
Zrušit
Avatar
Maher Khalil
Nejlepší odpověď

I solved this by doing the below

1- set workers in odoo.conf

2-set upstream polling in nginx conf (refere to odoo deploy documentation)

3-install requirments.txt again after doing the above 2 points (to install gevent)

1
Avatar
Zrušit
Alvin Arulselvan

Hi Maher, were you using Windows or Ubuntu? gevent does not seem to install for Ubuntu

Maher Khalil

Hello

I am using ubuntu and my problem solved already

let me know if you need any help

Regards;
Eng. Maher Khalil
On 7/15/21 11:15 AM, Alvin Arulselvan wrote:

Hi Maher, were you using Windows or Ubuntu? gevent does not seem to install for Ubuntu

Gesendet durch Odoo S.A. in benutzung Odoo.

Alvin Arulselvan

Hi Maher,

1) I set workers to 4 in Odoo

2) I setup upstream polling in nginx

3) pip install gevent gives me a Requirement already satisfied message

Not sure why I can't see the chat button though.

Avatar
Klaas Bakker
Nejlepší odpověď

The Comment from Jose Gpe Osuna from 21 March 2023 provided the answer for me for Odoo 16:
location /websocket {

0
Avatar
Zrušit
Avatar
Suraj Wellala
Nejlepší odpověď

This can a be problem with how you have configured Odoo. I had the same issue after configuring SSL and fixed it by doing below changes;

Once SSL is enabled using nginx, Odoo must be operational in multiprocessing mode in order to enable Live chat feature as Live Chat request redirected to longpolling port in nginx site configuration file.

example:

    # Handle longpoll requests
    location /longpolling {
        proxy_pass http://odoochat;
    }

when above is configured I also had to configure /etc/odoo.conf file as something like below.

[options]
; This is the password that allows database operations:
;admin_passwd = my_admin_passwd
db_host = False
db_port = False
db_user = odoo13
db_password = False
addons_path = /opt/odoo13/odoo/addons,/opt/odoo13/odoo-custom-addons
proxy_mode = True
xmlrpc_interface = 127.0.0.1
netrpc_interface = 127.0.0.1
max_cron_threads = 1
workers = 8

note "workers", it must be set depending on your hardware configuration.

when SSL is enabled try issuing below command in terminal

sudo netstat -tulpn | grep 8072

if configuration is ok, you should see something like below;

tcp        0      0 127.0.0.1:8072          0.0.0.0:*               LISTEN      8223/python3

more info can be found at https://www.odoo.com/documentation/13.0/setup/deploy.html



0
Avatar
Zrušit
Jose Gpe Osuna

Odoo 16 has changed longpolling to websocket
# Handle longpoll requests
location /websocket {
proxy_pass http://odoochat;
}

Now it's working on my Odoo 16 instance

Avatar
TiTANS - WerkWolk BE 0874 069 275
Nejlepší odpověď

same problem mate...good luck on getting any help...

0
Avatar
Zrušit
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
LiveChat error, fails to load, Odoo 17 on-premise
bug livechat
Avatar
0
dub 24
2328
Error while installing new module in Odoo8
installation bug odoo
Avatar
0
čvc 15
4172
Odoo Mail Project and Stock
stock bug odoo E-mail
Avatar
0
říj 24
1391
Duplication error thrown even though no duplicate exists.
sql bug duplication odoo
Avatar
Avatar
1
kvě 23
4086
Colocar chatbox en pestaña
helpdesk box livechat odoo
Avatar
Avatar
1
led 23
2666
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

Website made with

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