[GH-ISSUE #587] [BUG] Redirect Loop Error in Tor Browser #375

Closed
opened 2026-02-25 20:35:35 +03:00 by kerem · 1 comment
Owner

Originally created by @mwcp5 on GitHub (Dec 21, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/587

First time I open Tor browser (with HTTPS-Only Mode) and try to search with my Whoogle instance I always get an error "The page isn’t redirecting properly". For some reason I'm getting redirected from https address to http. In my instance config I've set "HTTPS_ONLY" to 1 and "WHOOGLE_CONFIG_URL" to "https://my_instance_name.herokuapp.com/".

On the error page if I press "Try Again" button and resubmit my search request it loads just fine. On the subsequent searches it sometimes works and sometimes gives me the same error.

To Reproduce
Steps to reproduce the behavior:

  1. Open Tor browser (with HTTPS-Only Mode mode on).
  2. Search with Whoogle.
  3. See error "The page isn’t redirecting properly"

Deployment Method

  • Heroku (one-click deploy)
  • Docker
  • run executable
  • pip/pipx
  • Other: [describe setup]

Version of Whoogle Search

  • Latest build from [source] (i.e. GitHub, Docker Hub, pip, etc)
  • Version 0.7.0
  • Not sure

Desktop (please complete the following information):

  • OS: Ubuntu 21.04
  • Browser: Tor Browser
  • Version: 11.0.3

Additional context

Network Requests Screenshot

whoogle

Originally created by @mwcp5 on GitHub (Dec 21, 2021). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/587 First time I open Tor browser (with HTTPS-Only Mode) and try to search with my Whoogle instance I always get an error "The page isn’t redirecting properly". For some reason I'm getting redirected from https address to http. In my instance config I've set "HTTPS_ONLY" to 1 and "WHOOGLE_CONFIG_URL" to "https://my_instance_name.herokuapp.com/". On the error page if I press "Try Again" button and resubmit my search request it loads just fine. On the subsequent searches it sometimes works and sometimes gives me the same error. **To Reproduce** Steps to reproduce the behavior: 1. Open Tor browser (with HTTPS-Only Mode mode on). 2. Search with Whoogle. 3. See error "The page isn’t redirecting properly" **Deployment Method** - [x] Heroku (one-click deploy) - [ ] Docker - [ ] `run` executable - [ ] pip/pipx - [ ] Other: [describe setup] **Version of Whoogle Search** - [ ] Latest build from [source] (i.e. GitHub, Docker Hub, pip, etc) - [x] Version 0.7.0 - [ ] Not sure **Desktop (please complete the following information):** - OS: Ubuntu 21.04 - Browser: Tor Browser - Version: 11.0.3 **Additional context** <details><summary>Network Requests Screenshot</summary> ![whoogle](https://user-images.githubusercontent.com/90090630/146902252-b3b783ca-8b3b-42ba-a6dd-3613665db6e3.jpg) </details>
kerem 2026-02-25 20:35:35 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@nakoo commented on GitHub (Dec 22, 2021):

I can confirm it has the same issue with Firefox (HTTPS-Only Mode). @benbusby said he changed the flask protocol manually to HTTPS. (#545) But it seems like there're some missing parts here.

<!-- gh-comment-id:999584823 --> @nakoo commented on GitHub (Dec 22, 2021): I can confirm it has the same issue with Firefox (HTTPS-Only Mode). @benbusby said he changed the flask protocol manually to HTTPS. (#545) But it seems like there're some missing parts here.
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/whoogle-search#375
No description provided.