No results from search

Bug #1355996 reported by Alan Pope 🍺🐧🐱 🦄
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
DowNow
Fix Released
High
Tal Zion

Bug Description

Installed DowNow on my Mako.
It runs but if I type anything in the search box, no results appear.

Does this search thepiratebay or something?

Related branches

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Revision history for this message
Tal Zion (talzion12) wrote :

Yes, it searches thepiratebay.
Looks like thepiratebay has been down for some time, but now it's back up. It seems to be working now.
Does the problem persist?

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

I get no results because tpb is blocked by my both my home ISP and the cellular provider.

Perhaps the app could allow the user to pick from a list of tpb mirrors, or allow the user to manually input a different url.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Dave Morley (davmor2)
Changed in downow:
status: New → Confirmed
Tal Zion (talzion12)
Changed in downow:
status: Confirmed → Triaged
importance: Undecided → High
Revision history for this message
Tal Zion (talzion12) wrote :

If you could tell me what HTTP status code you're getting in response, I could automatically go through multiple predefined proxies until I get an OK response. I read on Wikipedia that apparently tpb is blocked by 27 countries and I don't think the average user should be even aware of this.
I'll also add a settings page where you can override the proxy url.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

I get a 302 redirect.

alan@deep-thought:~$ wget http://thepiratebay.org/
--2014-08-27 19:24:32-- http://thepiratebay.org/
Resolving thepiratebay.org (thepiratebay.org)... 194.71.107.50
Connecting to thepiratebay.org (thepiratebay.org)|194.71.107.50|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://assets.virginmedia.com/site-blocked.html [following]
--2014-08-27 19:24:32-- http://assets.virginmedia.com/site-blocked.html
Resolving assets.virginmedia.com (assets.virginmedia.com)... 62.254.123.65
Connecting to assets.virginmedia.com (assets.virginmedia.com)|62.254.123.65|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’

    [ <=> ] 2,650 --.-K/s in 0s

2014-08-27 19:24:33 (86.7 MB/s) - ‘index.html’ saved [2650]

Tal Zion (talzion12)
Changed in downow:
assignee: nobody → Tal Zion (talzion12)
status: Triaged → In Progress
Tal Zion (talzion12)
Changed in downow:
status: In Progress → Fix Committed
Revision history for this message
Tal Zion (talzion12) wrote :

Thanks so much for all your help.
I just committed a fix for this bug but I have no way to properly test that it is now working.
The app now tries to auto-resolve a proxy by rejecting any response that is not HTTP status code 200 and iterating through the available predefined proxy domains.
Also, I added a search settings page where you can explicitly select a proxy from a predefined list. This will turn off the auto-resolve feature.
It'd be great if you could test that it now works on cellular and wifi as well.

Tal Zion (talzion12)
Changed in downow:
status: Fix Committed → Fix Released
milestone: none → 0.3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.