URL and origin not working #77
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
It's first time I set this docker on. I installed using unraid app docker, but I don't think it would make any difference.
I am unable to create set because it always says my socket is disconnected.
No matter what I set in the parameter I can't get it to work.
I tried the default IP of the app : http://192.168.99.181:3333/
(When I click on it in the log, I can access my app).
I also have NGINX with cloudflare under my main domain. I set it like that first.
https://lego.mydomainname.something/
With http or https
without success. I get theses in the logs.
[2025-05-19 18:37:10,795] WARNING - Not found: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. (path: /static/minifigs/nil_mf.jpg) [2025-05-19 18:37:10,797] WARNING - Not found: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. (path: /static/parts/nil.jpg) http://192.168.99.181:3333 is not an accepted origin. (further occurrences of this error will be logged with level INFO) [2025-05-19 18:37:34,451] ERROR - http://192.168.99.181:3333 is not an accepted origin. (further occurrences of this error will be logged with level INFO)Set your BK_DOMAIN_NAME variable to exactly what the URL is that you are using to access your application. Unfortunately, I haven't found a way to access it both locally and externally and not get the socket error.
As @deadbattery says, BK_DOMAIN_NAME needs to be set.
To access it both locally and externally, use the domain name both places. Your router should be able to resolve your external domain name internally.
You can not set it but it won't enforce any CORS on the app, or you can set it to
*(which is the same, set but allowing every origin)Should be fixed with
c71667cd41. If not, feel free to reopen.