Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Can't read from server. It may not have the appropriate access-control-origin settings.

SmartConnector Forum

Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure Building
  • SmartConnector
  • SmartConnector Forum
  • Can't read from server. It may not have the appropriate access-control-origin settings.
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
JeffBowman
Sisko JeffBowman Sisko
164
ardak
ardak Schneider Alumni (Retired)
34
sesa180908_brid
Commander sesa180908_brid Commander
34
mike_meirovitz
Commander mike_meirovitz
21
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to SmartConnector Forum
dhancock_airmas
Crewman dhancock_airmas
Crewman

Posted: ‎2019-03-26 04:44 PM

0 Likes
3
1216
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2019-03-26 04:44 PM

Can't read from server. It may not have the appropriate access-control-origin settings.

Hi,

 

I have installed the SmartConnector on my EBO Server for Bueno Analytics to accesss, the SmartConnector is working and accessing the database from the local network. When we try a remote connection we get the web page display with "Can't read from server. It may not have the appropriate access-control-origin settings." error. 

 

Using Chorme  this error is shown in the developer tool console "Access to XMLHttpRequest at 'http://192.168.2.9:8083/swagger/docs/v1' from origin 'http://165.228.3.48:8083' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."

 

I am using EBO 2.0.3.45 on a Windows 2016 Server, SmartConnector 2.4.17, the ADSL & Windows firewalls are off. Have I missed something in the setup of the software or do I have to add Access-Control-Allow-Origin to one of the files installed.

 

Regards,

 

Dale

Attachments
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
Replies 3
JeffBowman
Sisko JeffBowman Sisko
Sisko

Posted: ‎2019-03-27 05:14 AM

0 Likes
2
1212
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2019-03-27 05:14 AM

Hi Dale,

 

If you try and set where the IP is 192.168.2.9:8083 to 165.228.3.48:8083 does it work?

 

Also, even though the swagger page isn't loading correctly, the simple fact you can access the page shows that in general the Framework is setup correctly. The real test would be to point Bueno Analytics at this endpoint to make sure it is working.

 

Regards,

 

-Jeff

Reply
dhancock_airmas
Crewman dhancock_airmas
Crewman

Posted: ‎2019-04-04 08:02 PM

0 Likes
1
1207
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2019-04-04 08:02 PM

Jeff,

 

We have tried changing the IP address and you cannot log in to access the data. When you try to log in you get a pop up that has 165.228.3.48:8083 says with nothing else. (Please see attached)

 

Regards,

 

Dale

Attachments
Reply
JeffBowman
Sisko JeffBowman Sisko
Sisko

Posted: ‎2019-04-05 06:49 AM

0 Likes
0
1203
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

‎2019-04-05 06:49 AM

Hi Dale,

 

The issue you came across is unfortunetly a likely bug on our side. I am gonna guess that you have it setup so that your endpoint address is configured as 'http://+:8083', and that you are connecting to this webpage from a different machine than where Smart Connector is installed. The bug if in this scenario, we are trying to authenticate using 127.0.0.1 as the IP address of the server, which of course in this case is not correct at all, and it should be using 165.228.3.48. Hence the error you are seeing.

 

The workaround for this would be set the endpoint address as http://165.228.3.48 (assuming this is not a DMZ address) or you can log into this swagger page from the machine where Smart Connector is installed. In the mean time, I am have been looking into a fix, and it is of course a bit more complicated then I would have liked.. So I am not sure when this will be available. 

 

The above said, it is only Swagger that is the issue and not the REST endpoint itself. If you were to use another REST client (either code based, or something like Postman) to send requests. It would work as expected.

 

Best Regards,

 

-Jeff

Reply
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of