* [Galene] Galene HTTP API error and various feedback
@ 2026-07-09 15:43 Timothée Jaussoin
0 siblings, 0 replies; only message in thread
From: Timothée Jaussoin @ 2026-07-09 15:43 UTC (permalink / raw)
To: galene
Hi,
Thanks for the awesome work, I'm currently trying to wrap Galene into my
project and I have an HTTP API error and a few feedback to provide as well:
curl -v -X PUT -u "admin:123" -H "Accept: */*" -H "If-None-Match:*" -H
"Content-Type:application/json"
http://localhost:8444/galene-api/v0/.groups/city-watch-4
Is returning:
2026/07/09 17:25:25 HTTP server error: EOF
Where
./galenectl create-group -group city-watch4
Works properly, with galenetctl.json config file being
{
"server": "http://localhost:8444",
"admin-username": "admin",
"admin-password": "123"
}
Feedback:
1. Its not written in the documentation that the API authentication is
actually using Basic Auth, its a small thing but I had to dive in into
galenectl code to understand that
2. I'd really like to be able to directly pass the admin-username and
admin-password or directly an admin-api-key when launching ./galene,
this will allow projects that wraps Galene like mine to not have to deal
with galenectl and its custom file and generate a random
username/password or api-key each time galene is launched.
3. For projects that wrap Galene it would also be interesting if the API
calls and open Websockets requests could be restricted to the local
machine only (to prevent so security issues if the API is unfortunatelly
exposed publicly).
4. I'm not there yet but it seems that each "user" have to create a
dedicated Websocket (see
https://galene.org/galene-protocol.html#connecting) when wrapping Galene
server side. This means that the wrapper will have to maintain dozens of
Websockets. Would it be possible to provide a "admin" Websocket where
all the messages are sent through it (with a specific user id to
differenciate them) ?
Thanks again for this really nice project :)
Regards,
edhelas
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-09 15:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-09 15:43 [Galene] Galene HTTP API error and various feedback Timothée Jaussoin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox