๐Ÿ’พ 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

View Raw

More Information

-=-=-=-=-=-=-

Comment by ๐Ÿ’Ž istvan

Re: "slcl 0.3.0 release"

In: s/SmallWeb

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.

๐Ÿ’Ž istvan

Aug 25 ยท 6 days ago

5 Later Comments โ†“

๐Ÿ’Ž 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.

Original Post

๐ŸŒ’ s/SmallWeb

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.

๐Ÿ’ฌ xavi ยท 7 comments ยท 1 like ยท Aug 22 ยท 9 days ago