Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056850
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coremajorhave not tried2024-10-21 14:342024-10-21 14:35
ReportershuehnerView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056850: WebSocket infrastructure does not work when application is loaded via https

DescriptionThe 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 ReproduceIn 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 SolutionAdjust WebSocket URL construction to properly use ws:// or wss:// based on how the application is loaded.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0056183 closedgonzalo_fernandez Websocket Implementation - Core2 infrastructure implementation and example module 

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker