tbellembois / gochimitheque

Open source chemical product management application written in Golang.
GNU General Public License v3.0
4 stars 3 forks source link

gochimitheque started with systemd, but unusable #82

Open gallak opened 2 years ago

gallak commented 2 years ago

With the last version spread on mailling list, I try to launch automaticcaly I'm able to launch it on command line with a dedicated user. When I want to launch gochimitheque with systemd service, application is launch but it unusable.

I got the following error inside syslog : Aug 23 16:21:40 cin-mc-chimitheque gochimitheque[21722]: 2022/08/23 16:21:40 http: superfluous response.WriteHeader call from github.com/tbellembois/gochimitheque/handlers.(*Env).AppMiddleware.func1 (middleware.go:40)

I suspect something around environnment but no precise idea

tbellembois commented 2 years ago

Can you please provide your systemd file ?

gallak commented 2 years ago

it is attached : systemd-chimitheque.txt

But it seems that my command line is incorrect : my password isn't check on LDAP server, I could connect with my old internal password.

tbellembois commented 1 year ago

Have you still with issue with the new version ?