[jira] [Commented] (CB-11123) Cordova Windows Universal App websockets not working

2018-02-21 Thread FAURE SYSTEMS (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-11123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16371259#comment-16371259
 ] 

FAURE SYSTEMS commented on CB-11123:


I guess not... I use mqttws31.js  (Eclipse Paho JavaScript client) in a Cordova 
App which runs well on Android simulator but not on Windows 10 with error:

{{Exception non gérée à la ligne 979, colonne 4 dans 
ms-appx-web://io.cordova.myapp6efe26/www/scripts/mqttws31.js}}
{{0x800a139e - JavaScript runtime error: SecurityError a eu lieu }}

I added you suggestion :https://ssl.gstatic.com|https://ssl.gstatic.com/] blob: ws: wss:;"/>

but same error.

> 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: cordova-windows
>Affects Versions: 3.5.0
> Environment: Windows 10
>Reporter: Chetana YIN
>Priority: Major
>  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
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-11123) Cordova Windows Universal App websockets not working

2018-01-22 Thread Jan Piotrowski (Sujan) (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-11123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16335009#comment-16335009
 ] 

Jan Piotrowski (Sujan) commented on CB-11123:
-

Did Paul's answer help [~chetana@gmail.com]?

> 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: cordova-windows
>Affects Versions: 3.5.0
> Environment: Windows 10
>Reporter: Chetana YIN
>Priority: Major
>  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
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-11123) Cordova Windows Universal App websockets not working

2017-04-28 Thread Paul Stresow (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-11123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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:

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: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org