jmarshall-com commented on issue #1881: URL: https://github.com/apache/cordova-android/issues/1881#issuecomment-3916710974
@breautek Thanks. Here's a sample reproduction app at github. It's the same as the sample code above, except now the `connect-src` is set to `'self' https: wss:;` as @GitToTheHub suggested. It gives the same non-working result. https://github.com/jmarshall-com/cordova-ws-test I've also tested a WebSocket connection to the same server using the command-line utility `wscat`, e.g. `wscat -c wss://echo.websocket.org`, and it connects correctly. Also, when running my app on iOS it seems to work correctly. I can't think of anything in my environment that could be interfering with WebSockets, and specifically on Android. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
