Closed elyase closed 2 years ago
Have you completed configuration of the server? The first time the server is started (or every time if you don't use a persistent volume to store data), you need to connect with the browser and complete the configuration, regardless of the authentication setting.
I missed that, but that did it :-) . Thanks for the quick reply @gcampax .
btw is there any way to bypass the initial configuration?
Yes create a prefs.db file in the directory used to store genie-server data containing the "server-login" information. (This directory is set with the THINGENGINE_HOME env var, it defaults to /var/lib/genie-server in the standalone container) See for example how the Home Assistant add-on does it at https://github.com/stanford-oval/almond-hassio-repository/blob/master/edge/rootfs/etc/services.d/almond/run#L11
nice! thanks for your help
I am running Genie with:
After that I try a simple request:
But I am getting an
Unauthorized
response. What am I doing wrong?