Skip to Content
Menu
This question has been flagged

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
1
Jan 24
1264
2
Nov 23
1077
1
Jul 23
2394
1
Apr 23
2266
2
Jan 25
1631