Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056850 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] Core | major | have not tried | 2024-10-21 14:34 | 2025-03-27 12:06 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | Triage Platform Base | |||||||
Priority | normal | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0177443) hgbot (developer) 2025-03-27 12:06 |
Issue exported to Jira: https://openbravo.atlassian.net/browse/RM-24176 [^] |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |