[SOLVED] Problem updating on console.bluz.io


#1

Earlier today I updated a Gateway just fine. But now when I try to update a Gateway I am getting a CORS error:

Failed to load resource: the server responded with a status of 504 ()
(index):1 XMLHttpRequest cannot load https://update.bluz.io/update. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://console.bluz.io’ is therefore not allowed access. The response had HTTP status code 504.


#2

That is quite odd. We had updated our API recently to a new endpoint as we plan to switch everything over, but not sure why you would have gotten a CORS error.

Either way, can you try it on our staging console: http://staging-console.bluz.io/

That was modified to point to our new API endpoint for updates, should fix the issue. Let me know if that works, thanks!


#3

I tried it again later and it worked. Weird!