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 | 2024-10-21 14:35 | |||||||
Reporter | shuehner | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | 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 | |||||||||||
Review Assigned To | ||||||||||||
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 | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
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 | Triggers an Emergency Pack | => No |
2024-10-21 14:35 | shuehner | Relationship added | related to 0056183 |
Copyright © 2000 - 2009 MantisBT Group |