Couldn't download the specified URL: 0

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
ibreakcellphones
Bear Rating Trainee
Bear Rating Trainee
Posts: 31
Joined: 28 Mar 2013, 09:49

Re: Couldn't download the specified URL: 0

Postby ibreakcellphones » 13 Sep 2014, 19:48

Have you tried downloading the feed with curl using the command line?

It could be that the site has blocked curl poorly. Try viewing the exchange with tcpdump or ssldump to see if that's the case. Try grabbing it with wget. Use debug switches for curl and wget.

PaintedBox
Bear Rating Trainee
Bear Rating Trainee
Posts: 19
Joined: 13 Jun 2013, 11:56

Re: Couldn't download the specified URL: 0

Postby PaintedBox » 15 Sep 2014, 10:23

PaintedBox wrote:

Code: Select all

curl https://threema.ch/en/blog/feeds/rss


Works on that machine without any problems.

:? Strange...

Latimer
Bear Rating Master
Bear Rating Master
Posts: 131
Joined: 17 Mar 2013, 19:35

Re: Couldn't download the specified URL: 0

Postby Latimer » 15 Sep 2014, 15:54

Just a wild guess, but did you run this command from under the same user as the one ttrss uses?

PaintedBox
Bear Rating Trainee
Bear Rating Trainee
Posts: 19
Joined: 13 Jun 2013, 11:56

Re: Couldn't download the specified URL: 0

Postby PaintedBox » 15 Sep 2014, 16:17

Good point! Unfortunately it works with all users. My own, root and the http user. I have no idea...

JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Couldn't download the specified URL: 0

Postby JustAMacUser » 15 Sep 2014, 17:40

Maybe try changing the user-agent.

PaintedBox
Bear Rating Trainee
Bear Rating Trainee
Posts: 19
Joined: 13 Jun 2013, 11:56

Re: Couldn't download the specified URL: 0

Postby PaintedBox » 15 Sep 2014, 19:04

Thank you for your help!

Code: Select all

curl -A "Tiny Tiny RSS" https://threema.ch/en/blog/feeds/rss

runs without any problems :(

JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Couldn't download the specified URL: 0

Postby JustAMacUser » 15 Sep 2014, 19:16

That's because that's not the user agent TT-RSS uses. Take a look at file_fetch_contents in functions.php.

PaintedBox
Bear Rating Trainee
Bear Rating Trainee
Posts: 19
Joined: 13 Jun 2013, 11:56

Re: Couldn't download the specified URL: 0

Postby PaintedBox » 15 Sep 2014, 20:16

If you mean this, there is no difference. I can set any user-agent that I want and it works.

Code: Select all

curl -A "Tiny Tiny RSS/1.13 (http://tt-rss.org/)" https://threema.ch/en/blog/feeds/rss

JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Couldn't download the specified URL: 0

Postby JustAMacUser » 15 Sep 2014, 20:49

It was a long shot, but worth trying.

PaintedBox
Bear Rating Trainee
Bear Rating Trainee
Posts: 19
Joined: 13 Jun 2013, 11:56

Re: Couldn't download the specified URL: 0

Postby PaintedBox » 16 Sep 2014, 09:37

That's true. I think I will never find out the reason why it is not working as expected.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 12 guests