ossf / scorecard-action

Official GitHub Action for OpenSSF Scorecard.
Apache License 2.0
240 stars 67 forks source link

HTTP 500 error when running the action on ubuntu-24.04 runner #1381

Closed afuetterer closed 1 month ago

afuetterer commented 2 months ago

Hi,

I just recently updated a few of my CI workflows to use ubuntu-24.04. I then realized that the scorecard-action (v2.3.3) failed with HTTP 500.

2024/05/17 15:32:14 error sending scorecard results to webapp: http response 500, status: 500 Internal Server Error, error: {"code":500,"message":"something went wrong and we are looking into it."}

2024/05/17 15:32:14 retrying in 1s...
2024/05/17 15:32:16 error sending scorecard results to webapp: http response 500, status: 500 Internal Server Error, error: {"code":500,"message":"something went wrong and we are looking into it."}

2024/05/17 15:32:16 retrying in 3s...
2024/05/17 15:32:19 error sending scorecard results to webapp: http response 500, status: 500 Internal Server Error, error: {"code":500,"message":"something went wrong and we are looking into it."}

2024/05/17 15:32:19 retrying in 10s...
2024/05/17 15:32:29 error processing signature: error sending scorecard results to webapp: http response 500, status: 500 Internal Server Error, error: {"code":500,"message":"something went wrong and we are looking into it."}

See https://github.com/afuetterer/oaipmh-scythe/actions/runs/9129167750/job/25108096361

Is the runner not supported or am I doing something wrong here?

spencerschrock commented 1 month ago

It's not supported, but only because it's new/beta and we didn't add it yet. https://github.com/ossf/scorecard-webapp/blob/7af00ace6390e4e3eef8a88a1d6d35f7bfff33ab/app/server/verify_workflow.go#L52-L60

Should be fixed after https://github.com/ossf/scorecard-webapp/pull/637 is merged and deployed to our API. No change will be needed on your end

afuetterer commented 1 month ago

Thanks for the response, looking forward to it.

spencerschrock commented 1 month ago

Still need to deploy this to the webapp, so not quite fixed yet

spencerschrock commented 1 month ago

This is now deployed