Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[TODO] Explore handling HTTP errors on Rektor flakiness #364

Open
Assignees
webknjazwoodruffw
Labels
bugSomething isn't working
@webknjaz

Description

@webknjaz

@woodruffw@facutuesca we recently saw an HTTP 502 and a traceback in the attestations flow:

Traceback (most recent call last):  File"/root/.local/lib/python3.12/site-packages/sigstore/_internal/rekor/client.py", line160, inpost    resp.raise_for_status()  File"/root/.local/lib/python3.12/site-packages/requests/models.py", line1024, inraise_for_statusraise HTTPError(http_error_msg,response=self)requests.exceptions.HTTPError:502 Server Error: Bad Gateway for url: https://rekor.sigstore.dev/api/v1/log/entries/During handling of the above exception, another exception occurred:Traceback (most recent call last):  File"/app/attestations.py", line149, in<module>    main()  File"/app/attestations.py", line145, inmain    attest_dist(dist_path, attestation_path, signer)  File"/app/attestations.py", line114, inattest_dist    attestation= Attestation.sign(signer, dist)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/root/.local/lib/python3.12/site-packages/pypi_attestations/_impl.py", line200, insign    bundle= signer.sign_dsse(stmt)^^^^^^^^^^^^^^^^^^^^^^  File"/root/.local/lib/python3.12/site-packages/sigstore/sign.py", line230, insign_dssereturnself._finalize_sign(cert, content, proposed_entry)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/root/.local/lib/python3.12/site-packages/sigstore/sign.py", line189, in_finalize_sign    entry=self._signing_ctx._rekor.log.entries.post(proposed_entry)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/root/.local/lib/python3.12/site-packages/sigstore/_internal/rekor/client.py", line162, inpostraise RekorClientError(http_error)sigstore._internal.rekor.client.RekorClientError:Rekor returned an unknown error with HTTP 502

(https://github.com/aio-libs/aiohttp/actions/runs/15359675323/job/43225662768#step:9:384)

Mind taking a look?

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp