Elasticsearch with username/password

I try to pass the username:password@elasticsearchurl and i have an error on the connection. Not sure what the problem is. I have tested the url with curl and i am able to access my elasticsearch app. Any ideas? I am using docker to run trudesk and i noticed that very little is output to stderr/stdoutput. so when i get the error see console I am unsure where trudesk is really outputting the error messages.