You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[warning]Cache service responded with 503 during chunk upload. #259
Could you please post here or e-mail the org and repo name to dhadka (at) github (dot) com? I'll then take a look at the logs to see what's causing the 503s.
This is a quite frequent and useless issue with Mac OS. If it does not have internet connection/whatever error, it should not fail my build by any means other than making us waist time looking at why the build failed.
@evandrocoan Tracking the fix with this issue: #287. There's an unhandled 'error' event coming from NodeJS. Even though the upload call is within a try-catch block, it's still failing.
I'm seeing this intermittently on my self-hosted macOS runners. It's very annoying since it requires my to re-run all of my jobs on something that should just be an optimization.
@dhadka looks like the error handling has been fixed in master. However, it's still very annoying that it happens, since losing a cache means more CI time. Are there any plans to fix the underlying issue?
@wagenet We have a bunch of fixes being ported to @v1 at the moment - #308. That should help significantly with the lost cache issue caused by upload errors.
If you do have a self hosted runner with potentially slow upload speeds, you could also consider setting the CACHE_UPLOAD_CHUNK_SIZE env var on the cache step to something smaller. The default is 33554432 (32 MBs). Using smaller chunks could help ensure each upload completes within the request timeout (60 seconds).
Edit: Having said that, we'll be looking next at the server-side to see if there is room for improvement there.
@dhadka Thanks. FWIW, I've got a claimed 25Mbps upload, speed tests are getting between 15 and 20 right now. (I'm using a runner on my local machine right now.)
Activity
dhadka commentedon Apr 14, 2020
Could you please post here or e-mail the org and repo name to dhadka (at) github (dot) com? I'll then take a look at the logs to see what's causing the 503s.
dhadka commentedon Apr 20, 2020
Given a few issues have been opened reporting this problem, I've created a "catch all" issue to track the investigation and mitigation: #267
evandrocoan commentedon May 3, 2020
I am also getting it with Mac OS: ankitects/anki#584 - https://github.com/ankitects/anki/pull/584/checks?check_run_id=639592894#step:56:3
This is a quite frequent and useless issue with Mac OS. If it does not have internet connection/whatever error, it should not fail my build by any means other than making us waist time looking at why the build failed.
dhadka commentedon May 3, 2020
@evandrocoan Tracking the fix with this issue: #287. There's an unhandled 'error' event coming from NodeJS. Even though the upload call is within a try-catch block, it's still failing.
wagenet commentedon May 7, 2020
I'm seeing this intermittently on my self-hosted macOS runners. It's very annoying since it requires my to re-run all of my jobs on something that should just be an optimization.
dhadka commentedon May 8, 2020
PR to handle error events on streams - #300
wagenet commentedon May 12, 2020
@dhadka looks like the error handling has been fixed in master. However, it's still very annoying that it happens, since losing a cache means more CI time. Are there any plans to fix the underlying issue?
evandrocoan commentedon May 12, 2020
Now I am having issues of the cache post-action handling indefinitely and having the job canceled by CI: (https://github.com/ankitects/anki/runs/666759676)

dhadka commentedon May 12, 2020
@wagenet We have a bunch of fixes being ported to @v1 at the moment - #308. That should help significantly with the lost cache issue caused by upload errors.
If you do have a self hosted runner with potentially slow upload speeds, you could also consider setting the
CACHE_UPLOAD_CHUNK_SIZEenv var on the cache step to something smaller. The default is33554432(32 MBs). Using smaller chunks could help ensure each upload completes within the request timeout (60 seconds).Edit: Having said that, we'll be looking next at the server-side to see if there is room for improvement there.
wagenet commentedon May 12, 2020
@dhadka Thanks. FWIW, I've got a claimed 25Mbps upload, speed tests are getting between 15 and 20 right now. (I'm using a runner on my local machine right now.)
dhadka commentedon May 27, 2021
Should be fixed by #596. Please let me know if you continue to see these errors.