Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
3862 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
gen 24
1923
2
nov 23
1713
1
lug 23
3617
1
apr 23
2893
4
giu 25
8833