mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-10 18:02:14 -05:00
[GH-ISSUE #2645] Unable to create public ressource on root for domain #8967
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?
Originally created by @NecktiedHummingbird on GitHub (Mar 13, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/2645
Describe the Bug
So I try to add a static website to my root domain (

example.com), but on creation I get the error, that a ressource with this domain already exists. Which is not true.This is the only domain configured in the
config.yml. Pangolin it self is available atpangolin.example.com.When I navigate to
example.comI receive a 404.When I add another domain via the pangolin UI and create a public resource to use the root domain of the newly added domain, it just works.
Both are registered as wildcard domains.
I also checked the api endpint
/v1/org/{orgId}/resourcesif there is something hidden, but it is identical to the UI.I thought "maybe i can move from
config.ymlto added by pangolin UI", but im not sure if you can do so, cause when I remove the entry from theconfig.yml, I cant access the UI anymore, cause the domain is not registered anymore.Environment
To Reproduce
Try to add a public ressource on the root domain
example.comitself, configured in theconfig.yml.Expected Behavior
No error on save.
@NecktiedHummingbird commented on GitHub (Mar 13, 2026):
Okay, so I checked the code here and saw, that there is "just" a query to the database. So i copied the sqlite database and viewed it in sqlite explorer.
And then i saw the ressource with the full domain on a RAW UDP resource. I am not sure how it went there. I beleife i had this ressource HTTPS first and changed it afterwards to RAW.
The fun part, it is my old VPN, but i am migrating to pangolin client as VPN now lol.
Maybe it is cause of an older version of pangolin, where i created that resource.
After I deleted the resource with my old VPN i was able to create the resource on root domain!
For me personaly, the issue is closed now. But I leave it open in case of this is some kind of bug, that the full domain got saved on the raw tcp resource. Feel free to close.
@github-actions[bot] commented on GitHub (Mar 28, 2026):
This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
@github-actions[bot] commented on GitHub (Apr 11, 2026):
This issue has been automatically closed due to inactivity. If you believe this is still relevant, please open a new issue with up-to-date information.