sentriz / gonic

music streaming server / free-software subsonic server API implementation
ircs://irc.libera.chat/#gonic
GNU General Public License v3.0
1.5k stars 105 forks source link

Problem with cookie or specific proxy configuration needed #414

Closed Cherryblue closed 7 months ago

Cherryblue commented 7 months ago

Hi,

Setup : gonic 0.16.1 in docker. Reverse-Proxy : HAPROXY (previously NGINX)

Problem : when browsing the web portal, I only get Error 500 : "error saving session: securecookie: hash key is not set".

Not sure if it's linked to new version, or me going from NGINX to HAPROXY, but I'd sure like some help on this :).

I've tried this and that with no success so far.

sentriz commented 7 months ago

is the issue only with HAPROXY, not Nginx?

Cherryblue commented 7 months ago

is the issue only with HAPROXY, not Nginx?

I just switched to my old configuration for gonic using NGINX in order to check : I get the same error with nginx. It seems to be linked to 0.16.x.

Thanks for taking this into account :).