Webservices access blocked by CORS policy

2 Posts
2 Users
0 Likes
26 Views
fl.chen
(@fl-chenarcinfo-com)
Posts: 170
Reputable Member
Topic starter
 

Hello,

One customer uses Web service of PcVue 11.2 and they met this issue. Do you know how to do? thanks.

Access to XMLHttpRequest at 'http://192.168.254.186/SessionContext/SessionContext.asmx?op=OpenSession&{UserName:%27user1%27,Password:%27123456%27}' from origin 'http://localhost:8098' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

BR,
Mark

 
Posted : 21/03/2019 1:58 pm
e.mahaut
(@e-mahautarcinfo-com)
Posts: 270
Member Moderator
 

Hi Mark,

I guess the issue is not directly on PcVue / Web* side but system policy.
The error message is barely the same in the following case:
https://crunchify.com/how-to-fix-access-control-allow-origin-issue-for-your-https-enabled-wordpress-site-and-maxcdn/

Maybe the customer will need to switch to https.
Has he tried locally with localhost or/and 127.0.0.1?

BR
Edouard

 
Posted : 21/03/2019 9:45 pm