prismicio / slice-machine

A series of tools for developing and deploying website sections with Prismic
https://prismic.io/docs
Apache License 2.0
287 stars 53 forks source link

Version info fetches are failing with 500 error. #966

Closed madiyetov closed 1 year ago

madiyetov commented 1 year ago

Versions

Reproduction

Versions fetches are failing with 500 error: ��error��name�Error�message� Invalid GitHub Release response.

image

Steps to reproduce

I've just migrated from the old slice-machine and started it with pnpm slicemachine

What is expected?

An information about the Slice machine versions.

What is actually happening?

500 error

mdeclercq commented 1 year ago

Hi @madiyetov,

Thanks for reporting this issue. Can you confirm if this error is persistent or if it goes away after some time?

We observed that this can happen when SM makes too many calls to the github api and exceeds the rate limits. If this happens, it should resolve itself after an hour. For info, a cache was introduced in 1.0.0 to reduce the number of calls to the api. This can also happen when the Github api is not responding.

For example, one url SM relies on is https://api.github.com/repos/prismicio/slice-machine/releases.

madiyetov commented 1 year ago

I've checked, right now I can't see these error