Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

CRONs aren't executed after a certain time

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
cronpostgresqlodoo16features
3 Respuestas
4615 Vistas
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
Descartar
mariem.jallouli@focus-corporation.com
Autor

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

Avatar
Master
Mejor respuesta

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
Descartar
Avatar
mariem.jallouli@focus-corporation.com
Autor Mejor respuesta

Hello,

Thank you for your answer.

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

0
Avatar
Descartar
Avatar
Savya Sachin
Mejor respuesta

Hi,

check this similar post for Odoo configuration for multiple cron jobs

Thanks​

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
Postgres Issue
postgresql odoo16features
Avatar
Avatar
1
jun 23
2853
Does Odoo works with Postgres 15?
postgresql odoo16features
Avatar
Avatar
1
may 23
7034
Server Scheduler cron (Automated actions) not working
cron Scheduler odoo16features
Avatar
Avatar
Avatar
Avatar
3
nov 25
5861
could not obtain lock on row in relation "ir_cron" Resuelto
cron postgresql lock
Avatar
Avatar
Avatar
Avatar
Avatar
7
mar 25
52948
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 Resuelto
python postgresql odoo16features
Avatar
Avatar
1
mar 23
3150
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

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