<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Can&#x27;t logout from Surfer]]></title><description><![CDATA[<p dir="auto">I'm using the surfer CLI to connect, put and delete files, all works well except when I try to logout, I get this error:</p>
<pre><code>connect ECONNREFUSED 127.0.0.1:80
</code></pre>
<p dir="auto">So I remain logged in... and don't know what to do!</p>
]]></description><link>https://forum.cloudron.io/topic/7679/can-t-logout-from-surfer</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 14:30:40 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/7679.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Sep 2022 13:44:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can&#x27;t logout from Surfer on Fri, 16 Sep 2022 14:36:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> Works fine after updating. Thank you!</p>
]]></description><link>https://forum.cloudron.io/post/53514</link><guid isPermaLink="true">https://forum.cloudron.io/post/53514</guid><dc:creator><![CDATA[abargel]]></dc:creator><pubDate>Fri, 16 Sep 2022 14:36:41 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t logout from Surfer on Fri, 16 Sep 2022 13:48:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/abargel" aria-label="Profile: abargel">@<bdi>abargel</bdi></a> I think I found the bug, I have released a new version of the app and the cli tool, which should fix it. Thanks for reporting!</p>
]]></description><link>https://forum.cloudron.io/post/53509</link><guid isPermaLink="true">https://forum.cloudron.io/post/53509</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 16 Sep 2022 13:48:42 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t logout from Surfer on Thu, 15 Sep 2022 17:10:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> Deleting <code>~.surfer.json</code> did log me out. Here are its contents before deletion:</p>
<pre><code>{
    "server": "https://surfer.openbargel.com",
    "accessToken": "login-ef8c6c81aa72058b11c72dd84d1368ab"
}
</code></pre>
<p dir="auto">I logged in again, ran a couple of commands, tried logging out: same problem. Current content of <code>~.surfer.json</code> is same with just a different accessToken. Output from DEBUG=* is same with just a different accessToken.</p>
]]></description><link>https://forum.cloudron.io/post/53463</link><guid isPermaLink="true">https://forum.cloudron.io/post/53463</guid><dc:creator><![CDATA[abargel]]></dc:creator><pubDate>Thu, 15 Sep 2022 17:10:48 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t logout from Surfer on Thu, 15 Sep 2022 16:59:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/abargel" aria-label="Profile: abargel">@<bdi>abargel</bdi></a> so looks like the origin is simply missing in the local surfer config. That file is in <code>~/.surfer.json</code> and to logout you can also just delete the file for a start. In your case I guess the <code>server</code> property got emptied for some reason.</p>
]]></description><link>https://forum.cloudron.io/post/53461</link><guid isPermaLink="true">https://forum.cloudron.io/post/53461</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Thu, 15 Sep 2022 16:59:12 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t logout from Surfer on Thu, 15 Sep 2022 16:30:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a></p>
<pre><code> $ DEBUG=* surfer logout
  superagent POST /api/logout?access_token=login-ef8c6c81aa72058b11c72dd84d1368ab +0ms
connect ECONNREFUSED 127.0.0.1:80

</code></pre>
<p dir="auto">I have not set up an access token on surfer/_admin. Should I have?</p>
]]></description><link>https://forum.cloudron.io/post/53459</link><guid isPermaLink="true">https://forum.cloudron.io/post/53459</guid><dc:creator><![CDATA[abargel]]></dc:creator><pubDate>Thu, 15 Sep 2022 16:30:20 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t logout from Surfer on Thu, 15 Sep 2022 16:26:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/abargel" aria-label="Profile: abargel">@<bdi>abargel</bdi></a> there is really nothing different from the logout logic to any other requests to the server. They use the same domain/URL in the code. Can you run this maybe with <code>DEBUG=*</code> and see if something unexpected comes up?</p>
]]></description><link>https://forum.cloudron.io/post/53458</link><guid isPermaLink="true">https://forum.cloudron.io/post/53458</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Thu, 15 Sep 2022 16:26:21 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t logout from Surfer on Thu, 15 Sep 2022 16:12:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> It did seem strange to me too... I'm connecting from my home computer where I installed cloudron-surfer CLI, onto my VPS where my main Cloudron is installed, with Surfer.</p>
<p dir="auto">I just thought of the fact that I'm using OpenVPN on my home wifi, and the server for that is on the same Cloudron and IP address as Surfer. Could that be causing a problem?</p>
<p dir="auto">Had no trouble connecting, though, by entering the url.</p>
<p dir="auto">[EDIT: same behavior without the VPN]</p>
]]></description><link>https://forum.cloudron.io/post/53455</link><guid isPermaLink="true">https://forum.cloudron.io/post/53455</guid><dc:creator><![CDATA[abargel]]></dc:creator><pubDate>Thu, 15 Sep 2022 16:12:56 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t logout from Surfer on Thu, 15 Sep 2022 14:10:55 GMT]]></title><description><![CDATA[<p dir="auto">How does your setup look like? It seems strange that the cli tool tries to connect to 127.0.0.1 From where are you running this?</p>
]]></description><link>https://forum.cloudron.io/post/53446</link><guid isPermaLink="true">https://forum.cloudron.io/post/53446</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Thu, 15 Sep 2022 14:10:55 GMT</pubDate></item></channel></rss>