Validator Not Working #13
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The validator does not seem to be receiving/running nats events whether that is due to nats or rust or something else. As I don't know how to access the server logs and configuration, I cannot debug this. The validator can be triggered by setting the StatusID of a submission to 1 in the database and then clicking the "Accept" button on the submission page (https://maps.staging.strafes.net/submissions/2).
Try again:
Seems like it's at least running now, thanks.
I don't know how I broke it, it's working on my local docker compose... I really thought StrafesNET/infra#3 would fix it. Impossible to debug on staging when I can't see the console.
Debugging:
Edit: looking at
4fec1bba47
, could it ever have been working at all? Appending/v1
was typo'd asv1/
... it sure seemed like it was working.Edit2: looking at an older commit
ecb88c14a4
this must have been when it broke. I don't know why StrafesNET/infra#3 didn't fix it.I can get you logs access via the ArgoCD dashboard, I just need to setup the SSO roles for it. As for the rest of this: write better code/skill issue
Log access has been provided.
The validator is receiving nats events, but cannot report its output to the internal api.
The error I'm seeing is the following:
When trying to connect to the URL:
http://maptest-api:8081/v1/submissions/5/status/validator-failed
Try again, kustomize was injecting labels that caused traffic to route to unintended services:
a49c65a8d6
https://maps.staging.strafes.net/ is showing HTTP 503
Staging builds get garbage collected after 24hrs so I had to re-run the pipeline to get a new image built. It's up now.
Mission success.