<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>selfoss support forum - forward proxy</title>
<link>https://forum.selfoss.aditu.de/</link>
<description>selfoss support forum</description>
<language>en</language>
<item>
<title>forward proxy (reply)</title>
<content:encoded><![CDATA[<p>Thanks jtojnar,</p>
<p>I switched to master branch and modified helpers/WebClient.php to add 'proxy' in 'defaults' and now I can add and update feeds through squid proxy.</p>
<p>With version 2.18, I was also having some PDO issues that disappeared with the master branch:</p>
<p>selfoss.ERROR: PDO: near &quot;0&quot;: syntax error</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1350</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1350</guid>
<pubDate>Mon, 21 Jan 2019 10:10:39 +0000</pubDate>
<dc:creator>GwennG</dc:creator>
</item>
<item>
<title>forward proxy (reply)</title>
<content:encoded><![CDATA[<p>Could you try the <a href="https://bintray.com/fossar/selfoss/selfoss-git/_latestVersion#files">latest build</a>? It finally <a href="https://github.com/SSilence/selfoss/pull/1052">uses Guzzle for RSS spout</a>.<br />
Then you should be able to set proxy in <a href="https://github.com/SSilence/selfoss/blob/c83fbdfd6c5a3fe1e6a8c61f13aa16805d28d7cb/helpers/WebClient.php#L30">https://github.com/SSilence/selfoss/blob/c83fbdfd6c5a3fe1e6a8c61f13aa16805d28d7cb/helpers/WebClient.php#L30</a> according to <a href="http://docs.guzzlephp.org/en/stable/request-options.html#proxy.">http://docs.guzzlephp.org/en/stable/request-options.html#proxy.</a> Maybe we could even add a config key for this.</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1349</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1349</guid>
<pubDate>Sat, 19 Jan 2019 05:20:39 +0000</pubDate>
<dc:creator>jtojnar</dc:creator>
</item>
<item>
<title>forward proxy (reply)</title>
<content:encoded><![CDATA[<p>Just found opened issue <a href="https://github.com/SSilence/selfoss/issues/871">#871</a><br />
After fixing my SetEnv with the correct mod_env syntax, it still does not work.</p>
<p>SetEnv http_proxy <a href="http://proxyhost:3128/">http://proxyhost:3128/</a><br />
SetEnv https_proxy <a href="http://proxyhost:3128/">http://proxyhost:3128/</a><br />
SetEnv all_proxy <a href="http://proxyhost:3128/">http://proxyhost:3128/</a></p>
<p>I also tried with cliupdate.php and defined environment variables but still times out.</p>
<p>I'll try the fix described in #871.</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1348</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1348</guid>
<pubDate>Fri, 18 Jan 2019 15:38:46 +0000</pubDate>
<dc:creator>GwennG</dc:creator>
</item>
<item>
<title>forward proxy</title>
<content:encoded><![CDATA[<p>Hi all,</p>
<p>I'm currently setting up my first selfoss installation but can't get it to download feeds using a forward proxy.</p>
<p>I have not seen configuration option in config.ini to define a forward proxy so I tried adding some environment variables in apache VirtualHost:</p>
<p>SetEnv http_proxy=http://proxyhost:3128/<br />
SetEnv https_proxy=http://proxyhost:3128/</p>
<p>curl is supposed to check these variables and use the proxy if defined but updates fail because of timeout:</p>
<p>[2019-01-18 14:44:28] selfoss.ERROR: error loading feed content for foobar {&quot;exception&quot;:&quot;[object] (Exception(co<br />
de: 0): cURL error 28: Connection timed out after 10000 milliseconds at /var/www/selfoss/selfoss-2.18/spouts/rss/feed<br />
.php:160)<br />
[stacktrace]<br />
#0 /var/www/selfoss/selfoss-2.18/helpers/ContentLoader.php(99): spouts\^Mss\\feed-&gt;load(Array)<br />
#1 /var/www/selfoss/selfoss-2.18/helpers/ContentLoader.php(35): helpers\\ContentLoader-&gt;fetch(Array)<br />
#2 /var/www/selfoss/selfoss-2.18/controllers/Index.php(181): helpers\\ContentLoader-&gt;update()<br />
#3 /var/www/selfoss/selfoss-2.18/vendor/bcosca/fatfree-core/base.php(1806): controllers\\Index-&gt;update(Object(Base), <br />
Array, 'controllers\\\\Ind...')                                                                                      #4 /var/www/selfoss/selfoss-2.18/vendor/bcosca/fatfree-core/base.php(1627): Base-&gt;call(Array, Array, Array)<br />
#5 /var/www/selfoss/selfoss-2.18/index.php(80): Base-&gt;run()<br />
#6 {main}<br />
&quot;}</p>
<p>Does anyone use selfoss with a forward proxy?<br />
If yes, how?</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1347</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1347</guid>
<pubDate>Fri, 18 Jan 2019 14:32:48 +0000</pubDate>
<dc:creator>GwennG</dc:creator>
</item>
</channel>
</rss>
