ciderpunx / twitrssme

TwitRSS.me: Tool to make Twittter timelines and searches into RSS feeds
https://twitrss.me
GNU General Public License v2.0
359 stars 59 forks source link

Using TwitRSSme Docker behind a proxy #71

Open Tux-Panik opened 5 years ago

Tux-Panik commented 5 years ago

Hi, Thank you for this great tool.

Unfortunately, due to Twitter rate-limit, I must raise my own instance. As calls come from a Docker service, I decided to pull, build and run the Docker version on the same server.

My infrastructure owns a proxy, which has been set using the export http_proxy (https_proxy too). When I try to get a feed, I reach the following error: <html><head></head><body><h2>ERR: Can&#8217;t screenscrape Twitter</h2><p>Redirecting you back to <a href="http://twitrss.me">TwitRSS.me</a> in a few seconds. You might have spelled the username wrong or something</p></body></html>

I guess it's a proxy error. So, how should I declare properly a proxy configuration to retrieved feeds?

Thanks in advance for your suggestions, Kind regards, Julien

Tux-Panik commented 5 years ago

Hi, I'm still facing this issue, so if you have any idea do not hesitate to provide some tips. I just tried this workaround as the scripts use "LWP::UserAgent"

I set in a Terminal: export http_proxy="http://my.proxy:3128" export PERL_LWP_ENV_PROXY=1

But, unfortunately, it doesn't help. Kind regards,