Openbravo Issue Tracking System - POS2 | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0056850 | POS2 | Core | public | 2024-10-21 14:34 | 2025-03-27 12:06 | |||||||
| Reporter | shuehner | |||||||||||
| Assigned To | Triage Platform Base | |||||||||||
| Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
| Status | closed | Resolution | duplicate | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | Fixed in Version | |||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0056850: WebSocket infrastructure does not work when application is loaded via https | |||||||||||
| Description | The code to initialize the WebSocket connections is building the URL for the websocket always using ws:// instead of: - using ws:// (when application is loaded via plain http) - and wss:// (when application is loaded via https) That causes the login i.e. pos2 login to fail with Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS. when the application is loaded via https | |||||||||||
| Steps To Reproduce | In an instance used via https:// With pos2 of 24Q4 (or later) With pos2-example-websocket.diff testing code Try to login to pos2 Observe above error message during the login Observe the whole login fails | |||||||||||
| Proposed Solution | Adjust WebSocket URL construction to properly use ws:// or wss:// based on how the application is loaded. | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2024-10-21 14:34 | shuehner | New Issue | ||||||||||
| 2024-10-21 14:34 | shuehner | Assigned To | => Triage Platform Base | |||||||||
| 2024-10-21 14:34 | shuehner | OBNetwork customer | => No | |||||||||
| 2024-10-21 14:34 | shuehner | Triggers an Emergency Pack | => No | |||||||||
| 2024-10-21 14:35 | shuehner | Relationship added | related to 0056183 | |||||||||
| 2025-03-27 12:06 | hgbot | Note Added: 0177443 | ||||||||||
| 2025-03-27 12:06 | hgbot | Status | new => closed | |||||||||
| 2025-03-27 12:06 | hgbot | Resolution | open => duplicate | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||