[
https://issues.apache.org/jira/browse/CB-11123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15988410#comment-15988410
]
Paul Stresow commented on CB-11123:
-----------------------------------
Check out the CSPs and add "ws: / wss: " to the content security header of your
index.html.
Example:
<meta http-equiv="Content-Security-Policy" content="default-src 'self'
'unsafe-inline'gap://ready gap: cdvfile: file: https://ssl.gstatic.com blob:
ws: wss:;"/>
> Cordova Windows Universal App websockets not working
> ----------------------------------------------------
>
> Key: CB-11123
> URL: https://issues.apache.org/jira/browse/CB-11123
> Project: Apache Cordova
> Issue Type: Wish
> Components: Windows
> Affects Versions: 3.5.0
> Environment: Windows 10
> Reporter: Chetana YIN
> Labels: newbie
>
> I'm working on a mobile application build with Cordova, my server is using
> WebSockets and is reachable in my App on iOS, but i want to use my client
> side app on Windows 10, so i did an Apache Cordova Windows Universal App.
> Problem is that the only way to make it work, is when i use the client on the
> same computer as the server. I have access to internet (internet capabilities
> already set up). Does anyone have an idea of what can block the access to
> external websockets ?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]