IP Allowlist breaks the import #23

Closed
opened 2026-10-05 01:35:21 +02:00 by adam · 5 comments
Owner

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
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 ``` <!-- github-sync-id:3244523549 -->
adam closed this issue 2026-10-05 01:35:21 +02:00
Author
Owner

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

Also how can you check for updates with the proxmox version? <!-- github-comment-id:3091230242 -->
Author
Owner

@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

@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 <!-- github-comment-id:3092425053 -->
Author
Owner

@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.

@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. <!-- github-comment-id:3092428111 -->
Author
Owner

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

@arunavo4 do you think you could trigger a release with this fix? The issue blocks me from using. Thanks! <!-- github-comment-id:3094951087 -->
Author
Owner

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

@djmango I cannot update it for the proxmox script but if you use the latest tag it should have your IP Allowlist <!-- github-comment-id:3095072663 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/gitea-mirror#23