[GH-ISSUE #1447] Firefox https only mode breaks http connections in the extension #918

Closed
opened 2026-03-02 11:53:44 +03:00 by kerem · 3 comments
Owner

Originally created by @taciturnaxolotl on GitHub (May 21, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1447

Describe the Bug

Hi! I've been using karakeep for a little while now (24 hours lol) and absolutely love it so far. The one issue i've had is that when you have a karakeep server that runs over http firefox will seem to auto upgrade the connection inside the extension. I haven't seen this with other extensions before and I've added an exception for my server url in firefox settings but neither of those things worked.

This may very well be a firefox problem I've just never observed another extension's http requests auto being upgraded. I take a quick dig through the extension code to see if I can find anything

Steps to Reproduce

  1. Install karakeep extension
  2. Enable https only mode in firefox settings
  3. Try logging into an http karakeep server and see errors
  4. Try adding an exception for your karakeep server in firefox settings
  5. See it fail again

Expected Behaviour

I would expect http connections to connect.

Screenshots or Additional Context

Image

Image

Device Details

Mozilla Firefox 138.0.4 on nixos

Exact Karakeep Version

0.24.1

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem
Originally created by @taciturnaxolotl on GitHub (May 21, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1447 ### Describe the Bug Hi! I've been using karakeep for a little while now (24 hours lol) and absolutely love it so far. The one issue i've had is that when you have a karakeep server that runs over http firefox will seem to auto upgrade the connection inside the extension. I haven't seen this with other extensions before and I've added an exception for my server url in firefox settings but neither of those things worked. This may very well be a firefox problem I've just never observed another extension's http requests auto being upgraded. I take a quick dig through the extension code to see if I can find anything ### Steps to Reproduce 1. Install karakeep extension 2. Enable https only mode in firefox settings 3. Try logging into an http karakeep server and see errors 4. Try adding an exception for your karakeep server in firefox settings 5. See it fail again ### Expected Behaviour I would expect http connections to connect. ### Screenshots or Additional Context ![Image](https://github.com/user-attachments/assets/f8ca1cf9-c115-4e84-a394-dbab8aa92135) ![Image](https://github.com/user-attachments/assets/9c7fb7f1-66ce-4a1a-bbc6-4ae39c87fdff) ### Device Details Mozilla Firefox 138.0.4 on nixos ### Exact Karakeep Version 0.24.1 ### Have you checked the troubleshooting guide? - [x] I have checked the troubleshooting guide and I haven't found a solution to my problem
kerem 2026-03-02 11:53:44 +03:00
Author
Owner

@taciturnaxolotl commented on GitHub (May 21, 2025):

from a quick glance through the code it looks like the extension is using trpc; I checked their github for any similar issues and didn't find anything matching exactly but not directly calling fetch could explain the inconsistency with other extensions calling http endpoints

<!-- gh-comment-id:2898406914 --> @taciturnaxolotl commented on GitHub (May 21, 2025): from a quick glance through the code it looks like the extension is using `trpc`; I checked their github for any similar issues and didn't find anything matching exactly but not directly calling fetch could explain the inconsistency with other extensions calling http endpoints
Author
Owner

@MohamedBassem commented on GitHub (May 24, 2025):

@taciturnaxolotl there's really not much we can do from Karakeep's side here. We're doing normal http requests (nothing fancy or obscure), and it seems that the "https-only" forces does indeed force redirect to https?

There used to be a similar issue in the firefox extension (https://github.com/karakeep-app/karakeep/issues/23) a long time ago but it has been resolved for a while.

<!-- gh-comment-id:2906752094 --> @MohamedBassem commented on GitHub (May 24, 2025): @taciturnaxolotl there's really not much we can do from Karakeep's side here. We're doing normal http requests (nothing fancy or obscure), and it seems that the "https-only" forces does indeed force redirect to https? There used to be a similar issue in the firefox extension (https://github.com/karakeep-app/karakeep/issues/23) a long time ago but it has been resolved for a while.
Author
Owner

@taciturnaxolotl commented on GitHub (May 24, 2025):

Yeah thats what i figured; just wanted to make sure :)

I'll probably go open an issue on firefox

<!-- gh-comment-id:2906938509 --> @taciturnaxolotl commented on GitHub (May 24, 2025): Yeah thats what i figured; just wanted to make sure :) I'll probably go open an issue on firefox
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/karakeep#918
No description provided.