Security Policy violation when connect to VMS server

How can I fix this problem using the SDK Mobile?

I get an error when I try a connection request .

The error is "Refused to connect to ‘http://serveraddress/xprotectmobile/communication’ because it violate the following Content Security Policy directive: “connect-src ‘self’ ws://*:* wss://*:* https://www.google-analytics.com/ https://firebaseinstallations.googleapis.com/”.

Ajax.js 64

PS: if the web application is in the same VMS server everything works fine.

How I fix it?

It looks like your web application defines a CSP header, which is good, but you need to add an entry so that your browser is allowed to make JS requests out to your Mobile Server.

https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP