[GH-ISSUE #28] Failing to login while exposing behind https proxy #20

Closed
opened 2026-03-23 20:31:45 +00:00 by mirror · 1 comment
Owner

Originally created by @alejakun on GitHub (Oct 26, 2023).
Original GitHub issue: https://github.com/tubearchivist/browser-extension/issues/28

Hi, I've setup my selfhosted my TA instance behind a reverse-proxy which redirects everything to https, that is how I access everything from within the browser, however while trying to login with the extension it fails. After looking at the inspector I see the following error:

Access to fetch at 'https://<redacted>/api/ping/' from origin 'chrome-extension://jjnkmicfnfojkkgobdfeieblocadmcie' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

My installed version is 0.2.1 and the reported error in the interface is Could not connect to server

Originally created by @alejakun on GitHub (Oct 26, 2023). Original GitHub issue: https://github.com/tubearchivist/browser-extension/issues/28 Hi, I've setup my selfhosted my TA instance behind a reverse-proxy which redirects everything to https, that is how I access everything from within the browser, however while trying to login with the extension it fails. After looking at the inspector I see the following error: ``` Access to fetch at 'https://<redacted>/api/ping/' from origin 'chrome-extension://jjnkmicfnfojkkgobdfeieblocadmcie' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. ``` My installed version is 0.2.1 and the reported error in the interface is `Could not connect to server`
mirror 2026-03-23 20:31:45 +00:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@bbilly1 commented on GitHub (Nov 1, 2023):

That looks like a configuration issue on your proxy, the error suggests a missing header.

<!-- gh-comment-id:1788247445 --> @bbilly1 commented on GitHub (Nov 1, 2023): That looks like a configuration issue on your proxy, the error suggests a missing header.
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
tubearchivist/archived-browser-extension#20
No description provided.