Closed Wtfitsaduck closed 1 month ago
@Wtfitsaduck Thank you for the detailed description, I will investigate this issue and come back to you shortly in the next few days.
@Wtfitsaduck I see that postgres
and minio
are missing in your Manifest. Are they available?
@Wtfitsaduck I see that
postgres
andminio
are missing in your Manifest. Are they available?
Yup! Those are running in the cluster separate of this manifest.. I have Minio at minio.minio.svc.cluster.local:6379
and postgres at homelab-cluster-16-rw.databases.svc.cluster.local:5432
. Both are known good and are in use. Minio is version RELEASE.2023-09-07T02-05-02Z
and Postgres is on version 16.1
with a custom image ghcr.io/bo0tzz/cnpgvecto.rs:16.1-v0.1.11
@Wtfitsaduck we just released v2 with a lot of fixes and container improvements, could you please try and let me know if the issue still persists within your Kubernetes deployment?
You're not kidding you did change a lot! I went ahead and rewrote my deployment and was not able to recreate this same bug. I'm still having issues with the sign up process though, the sign up confirmation email is not being sent for some reason. I'm not seeing any logs in stdout/stderr. Are there logs any where else i could use to troubleshoot? I went ahead and double checked my SMTP settings and they all look correct. I've used the same SMTP set up in other applications as well:
SMTP_HOST: smtppro.zoho.com
SMTP_PORT: "465"
SMTP_SECURE: "true"
SMTP_USERNAME: noreply@domain.com
SMTP_PASSWORD: realpassword
SMTP_SENDER_ADDRESS: noreply@domain.com
SMTP_SENDER_NAME: Voltaserve
Would you like me to add more details in this issue or would you like me to start a new one?
@Wtfitsaduck I just did a fix for the email sending issue tonight, first do a git pull
then either rebuild all your images from the source, or get the latest ones from Docker Hub with docker compose pull
, then delete all existing containers and volumes, and start everything new.
I went ahead and pulled the latest images and I'm still seeing the same behavior. Is there a debug mode or any debug logs I can look at?
In this case I need to run the Voltaserve stack in minikube and debug it, let me work on this, I will add this to the next update v2.1 because I believe strong Kubernetes support is crucial at this point. Once I do some progress on this, I will get back to you so you could test one more time on your environment. We stay in touch!
Sounds good! let me know if you need any of my deployment manifests or any help
You're not kidding you did change a lot! I went ahead and rewrote my deployment and was not able to recreate this same bug. I'm still having issues with the sign up process though, the sign up confirmation email is not being sent for some reason. I'm not seeing any logs in stdout/stderr. Are there logs any where else i could use to troubleshoot? I went ahead and double checked my SMTP settings and they all look correct. I've used the same SMTP set up in other applications as well:
SMTP_HOST: smtppro.zoho.com SMTP_PORT: "465" SMTP_SECURE: "true" SMTP_USERNAME: noreply@domain.com SMTP_PASSWORD: realpassword SMTP_SENDER_ADDRESS: noreply@domain.com SMTP_SENDER_NAME: Voltaserve
Would you like me to add more details in this issue or would you like me to start a new one?
I actually had a similar issue and you might want to check if your mail server is set-up to use TLS, or STARTTLS. If it is STARTTLS you want to have SMTP_SECURE: "false"
because otherwise it will have an SSL handshake error. You can check the logs of the IDP component to see if this is the case.
Besides that, I would recommend not running all microservices in one pod, as I feel you can scale each microservice separately. I will probably donate my helm chart once I feel it is up to my quality standards, but for now you can look at my embedded voltaserve helm chart here.
You're not kidding you did change a lot! I went ahead and rewrote my deployment and was not able to recreate this same bug. I'm still having issues with the sign up process though, the sign up confirmation email is not being sent for some reason. I'm not seeing any logs in stdout/stderr. Are there logs any where else i could use to troubleshoot? I went ahead and double checked my SMTP settings and they all look correct. I've used the same SMTP set up in other applications as well:
SMTP_HOST: smtppro.zoho.com SMTP_PORT: "465" SMTP_SECURE: "true" SMTP_USERNAME: noreply@domain.com SMTP_PASSWORD: realpassword SMTP_SENDER_ADDRESS: noreply@domain.com SMTP_SENDER_NAME: Voltaserve
Would you like me to add more details in this issue or would you like me to start a new one?
I actually had a similar issue and you might want to check if your mail server is set-up to use TLS, or STARTTLS. If it is STARTTLS you want to have
SMTP_SECURE: "false"
because otherwise it will have an SSL handshake error. You can check the logs of the IDP component to see if this is the case.Besides that, I would recommend not running all microservices in one pod, as I feel you can scale each microservice separately. I will probably donate my helm chart once I feel it is up to my quality standards, but for now you can look at my embedded voltaserve helm chart here.
Zoho does use TLS so that's not it :/ I did try without TLS just in case and got the same behavior. Not seeing logs or errors in any of the containers either way.
Strange, yes, in my case the errors were really clear in IDP where it was complaining about SSL. So maybe double check if the call is indeed reaching the API server. I have noticed that the proxy just doesn't report errors with connectivity, which caused me to chase a little typo for over a day :sweat_smile:
Our team is working on an excellent Helm charts implementation: https://github.com/kouprlabs/voltaserve-helm Feel free to try it and give us some feedback ;)
Intro
Hello! I want to first of all say thank you for this project. It looks great and I look forward to its future! I tried standing up this service in a Kubernetes pod and ran into a very weird issue that I'm not quite sure what the cause of it is.
The error
When trying to sign up through the UI, I get the following error in the UI container:
I have made absolute sure that the containers are able to communicate with each others and they're reachable through the pod internal network. I was able to curl the API container from the UI container.
Here are the raw requests and responses being made (with redactions):
Request:
Response:
Context
I am running everything in kubernetes via ArgoCD. Other containers are able to communicate with each others correctly. This is my ArgoCD helm manifest:
Manifest
I used the following environment variables, with redactions of course:
Secrets
Please let me know if you need any more details or if I'm just doing something dumb (very likely lol!) I could just be missing something obvious.