Unable to Login with Email and Password
I've set up a Probo server, but login via email and password is not working, even though the /auth/signin endpoint returns a 200 OK. It seems authentication is not actually succeeding, possibly due to email verification or SMTP configuration issues. Kindly check below is log of docker logs probo-app -f
time":"2025-08-21T11:47:19.6033572Z","level":"INFO","msg":"POST /auth/signin 200 2.2kB 218.876µs","version":"unknown","environment":"unknow","http_server_addr":"0.0.0.0:8080","http_request_method":"POST","http_request_host":"192.168.207.86:8080","http_request_path":"/auth/signin","http_request_flavor":"HTTP/1.1","http_request_user_agent":"curl/7.76.1","http_request_client_ip":"192.168.207.86:38904","http_request_id":"0198cc74-6fb3-7000-8d73-2d64f0ffe5f6","http_reponse_size":2218,"http_response_status":200,"http_request_path_pattern":"/","trace_id":"69814ea547dee07b91360baa085c4333","span_id":"21b56202fe8b008c","name":"probod.http.server"} {"time":"2025-08-21T11:47:20.151059517Z","level":"ERROR","msg":"open telemetry error","version":"unknown","environment":"unknow","error":"traces export: Post "http:///v1/traces": http: no Host in request URL","name":"probod.unit.traces"} {"time":"2025-08-21T11:47:27.404411972Z","level":"INFO","msg":"GET /console/v1 200 3.6kB 694.094µs","version":"unknown","environment":"unknow","http_server_addr":"0.0.0.0:8080","http_request_method":"GET","http_request_host":"192.168.207.86:8080","http_request_path":"/api/console/v1","http_request_flavor":"HTTP/1.1","http_request_user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36","http_request_client_ip":"192.168.207.170:57124","http_request_id":"0198cc74-8e2b-7000-be3d-163345177aad","http_reponse_size":3600,"http_response_status":200,"http_request_path_pattern":"/api/console/v1","trace_id":"4d93f21cf1b252abd05e5a70be0b5916","span_id":"e2f71f0d00ad9c27","name":"probod.http.server"} {"time":"2025-08-21T11:47:28.958542997Z","level":"INFO","msg":"GET /favicon.ico 200 588B 679.714µs","version":"unknown","environment":"unknow","http_server_addr":"0.0.0.0:8080","http_request_method":"GET","http_request_host":"192.168.207.86:8080","http_request_path":"/favicon.ico","http_request_flavor":"HTTP/1.1","http_request_user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36","http_request_client_ip":"192.168.207.170:57124","http_request_id":"0198cc74-943d-7000-b4c5-5467c067e5eb","http_reponse_size":588,"http_response_status":200,"http_request_path_pattern":"/","trace_id":"4d93f21cf1b252abd05e5a70be0b5916","span_id":"0f0289fc7fa459f4","name":"probod.http.server"} {"time":"2025-08-21T11:47:30.151506166Z","level":"ERROR","msg":"open telemetry error","version":"unknown","environment":"unknow","error":"traces export: Post "http:///v1/traces": http: no Host in request URL","name":"probod.unit.traces"} {"time":"2025-08-21T11:47:59.94519604Z","level":"ERROR","msg":"cannot send email","version":"unknown","environment":"unknow","error":"cannot send email: connection error: dial tcp [::1]:1025: connect: connection refused","name":"probod"} {"time":"2025-08-21T11:48:59.948111881Z","level":"ERROR","msg":"cannot send email","version":"unknown","environment":"unknow","error":"cannot send email: connection error: dial tcp [::1]:1025: connect: connection refused","name":"probod"} {"time":"2025-08-21T11:49:56.473735834Z","level":"INFO","msg":"shutting down traces exporter","version":"unknown","environment":"unknow","name":"probod.unit.traces"} {"time":"2025-08-21T11:49:56.473809635Z","level":"INFO","msg":"shutting down metrics server","version":"unknown","environment":"unknow","name":"probod.unit.metrics"} {"time":"2025-08-21T11:49:56.473857346Z","level":"INFO","msg":"metrics server shutdown","version":"unknown","environment":"unknow","name":"probod.unit"} {"time":"2025-08-21T11:49:56.473877736Z","level":"INFO","msg":"shutting down api server","version":"unknown","environment":"unknow","trace_id":"d54d7458df93c289cf545f0df08cebaf","span_id":"c027f3cb6b70548b","name":"probod"}
Hello,
Can you give us the steps you did before the error?
Everything works fine when you run make stack-up?
You can see the UI in the browser, create an user but can't signin?
When you do docker ps what do you see?
Everything else is up and runing?
i can see the Ui in the browser but not able to loging with email and password i enter by command , curl -c cookies.txt -X POST http://localhost:8080/auth/signin
-H "Content-Type: application/json"
-d '{"email":"xxxxx","password":"xxxxxx"}' and my docker ps output is probo-app,probo-postgres,probo-mini all are fine and running also all ports are listning
0.0.0.0:8080->8080/tcp, [::]:8080->8080/tcp, 0.0.0.0:9090->9090/tcp, [::]:9090->9090/tcp , 0.0.0.0:5432->5432/tcp, [::]:5432->5432/tcp, 0.0.0.0:9000-9001->9000-9001/tcp, [::]:9000-9001->9000-9001/tcp
You sucessfully register by clicking the register link but then there is an error?
Is the user created in the database ?
Hi team,
@SachaProbo @gearnode @Grafikart Error while setting up Probo locally – database authentication failure
I was trying to set up Probo locally using the command:
bin/probod -cfg-file cfg/dev.yaml
However, the application shuts down right after starting the metrics and trace exporters. The logs end with the following error:
$ bin/probod -cfg-file cfg/dev.yaml
{"time":"2025-08-27T15:50:05.200134+05:30","level":"INFO","msg":"starting traces exporter","version":"0.51.1","environment":"prod","addr":":4317","name":"probod.unit.traces"}
{"time":"2025-08-27T15:50:05.200134+05:30","level":"INFO","msg":"starting metrics server","version":"0.51.1","environment":"prod","name":"probod.unit.metrics"}
{"time":"2025-08-27T15:50:05.200134+05:30","level":"INFO","msg":"using AlwaysSample sampler","version":"0.51.1","environment":"prod","name":"probod.unit.traces"}
{"time":"2025-08-27T15:50:05.2007018+05:30","level":"INFO","msg":"starting metrics server","version":"0.51.1","environment":"prod","addr":":9090","name":"probod.unit.metrics"}
{"time":"2025-08-27T15:50:05.2018397+05:30","level":"INFO","msg":"metrics server started","version":"0.51.1","environment":"prod","name":"probod.unit.metrics"}
{"time":"2025-08-27T15:50:05.2018397+05:30","level":"INFO","msg":"trace exporter started","version":"0.51.1","environment":"prod","name":"probod.unit.traces"}
{"time":"2025-08-27T15:50:05.2228428+05:30","level":"INFO","msg":"shutting down metrics server","version":"0.51.1","environment":"prod","name":"probod.unit.metrics"}
{"time":"2025-08-27T15:50:05.2228428+05:30","level":"INFO","msg":"shutting down traces exporter","version":"0.51.1","environment":"prod","name":"probod.unit.traces"}
{"time":"2025-08-27T15:50:05.2228428+05:30","level":"INFO","msg":"metrics server shutdown","version":"0.51.1","environment":"prod","name":"probod.unit"}
{"time":"2025-08-27T15:50:05.2271347+05:30","level":"INFO","msg":"metrics server shutdown","version":"0.51.1","environment":"prod","name":"probod.unit"}
panic: cannot migrate database schema: cannot acquire connection: failed to connect to `user=probod database=probod`: [::1]:5432 (localhost): failed SASL auth: FATAL: password authentication failed for user "probod" (SQLSTATE 28P01)
goroutine 1 [running]:
main.main()
D:/Devhub/probo/cmd/probod/main.go:34 +0xb8
Thanks in advance!
Hi team,
@SachaProbo @gearnode @Grafikart Error while setting up Probo locally – database authentication failure
I was trying to set up Probo locally using the command:
bin/probod -cfg-file cfg/dev.yamlHowever, the application shuts down right after starting the metrics and trace exporters. The logs end with the following error:
$ bin/probod -cfg-file cfg/dev.yaml {"time":"2025-08-27T15:50:05.200134+05:30","level":"INFO","msg":"starting traces exporter","version":"0.51.1","environment":"prod","addr":":4317","name":"probod.unit.traces"} {"time":"2025-08-27T15:50:05.200134+05:30","level":"INFO","msg":"starting metrics server","version":"0.51.1","environment":"prod","name":"probod.unit.metrics"} {"time":"2025-08-27T15:50:05.200134+05:30","level":"INFO","msg":"using AlwaysSample sampler","version":"0.51.1","environment":"prod","name":"probod.unit.traces"} {"time":"2025-08-27T15:50:05.2007018+05:30","level":"INFO","msg":"starting metrics server","version":"0.51.1","environment":"prod","addr":":9090","name":"probod.unit.metrics"} {"time":"2025-08-27T15:50:05.2018397+05:30","level":"INFO","msg":"metrics server started","version":"0.51.1","environment":"prod","name":"probod.unit.metrics"} {"time":"2025-08-27T15:50:05.2018397+05:30","level":"INFO","msg":"trace exporter started","version":"0.51.1","environment":"prod","name":"probod.unit.traces"} {"time":"2025-08-27T15:50:05.2228428+05:30","level":"INFO","msg":"shutting down metrics server","version":"0.51.1","environment":"prod","name":"probod.unit.metrics"} {"time":"2025-08-27T15:50:05.2228428+05:30","level":"INFO","msg":"shutting down traces exporter","version":"0.51.1","environment":"prod","name":"probod.unit.traces"} {"time":"2025-08-27T15:50:05.2228428+05:30","level":"INFO","msg":"metrics server shutdown","version":"0.51.1","environment":"prod","name":"probod.unit"} {"time":"2025-08-27T15:50:05.2271347+05:30","level":"INFO","msg":"metrics server shutdown","version":"0.51.1","environment":"prod","name":"probod.unit"} panic: cannot migrate database schema: cannot acquire connection: failed to connect to `user=probod database=probod`: [::1]:5432 (localhost): failed SASL auth: FATAL: password authentication failed for user "probod" (SQLSTATE 28P01) goroutine 1 [running]: main.main() D:/Devhub/probo/cmd/probod/main.go:34 +0xb8Thanks in advance!
Did you try make stack-up ? Are you able to connect to the database via a client?
@SachaProbo Yes, I ran make stack-up and the containers come up. However, when I run bin/probod -cfg-file cfg/dev.yaml, it exits with errors. Since I want to contribute, I am following the installation steps from the contribution guide
@SachaProbo Yes, I ran
make stack-upand the containers come up. However, when I runbin/probod -cfg-file cfg/dev.yaml, it exits with errors. Since I want to contribute, I am following the installation steps from the contribution guide
Wich system do you use ? When you connect to the DB via a client and use "postgres" as the password like in the local env it works?
I will close this issue. If you still have installation problem you can contact us on our discord.