💾 Archived View for bbs.geminispace.org › s › Lagrange › 14432 captured on 2024-03-21 at 18:04:38. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-02-05)
-=-=-=-=-=-=-
Previously there was a question here, because I had no idea what was going on and I though it had something to do with localhost vs remote hosts. I was wrong.
My Lagrange on Mac becomes unresponsive when I view this link (be careful before clicking!)
What I am serving here is simply a binary executable which I compiled from Go. The file is called index.gmi and placed at the root of the static/blube.club/ directory, served by GmCapsule.
Jan 28 · 8 weeks ago
Same with clagrange
🚀 skyjake [mod...] · Jan 29 at 05:17:
It does not crash for me, athough it takes quite a while for the page to finish loading. The problem here is that you are returning a "text/gemini" response whose body is 1.3 MB of binary (executable?) data. Lagrange is dutifully trying to render the contents for you as text.
You need to fix your server configuration...
There is a relevant issue for this on GitHub:
— https://github.com/skyjake/lagrange/issues/601
🐐 satch [OP] · Jan 29 at 13:12:
Okay, I knew that's what my server was doing, I just didn't know the issue was already documented. I set up ://blube.club/ that way specifically to demonstrate the Lagrange issue, not because I was trying to serve CGI from my static directory.