Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
3885 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sty 24
1937
2
lis 23
1723
1
lip 23
3643
1
kwi 23
2901
4
cze 25
8915