Cache: Cache service responded with 404

Created on 14 Nov 2019  路  2Comments  路  Source: actions/cache

I'm trying to cache the ccache directory, it fails with warning Cache service responded with 404 and cache doesn't get saved.. The weird thing is it happens only on one job repeatedly. The size of the cache is around 25M which is way less than 400M.

https://github.com/rashedmyt/turtlecoin/runs/303082196

The remaining jobs are getting cached perfectly..

bug

Most helpful comment

Hi @rashedmyt. It's likely failing because of the + in the cache key - ccache-linux-g++-7. You should be able to fix this by either changing the matrix label or sanitizing the key to remove the invalid characters. See this comment for an example of sanitizing the key - https://github.com/actions/cache/issues/53#issuecomment-552052769

Please note that we are working on a fix for this issue, but until it is released you will need to use one of the workarounds above.

All 2 comments

Hi @rashedmyt. It's likely failing because of the + in the cache key - ccache-linux-g++-7. You should be able to fix this by either changing the matrix label or sanitizing the key to remove the invalid characters. See this comment for an example of sanitizing the key - https://github.com/actions/cache/issues/53#issuecomment-552052769

Please note that we are working on a fix for this issue, but until it is released you will need to use one of the workarounds above.

Thanks for the quick reply, renaming the label worked..

Was this page helpful?
0 / 5 - 0 ratings