Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
3857 Vistas

I'm using the Odoo Cloud Platform, where I have Development, Staging, and Production environments.

The issue is only occurring on staging, but everything was fine there just a few weeks ago.

Every time I try to open the 'Point of Sale' session on the staging environment, I encounter the following error:"

---

...-staging-11245687.dev.odoo.com/pos/web?config_id=1

---
This page isn’t working

...-staging-11245687.dev.odoo.com redirected you too many times.

  • Try deleting your cookies.

ERR_TOO_MANY_REDIRECTS

---

But there are no errors in the logs when I try to open POS.

I've tried the following solutions:

- Restarted Odoo service.

- Restored DB dump.

- Completely rebuilt the staging environment to match the exact state as on production.

- Manually deleted the 'broken' session in the DB, but the same thing happened when I tried to open a new one.

- Tried to open the POS in different browsers.

- Deleted cookies and site data.

But nothing has helped, so I have no idea what to do next.

Has anyone encountered this issue or can provide any tips for resolving it?

Avatar
Descartar
Mejor respuesta

Hi,
The issue is due to the ePoS printer. If you disable it, you can connect to the session.

In order to make it work with the ePoS printer, create a system parameter to force the point of sales to use a secure connection (https): https://www.odoo.com/documentation/16.0/applications/sales/point_of_sale/configuration/https.html


In order to do so, create a  "system parameter" and create a new one with following key: point_of_sale.enforce_https and the value true.

  • Key: point_of_sale.enforce_https
  • Value: True



Thanks

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
ene 24
1920
2
nov 23
1712
1
jul 23
3617
1
abr 23
2893
4
jun 25
8830