Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

CRONs aren't executed after a certain time

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
cronpostgresqlodoo16features
3 Replies
4521 Tampilan
Avatar
mariem.jallouli@focus-corporation.com

We have recently migrated to Odoo 16 and we are encounter an issue with the CRONs.

They are not executed automatically and after I restart the web machine, they go back to working normally and stop after some time.

After some digging in the code, we have found that the " ir_cron._process_jobs" stops working and returns this error: SSL SYSCALL error: Connection timed out

2024-03-22 11:06:32,934 1 WARNING ? odoo.service.server: ____________ ir_cron._process_jobs
odoo-stack      | Exception in thread odoo.service.cron.cron0:
odoo-stack      | Traceback (most recent call last):
odoo-stack      |   File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
odoo-stack      |     self.run()
odoo-stack      |   File "/usr/lib/python3.9/threading.py", line 892, in run
odoo-stack      |     self._target(*self._args, **self._kwargs)
odoo-stack      |   File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 499, in target
odoo-stack      |     self.cron_thread(i)
odoo-stack      |   File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 469, in cron_thread
odoo-stack      |     pg_conn.poll()
odoo-stack      | psycopg2.OperationalError: could not receive data from server: Connection timed out
odoo-stack      | SSL SYSCALL error: Connection timed out
odoo-stack      |
odoo-stack      | Exception in thread odoo.service.cron.cron1:
odoo-stack      | Traceback (most recent call last):
odoo-stack      |   File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
odoo-stack      |     self.run()
odoo-stack      |   File "/usr/lib/python3.9/threading.py", line 892, in run
odoo-stack      |     self._target(*self._args, **self._kwargs)
odoo-stack      |   File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 499, in target
odoo-stack      |     self.cron_thread(i)
odoo-stack      |   File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 469, in cron_thread
odoo-stack      |     pg_conn.poll()
odoo-stack      | psycopg2.OperationalError: could not receive data from server: Connection timed out
odoo-stack      | SSL SYSCALL error: Connection timed out
odoo-stack      |
odoo-stack      | Exception in thread odoo.service.cron.cron2:
odoo-stack      | Traceback (most recent call last):
odoo-stack      |   File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
odoo-stack      |     self.run()
odoo-stack      |   File "/usr/lib/python3.9/threading.py", line 892, in run
odoo-stack      |     self._target(*self._args, **self._kwargs)
odoo-stack      |   File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 499, in target
odoo-stack      |     self.cron_thread(i)
odoo-stack      |   File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 469, in cron_thread
odoo-stack      |     pg_conn.poll()
odoo-stack      | psycopg2.OperationalError: could not receive data from server: Connection timed out
odoo-stack      | SSL SYSCALL error: Connection timed out

The web and database server are separate and we have one database.

The application is used by approximately 450 users and you can find below some of the conf file info

limit_memory_hard = 26843545600000
limit_memory_soft = 21474836480000
limit_request = 8327680000
limit_time_cpu = 480
limit_time_real = 1000000
limit_time_real_cron = -1
list_db = True
log_db = False
log_db_level = warning
log_handler = :INFO
log_level = warn
logfile =
longpolling_port = 8072
max_cron_threads = 2
osv_memory_age_limit = False
osv_memory_count_limit = False
pg_path =
pidfile =
proxy_mode = False
reportgz = False
screencasts =
screenshots = /tmp/odoo_tests
server_wide_modules = base,web
smtp_password = False
smtp_port = 25
smtp_server = localhost
smtp_ssl = False
smtp_user = False
syslog = False
test_enable = False
test_file =
test_tags = None
transient_age_limit = 1.0
translate_modules = ['all']
unaccent = False
upgrade_path =
without_demo = True
workers = 0

This issue is blocking our workflow. Your input is really appreciated.

Thank you in advance

0
Avatar
Buang
mariem.jallouli@focus-corporation.com
Penulis

Hello Master,
Thank you for your input. I have tried what you suggested but unfortunately it didn't work.

Avatar
Master
Jawaban Terbai

Hi,

You need to grant privileges to the new Postgres user in the file /etc/postgresql/16/main/pg_hba.conf. Please add this line:
local   all             YOUR_USER                           md5

Please double-check your Postgres version in the specified path.

0
Avatar
Buang
Avatar
mariem.jallouli@focus-corporation.com
Penulis Jawaban Terbai

Hello,

Thank you for your answer.

I have already tried this solution but it didn't work.

0
Avatar
Buang
Avatar
Savya Sachin
Jawaban Terbai

Hi,

check this similar post for Odoo configuration for multiple cron jobs

Thanks​

0
Avatar
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
Postgres Issue
postgresql odoo16features
Avatar
Avatar
1
Jun 23
2772
Does Odoo works with Postgres 15?
postgresql odoo16features
Avatar
Avatar
1
Mei 23
6932
could not obtain lock on row in relation "ir_cron" Diselesaikan
cron postgresql lock
Avatar
Avatar
Avatar
Avatar
Avatar
7
Mar 25
52815
Server Scheduler cron (Automated actions) not working
cron Scheduler odoo16features
Avatar
Avatar
Avatar
Avatar
3
Sep 23
5665
i want write a script that when i select table name the related column name of the table is show in the drop down in odoo Diselesaikan
python postgresql odoo16features
Avatar
Avatar
1
Mar 23
3105
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

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