getumbrel / umbrel-os

umbrelOS for Raspberry Pi 4 (only). Covert your Raspberry Pi into a home server in one click. For other hardware, checkout https://github.com/getumbrel/umbrel
https://umbrel.com
BSD 3-Clause "New" or "Revised" License
586 stars 55 forks source link

Error × Not allowed by CORS #240

Open maxbrito500 opened 3 years ago

maxbrito500 commented 3 years ago

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.

bzumik1 commented 2 years ago

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.