umbrel-os icon indicating copy to clipboard operation
umbrel-os copied to clipboard

Error × Not allowed by CORS

Open maxbrito500 opened this issue 3 years ago • 1 comments

Hello,

I've performed a fresh install of Umbrel 0.4.2 onto an Ubuntu 20 public server.

All went OK until the message "Error - Not allowed by CORS".

There are related issues reported, for example: https://github.com/getumbrel/umbrel-os/issues/63 https://github.com/getumbrel/umbrel/issues/669 https://github.com/getumbrel/umbrel/issues/584 https://github.com/getumbrel/umbrel/issues/398

However, the issue remains on a fresh install.

At first the problem was using the public IP address, which for some odd reason was not accepted. Then I've pointed a domain to the IP address, same result. Finally started editing the "start" script. It was not enough to just add the domain, also had to hardcode the custom port number.

After hardcoding the domain name and port number on DEVICE_HOSTS it has worked as intended.

I've solved my issue, but would be nice to include this information on the installation page to help others. Thanks.

maxbrito500 avatar Sep 16 '21 20:09 maxbrito500

Hello,

I've performed a fresh install of Umbrel 0.4.2 onto an Ubuntu 20 public server.

All went OK until the message "Error - Not allowed by CORS".

There are related issues reported, for example:

https://github.com/getumbrel/umbrel-os/issues/63

https://github.com/getumbrel/umbrel/issues/669

https://github.com/getumbrel/umbrel/issues/584

https://github.com/getumbrel/umbrel/issues/398

However, the issue remains on a fresh install.

At first the problem was using the public IP address, which for some odd reason was not accepted.

Then I've pointed a domain to the IP address, same result.

Finally started editing the "start" script. It was not enough to just add the domain, also had to hardcode the custom port number.

After hardcoding the domain name and port number on DEVICE_HOSTS it has worked as intended.

I've solved my issue, but would be nice to include this information on the installation page to help others.

Thanks.

I went trough same problem yesterday and I totally agree.

bzumik1 avatar Dec 01 '21 07:12 bzumik1