Skip to Content

Welcome!

Access to User Support Forum

Thank you for your interest in our support forum. Please note that posting in our user support forum is exclusively available to registered users who have activated our products.

To gain posting privileges:

  • Download and install one of our product
  • Complete the product registration process
  • Use the account credentials created during activation to access the forum.

Need help? If you're experiencing any issues with product activation or forum access, please contact us at team@oduist.com.

Sign up

This question has been flagged
2 Replies
67 Views
Wilfrido

Error de validación

HTTPSConnectionPool(host='172.32.0.4', port=49000): Se excedió el máximo de reintentos con la URL: /app/asterisk_plus/agent (causado por ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x747a4a13be60>, 'Se agotó el tiempo de espera de la conexión a 172.32.0.4 (tiempo de espera de conexión=6)'))

Reviso el registro del agente y arroja el siguiente error; por favor si pueden ayudarme, gracias.

agente-1 | 2025-08-04 12:07:50,191 - __main__:232 - INFO - Reintentar en 14 segundos...

agente-1 | 2025-08-04 12:08:04,205 - __main__:612 - INFO - Conectándose a Odoo en https://search.solinemp.com

agente-1 | 2025-08-04 12:08:40,648 - __main__:620 - INFO - Conectado a Odoo.

agente-1 | 2025-08-04 12:08:42,178 - __main__:672 - INFO - Controladores de eventos descargados.

agente-1 | 2025-08-04 12:08:42,179 - __main__:312 - INFO - Conectando a AMI en asterisk_plus_agent@http://172.32.0.4:5038

agente-1 | 2025-08-04 12:08:42,180 - __main__:543 - INFO - Iniciando el servidor FastAGI en 0.0.0.0:44574

agente-1 | 2025-08-04 12:08:42,180 - __main__:547 - INFO - Registrador ruta FAGI: route_did

agente-1 | 2025-08-04 12:08:42,180 - __main__:166 - INFO - Reglas de seguridad no habilitadas.

agente-1 | 2025-08-04 12:08:42,188 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-04 12:08:44,191 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-04 12:08:46,194 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-04 12:08:48,197 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-04 12:08:50,200 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

Avatar
Discard
Wilfrido
Author Best Answer

Thanks Max, I applied all observations but now I get this error, can you help me by telling me how to fix it?

[+] Corriendo 3/3

✔ Red asterisk-agent_default Creado

✔ Volumen "asterisk-agent_srv" creado

✔ Contenedor asterisk-agent-agent-1 Creado

Adjuntando al agente-1

agente-1 | 2025-08-05 10:10:07,919 - root:1049 - INFO - Iniciando la aplicación.

agente-1 | 2025-08-05 10:10:07,920 - __main__:128 - INFO - Conectando a https://scobranza.opentechms.com

agente-1 | 2025-08-05 10:10:10,381 - __main__:620 - INFO - Conectado a Odoo.

agente-1 | 2025-08-05 10:10:12,139 - __main__:672 - INFO - Controladores de eventos descargados.

agente-1 | 2025-08-05 10:10:12,140 - __main__:312 - INFO - Conectando a AMI en asterisk_plus_agent@91.99.112.192:5038

agente-1 | 2025-08-05 10:10:12,140 - __main__:543 - INFO - Iniciando el servidor FastAGI en 0.0.0.0:44574

agente-1 | 2025-08-05 10:10:12,140 - __main__:547 - INFO - Registrar ruta FAGI: route_did

agente-1 | 2025-08-05 10:10:12,140 - __main__:166 - INFO - Reglas de seguridad no habilitadas.

agente-1 | 2025-08-05 10:10:12,140 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-05 10:10:14,143 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-05 10:10:16,146 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-05 10:10:18,148 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-05 10:10:20,151 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-05 10:10:22,154 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-05 10:10:24,156 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-05 10:10:26,159 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-05 10:10:28,162 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-05 10:10:30,165 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-05 10:10:32,167 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-05 10:10:34,170 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-05 10:10:36,173 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-05 10:10:38,176 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-05 10:10:40,177 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-05 10:10:42,180 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

agente-1 | 2025-08-05 10:10:44,183 - panoramisk.manager:71 - ADVERTENCIA - No se puede reconectar

Avatar
Discard
Max

Hi!
It still cannot connect to Asterisk AMI.
Check your AMI connection settings.

Wilfrido
Author

I checked the configuration and everything is correct in terms of passwords and settings, but the agent does not connect, I don't know what else is missing?

Attaching to agent-1
agent-1 | 2025-08-06 07:34:07,283 - root:1049 - INFO - Starting the application.
agent-1 | 2025-08-06 07:34:07,285 - __main__:125 - INFO - Config file loaded.
agent-1 | 2025-08-06 07:34:07,285 - __main__:612 - INFO - Connecting to Odoo at https://search.solinemp.com
agent-1 | 2025-08-06 07:34:08,364 - __main__:620 - INFO - Connected to Odoo.
agent-1 | 2025-08-06 07:34:09,184 - __main__:672 - INFO - Downloaded event handlers.
agent-1 | 2025-08-06 07:34:09,185 - __main__:312 - INFO - Connecting to AMI at asterisk_plus_agent@172.32.0.4:5038
agent-1 | 2025-08-06 07:34:09,185 - __main__:543 - INFO - Starting FastAGI server on 0.0.0.0:44574
agent-1 | 2025-08-06 07:34:09,185 - __main__:547 - INFO - Register FAGI route: route_did
agent-1 | 2025-08-06 07:34:09,185 - __main__:166 - INFO - Security rules not enabled.
agent-1 | 2025-08-06 07:34:09,186 - panoramisk.ami_protocol:57 - INFO - protocol version: '5.0.2'
agent-1 | 2025-08-06 07:34:10,187 - panoramisk.manager:277 - ERROR - Connection lost
agent-1 | 2025-08-06 07:34:10,187 - panoramisk.manager:282 - INFO - Try to connect again in 2 second(s)
agent-1 | 2025-08-06 07:34:10,187 - __main__:425 - INFO - AMI disconnect, error: None
agent-1 | 2025-08-06 07:34:12,190 - panoramisk.ami_protocol:57 - INFO - protocol version: '5.0.2'
agent-1 | 2025-08-06 07:34:13,191 - panoramisk.manager:277 - ERROR - Connection lost
agent-1 | 2025-08-06 07:34:13,191 - panoramisk.manager:282 - INFO - Try to connect again in 2 second(s)
agent-1 | 2025-08-06 07:34:13,191 - __main__:425 - INFO - AMI disconnect, error: None
agent-1 | 2025-08-06 07:34:15,193 - panoramisk.ami_protocol:57 - INFO - protocol version: '5.0.2'
agent-1 | 2025-08-06 07:34:16,194 - panoramisk.manager:277 - ERROR - Connection lost
agent-1 | 2025-08-06 07:34:16,194 - panoramisk.manager:282 - INFO - Try to connect again in 2 second(s)
agent-1 | 2025-08-06 07:34:16,195 - __main__:425 - INFO - AMI disconnect, error: None
agent-1 | 2025-08-06 07:34:19,199 - panoramisk.manager:71 - WARNING - Not able to reconnect
agent-1 | 2025-08-06 07:34:22,202 - panoramisk.manager:71 - WARNING - Not able to reconnect
agent-1 | 2025-08-06 07:34:25,206 - panoramisk.manager:71 - WARNING - Not able to reconnect
agent-1 | 2025-08-06 07:34:28,210 - panoramisk.manager:71 - WARNING - Not able to reconnect
agent-1 | 2025-08-06 07:34:31,215 - panoramisk.manager:71 - WARNING - Not able to reconnect
agent-1 | 2025-08-06 07:34:34,218 - panoramisk.manager:71 - WARNING - Not able to reconnect
agent-1 | 2025-08-06 07:34:37,223 - panoramisk.manager:71 - WARNING - Not able to reconnect

Oduist
I checked the configuration and everything is correct in terms of passwords and settings, but the agent does not connect, I don't know what else is missing?

Attaching to agent-1
agent-1  | 2025-08-06 07:34:07,283 - root:1049 - INFO - Starting the application.
agent-1  | 2025-08-06 07:34:07,285 - __main__:125 - INFO - Config file loaded.
agent-1  | 2025-08-06 07:34:07,285 - __main__:612 - INFO - Connecting to Odoo at https://search.solinemp.com
agent-1  | 2025-08-06 07:34:08,364 - __main__:620 - INFO - Connected to Odoo.
agent-1  | 2025-08-06 07:34:09,184 - __main__:672 - INFO - Downloaded event handlers.
agent-1  | 2025-08-06 07:34:09,185 - __main__:312 - INFO - Connecting to AMI at asterisk_plus_agent@172.32.0.4:5038
agent-1  | 2025-08-06 07:34:09,185 - __main__:543 - INFO - Starting FastAGI server on 0.0.0.0:44574
agent-1  | 2025-08-06 07:34:09,185 - __main__:547 - INFO - Register FAGI route: route_did
agent-1  | 2025-08-06 07:34:09,185 - __main__:166 - INFO - Security rules not enabled.
agent-1  | 2025-08-06 07:34:09,186 - panoramisk.ami_protocol:57 - INFO - protocol version: '5.0.2'
agent-1  | 2025-08-06 07:34:10,187 - panoramisk.manager:277 - ERROR - Connection lost
agent-1  | 2025-08-06 07:34:10,187 - panoramisk.manager:282 - INFO - Try to connect again in 2 second(s)
agent-1  | 2025-08-06 07:34:10,187 - __main__:425 - INFO - AMI disconnect, error: None
agent-1  | 2025-08-06 07:34:12,190 - panoramisk.ami_protocol:57 - INFO - protocol version: '5.0.2'
agent-1  | 2025-08-06 07:34:13,191 - panoramisk.manager:277 - ERROR - Connection lost
agent-1  | 2025-08-06 07:34:13,191 - panoramisk.manager:282 - INFO - Try to connect again in 2 second(s)
agent-1  | 2025-08-06 07:34:13,191 - __main__:425 - INFO - AMI disconnect, error: None
agent-1  | 2025-08-06 07:34:15,193 - panoramisk.ami_protocol:57 - INFO - protocol version: '5.0.2'
agent-1  | 2025-08-06 07:34:16,194 - panoramisk.manager:277 - ERROR - Connection lost
agent-1  | 2025-08-06 07:34:16,194 - panoramisk.manager:282 - INFO - Try to connect again in 2 second(s)
agent-1  | 2025-08-06 07:34:16,195 - __main__:425 - INFO - AMI disconnect, error: None
agent-1  | 2025-08-06 07:34:19,199 - panoramisk.manager:71 - WARNING - Not able to reconnect
agent-1  | 2025-08-06 07:34:22,202 - panoramisk.manager:71 - WARNING - Not able to reconnect
agent-1  | 2025-08-06 07:34:25,206 - panoramisk.manager:71 - WARNING - Not able to reconnect
agent-1  | 2025-08-06 07:34:28,210 - panoramisk.manager:71 - WARNING - Not able to reconnect
agent-1  | 2025-08-06 07:34:31,215 - panoramisk.manager:71 - WARNING - Not able to reconnect
agent-1  | 2025-08-06 07:34:34,218 - panoramisk.manager:71 - WARNING - Not able to reconnect
agent-1  | 2025-08-06 07:34:37,223 - panoramisk.manager:71 - WARNING - Not able to reconnect
Saludos Cordiales,

Ing. Wilfrido Marret
Gerente de Tecnologías y Desarrollo
OPENTECH MS SOLUTIONS 
Soluciones de vanguardia a bajo costo.
Mov. 0990661130​



---- El Wed, 06 Aug 2025 07:00:10 -0500, Max Li <portal@oduist.com> escribió ----

Hi! It still cannot connect to Asterisk AMI. Check your AMI connection settings. ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​

View Forum Post
  
Agent connection error

Hi!
It still cannot connect to Asterisk AMI.
Check your AMI connection settings.

--
Max Li

Team Oduist



Max
Best Answer

Hello!

From the log you provided, it looks like the Asterisk Manager Interface (AMI) connection is not valid.

You need to specify the AMI connection details based on the Agent's Asterisk server, not Odoo.

The Agent is connecting directly to your Asterisk instance — not to Odoo — so you must update the AMI connection data in Odoo accordingly.

When the Agent connects to Asterisk, it also starts a built-in HTTPS server to receive commands from Odoo.

Avatar
Discard
Related Posts Replies Views Activity
1
Jun 25
104
2
Jun 25
159
2
Jun 25
148
1
Mar 25
191
2
May 25
213