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

covid-19.datasettes.com serving same content as cdc-vaccination-history.datasette.io #28

Open
simonw opened this issue Jan 13, 2022 · 9 comments

Comments

@simonw
Copy link
Owner

simonw commented Jan 13, 2022

Reported here: https://twitter.com/mullender/status/1481689689018880003

Did the covid datasette go offline? https://covid-19.datasettes.com/covid

@simonw
Copy link
Owner Author

simonw commented Jan 13, 2022

https://covid-19.datasettes.com/-/databases.json confirms only the cdc.db database is connected:

[
  {
    "name": "cdc",
    "path": "cdc.db",
    "size": 243044352,
    "is_mutable": false,
    "is_memory": false,
    "hash": "6ef56caef05bcdd551041bf4943587202e4dfd78d10c311baa9368959227f9e2"
  }
]

@simonw simonw transferred this issue from simonw/cdc-vaccination-history Jan 13, 2022
@simonw
Copy link
Owner Author

simonw commented Jan 13, 2022

Here's the problem: https://covid-19.datasettes.com/ is currently showing the data from https://github.com/simonw/cdc-vaccination-history / https://cdc-vaccination-history.datasette.io/ - I think I may be re-using a service name somewhere.

@simonw
Copy link
Owner Author

simonw commented Jan 13, 2022

https://github.com/simonw/cdc-vaccination-history/blob/main/.github/workflows/scrape.yml uses --service cdc-vaccination-history

https://github.com/simonw/covid-19-datasette/blob/main/.github/workflows/scheduled.yml uses --service covid-19

Maybe I messed up the DNS settings or domain settings in Cloud Run?

@simonw
Copy link
Owner Author

simonw commented Jan 13, 2022

They look correct in the "Domain mappings" panel: https://console.cloud.google.com/run/domains?project=datasette-222320

image

@simonw
Copy link
Owner Author

simonw commented Jan 13, 2022

It's not the domain mapping: https://covid-19-j7hipcg4aq-uc.a.run.app/ is the underlying Cloud Run instance for covid-19 and it, too, is serving the the CDC data right now.

@simonw
Copy link
Owner Author

simonw commented Jan 13, 2022

I have no idea how this could have happened. I'm re-running the workflow at https://github.com/simonw/covid-19-datasette/actions/workflows/scheduled.yml to see if that fixes this (with a fresh deploy), but I'd really like to understand the root cause of this. Could it be a weird Cloud Run bug?

@simonw
Copy link
Owner Author

simonw commented Jan 13, 2022

Filed a bug report with Cloud Run here: https://issuetracker.google.com/issues/214373195

@simonw
Copy link
Owner Author

simonw commented Jan 13, 2022

https://covid-19.datasettes.com/ and https://covid-19-j7hipcg4aq-uc.a.run.app/ are showing the correct things again now - running the deploy again fixed it. I'd really love to know what happened to cause this though!

@simonw simonw changed the title covid-19.datasettes.com/covid is a 404 right now! covid-19.datasettes.com serving same content as cdc-vaccination-history.datasette.io Jan 13, 2022
@mullender
Copy link

Thanks for addressing this mysterious issue so quickly! This data is really helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants