Can't logout from Surfer
-
-
@nebulon 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.
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?
Had no trouble connecting, though, by entering the url.
[EDIT: same behavior without the VPN]
-
@abargel so looks like the origin is simply missing in the local surfer config. That file is in
~/.surfer.json
and to logout you can also just delete the file for a start. In your case I guess theserver
property got emptied for some reason. -
@nebulon Deleting
~.surfer.json
did log me out. Here are its contents before deletion:{ "server": "https://surfer.openbargel.com", "accessToken": "login-ef8c6c81aa72058b11c72dd84d1368ab" }
I logged in again, ran a couple of commands, tried logging out: same problem. Current content of
~.surfer.json
is same with just a different accessToken. Output from DEBUG=* is same with just a different accessToken. -