Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test-stack] No Governance Actions are displayed #1651

Closed
mesudip opened this issue Aug 1, 2024 · 3 comments
Closed

[test-stack] No Governance Actions are displayed #1651

mesudip opened this issue Aug 1, 2024 · 3 comments
Assignees
Labels
🐛 Bug Something isn't working

Comments

@mesudip
Copy link
Contributor

mesudip commented Aug 1, 2024

On test deployment, no governance actions are displayed.

Context & versions

commit: b85441e
link: https://govtool.cardanoapi.io/connected/governance_actions

Backend config

{
  "dbsyncconfig" : {
    "host"     : "postgres",
    "dbname"   : "govtool_dbsync",
    "user"     : "postgres",
    "password" : "------xxx----------",
    "port"     : 5432
  },
  "port" : 8080,
  "host" : "0.0.0.0",
  "cachedurationseconds": 20,
  "sentrydsn": "<redacted>",
  "metadatavalidationhost": "http://metadata-validation",
  "metadatavalidationport": 3000,
  "metadatavalidationmaxconcurrentrequests": 10
}

Backend logs

[ec2-user@ip-10-0-1-213 ~]$ docker logs 260b73dd5e64 | tail -n 30
listening on Host "0.0.0.0":8080
  requestVersion       = HTTP/1.1
  proxySecureMode      = ProxySecureWithConnect
}
 ConnectionTimeout
Failed to validate metadata for URL: http://cool.stuff with error: HttpExceptionRequest Request {
  host                 = "metadata-validation"
  port                 = 3000
  secure               = False
  requestHeaders       = [("Content-Type","application/json")]
  path                 = "/validate"
  queryString          = ""
  method               = "POST"
  proxy                = Nothing
  rawBody              = False
  redirectCount        = 10
  responseTimeout      = ResponseTimeoutDefault
  requestVersion       = HTTP/1.1
  proxySecureMode      = ProxySecureWithConnect
}
 ConnectionTimeout
Failed to validate metadata for URL: https://raw.githubusercontent.com/wafflepool-cardano/drep-demo/main/Dim_Rep_Sum.jsonld with error: HttpExceptionRequest Request {
  host                 = "metadata-validation"
  port                 = 3000
  secure               = False
  requestHeaders       = [("Content-Type","application/json")]
  path                 = "/validate"
  queryString          = ""
  method               = "POST"
  proxy                = Nothing
  rawBody              = False
[ec2-user@ip-10-0-1-213 ~]$ docker exec -it 260b73dd5e64 curl metadata-validation:3000/validate -XPOST \
 -d '{"url":"https://raw.githubusercontent.com/wafflepool-cardano/drep-demo/main/Dim_Rep_Sum.jsonld"}' \
 -H 'content-type:application/json';echo;
{"status":"INCORRECT_FORMAT","valid":false}
[ec2-user@ip-10-0-1-213 ~]$ 
@mesudip
Copy link
Contributor Author

mesudip commented Aug 1, 2024

Maybe related: #1623

@mesudip mesudip added the 🐛 Bug Something isn't working label Aug 1, 2024
@MSzalowski
Copy link
Contributor

Please refresh the stack. Recent backend version isn't calling the metadata-validation service - this service is called directly by frontend

@MSzalowski MSzalowski assigned mesudip and unassigned MSzalowski Aug 5, 2024
@mesudip
Copy link
Contributor Author

mesudip commented Aug 6, 2024

This has been fixed in #1666

@bosko-m bosko-m closed this as completed Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants