๐พ Archived View for bbs.geminispace.org โบ u โบ istvan โบ 19208 captured on 2024-08-31 at 15:50:45. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Eager to try it out.
I use many computers pre-2005, and SSL plus JavaScript is a dealbreaker usually because they are either completely unusable or make browser seize up.
Had been getting around it with old school ftp (not ftps/sftp) but this might work better for some needs.
Aug 25 ยท 6 days ago
๐ istvan ยท Aug 25 at 19:56:
Having some trouble. I ran the usergen script to generate an account, but every time I try and log in it says "Forbidden".
Console output just says "getnode: auth_cookie failed"
๐ต xavi [OP] ยท Aug 25 at 20:23:
@istvan this indicates the web browser is not accepting cookies. Take into account that, after a successful login, slcl shall send 1 cookie to the client so that it is possible to navigate the user directories and files. Otherwise, the web browser would attempt to access "/user" without a cookie, which slcl would rightfully reject, hence the error message.
Could you please confirm that the web browser is accepting cookies?
๐ istvan ยท Aug 25 at 20:40:
Tried a different browser and it's working there. I'm wondering if it is due to an older cookie for the domain messing things up because I have not disabled cookies.
I'll see if I can figure it out.
๐ต xavi [OP] ยท Aug 26 at 09:15:
@istvan Having other cookies for the same domain could also be an issue. As of the time of this writing, libweb (the HTTP server library powering slcl) only processes one cookie at a time, and just selects the first one it finds. This is a known limitation from libweb that will be eventually fixed - see the documentation below.
โ Relevant section of the documentation (libweb)
๐ istvan ยท Aug 26 at 17:37:
Yes, clearing the cookies solved it. It was probably because I was previously using the subdomain for a Nextcloud install, and the old cookies were causing the problem.
slcl 0.3.0 release โ I have just released slcl 0.3.0. This version provides several bugfixes and improvements from libweb 0.4.0 and fixes a bug when uploading files. It is recommended to upgrade existing instances to the lastest version.