cordova - Content Security Policy blocking wss://chat.quickblox.com:5291 -


i trying deploy app ios devices hitting problem connecting chat endpoint @ wss://chat.quickblox.com:5291

this blocked csp rule , cannot connect. have tried editing rule creates chaos elsewhere. can offer guidance?

thanks

<meta http-equiv="content-security-policy" content="default-src * 'unsafe-eval' 'unsafe-inline' data: gap: https://<mysite>.azurewebsites.net; connect-src *; script-src * 'self' 'unsafe-inline' 'unsafe-eval'; style-src * 'self' 'unsafe-inline'; font-src * data: 'self'; img-src * data: 'self'; media-src *">  [error] refused connect wss://chat.quickblox.com:5291 because not appear in connect-src directive of content security policy. [error] securityerror (dom exception 18): operation insecure.     (anonymous function) (quickblox.min.js:8:23676)     _connect (quickblox.min.js:8:23676)     connect (quickblox.min.js:7:28223)     connect (quickblox.min.js:2:7321)     connect (controllers.js:346)     (anonymous function) (controllers.js:367)     (anonymous function) (quickblox.min.js:2:2528)     handleresponse (quickblox.min.js:4)     success (quickblox.min.js:4:738)     (jquery.min.js:2:27071)     firewith (jquery.min.js:2:27830)     z (jquery.min.js:4:11959)     (anonymous function) (jquery.min.js:4:15509) 


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -