[GH-ISSUE #46] IP Allowlist breaks the import #22

Closed
opened 2026-02-27 15:54:36 +03:00 by kerem · 5 comments
Owner

Originally created by @djmango on GitHub (Jul 18, 2025).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/46

Setting up (via proxmox), I cannot sync with github and proceed because of an org with an IP allowlist.

gitea-mirror bun[13414]: 124 |     throw new Error(
gitea-mirror bun[13414]:                 ^
gitea-mirror bun[13414]: error: Error fetching organizations: Although you appear to have the correct authorization credentials, the `ORG` organization has an IP allow list enabled, and your IP address is not permitted to access this resource. - https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user
gitea-mirror bun[13414]:       at getGithubOrganizations (/opt/gitea-mirror/dist/server/chunks/github_BpthWa0a.mjs:124:11)
gitea-mirror bun[13414]: Error name: Error
gitea-mirror bun[13414]: Error message: Error fetching organizations: Although you appear to have the correct authorization credentials, the `ORG` organization has an IP allow list enabled, and your IP address is not permitted to access this resource. - https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user
gitea-mirror bun[13414]: Error stack: Error: Error fetching organizations: Although you appear to have the correct authorization credentials, the `ORG` organization has an IP allow list enabled, and your IP address is not permitted to access this resource. - https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user
gitea-mirror bun[13414]:     at getGithubOrganizations (/opt/gitea-mirror/dist/server/chunks/github_BpthWa0a.mjs:124:15)
gitea-mirror bun[13414]:     at processTicksAndRejections (native:7:39)
gitea-mirror bun[13414]: GET /orgs/ORG - 403
Originally created by @djmango on GitHub (Jul 18, 2025). Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/46 Setting up (via proxmox), I cannot sync with github and proceed because of an org with an IP allowlist. ``` gitea-mirror bun[13414]: 124 | throw new Error( gitea-mirror bun[13414]: ^ gitea-mirror bun[13414]: error: Error fetching organizations: Although you appear to have the correct authorization credentials, the `ORG` organization has an IP allow list enabled, and your IP address is not permitted to access this resource. - https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user gitea-mirror bun[13414]: at getGithubOrganizations (/opt/gitea-mirror/dist/server/chunks/github_BpthWa0a.mjs:124:11) gitea-mirror bun[13414]: Error name: Error gitea-mirror bun[13414]: Error message: Error fetching organizations: Although you appear to have the correct authorization credentials, the `ORG` organization has an IP allow list enabled, and your IP address is not permitted to access this resource. - https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user gitea-mirror bun[13414]: Error stack: Error: Error fetching organizations: Although you appear to have the correct authorization credentials, the `ORG` organization has an IP allow list enabled, and your IP address is not permitted to access this resource. - https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user gitea-mirror bun[13414]: at getGithubOrganizations (/opt/gitea-mirror/dist/server/chunks/github_BpthWa0a.mjs:124:15) gitea-mirror bun[13414]: at processTicksAndRejections (native:7:39) gitea-mirror bun[13414]: GET /orgs/ORG - 403 ```
kerem closed this issue 2026-02-27 15:54:37 +03:00
Author
Owner

@djmango commented on GitHub (Jul 18, 2025):

Also how can you check for updates with the proxmox version?

<!-- gh-comment-id:3091230242 --> @djmango commented on GitHub (Jul 18, 2025): Also how can you check for updates with the proxmox version?
Author
Owner

@arunavo4 commented on GitHub (Jul 19, 2025):

@djmango The Proxmox version is maintained by another community project by @CrazyWolf13 But I think the script there looks for latest github releases. and the grabs the files

https://community-scripts.github.io/ProxmoxVE/scripts?id=gitea-mirror

<!-- gh-comment-id:3092425053 --> @arunavo4 commented on GitHub (Jul 19, 2025): @djmango The Proxmox version is maintained by another community project by @CrazyWolf13 But I think the script there looks for latest github releases. and the grabs the files https://community-scripts.github.io/ProxmoxVE/scripts?id=gitea-mirror
Author
Owner

@CrazyWolf13 commented on GitHub (Jul 19, 2025):

@djmango @arunavo4 Community-scripts always installs the latest version of the app, e.g. what the developer marked as latest.

You can update by running 'update' inside the LXC or re-running the install script but inside the LXC.

Note, the script has not yet been updated to v3. I'll take care of this in the upcoming days, since I'm quite busy right now.

<!-- gh-comment-id:3092428111 --> @CrazyWolf13 commented on GitHub (Jul 19, 2025): @djmango @arunavo4 Community-scripts always installs the latest version of the app, e.g. what the developer marked as latest. You can update by running 'update' inside the LXC or re-running the install script but inside the LXC. Note, the script has not yet been updated to v3. I'll take care of this in the upcoming days, since I'm quite busy right now.
Author
Owner

@djmango commented on GitHub (Jul 21, 2025):

@arunavo4 do you think you could trigger a release with this fix? The issue blocks me from using. Thanks!

<!-- gh-comment-id:3094951087 --> @djmango commented on GitHub (Jul 21, 2025): @arunavo4 do you think you could trigger a release with this fix? The issue blocks me from using. Thanks!
Author
Owner

@arunavo4 commented on GitHub (Jul 21, 2025):

@djmango I cannot update it for the proxmox script but if you use the latest tag it should have your IP Allowlist

<!-- gh-comment-id:3095072663 --> @arunavo4 commented on GitHub (Jul 21, 2025): @djmango I cannot update it for the proxmox script but if you use the latest tag it should have your IP Allowlist
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/gitea-mirror#22
No description provided.