Skip to content

Github server error 502 during Get Release handler #53

@beyarkay

Description

@beyarkay

I'm getting an error (link) that I can't figure out:

...
· Check SemVer compliance of the reference/tag
· Get GitHub API handler (authenticate)
· Get Repository handler
· Get Release handler
Traceback (most recent call last):                                 <---- error starts here
· RM set. All previous assets are being cleared...
  File "/releaser.py", line 179, in <module>
 - eastern-cape-graaf-reinet.ics
    asset.delete_asset()
  File "/usr/local/lib/python3.9/site-packages/github/GitReleaseAsset.py", line 138, in delete_asset
    headers, data = self._requester.requestJsonAndCheck("DELETE", self.url)
  File "/usr/local/lib/python3.9/site-packages/github/Requester.py", line 353, in requestJsonAndCheck
    return self.__check(
  File "/usr/local/lib/python3.9/site-packages/github/Requester.py", line 378, in __check
    raise self.__createException(status, responseHeaders, output)
github.GithubException.GithubException: 502 {"message": "Server Error"}

My workflow looks like:

      uses: pyTooling/Actions/releaser@main
      with:
        tag: latest
        rm: true
        token: ${{ secrets.GITHUB_TOKEN }}
        files: calendars/*.*

Not sure what the issue here is, or if it's even a permanent one? (as opposed to github just being broken?)

Here's the link to the release in question that I was trying to update: https://github.com/beyarkay/eskom-calendar/releases/tag/latest.
The asset in question (eastern-cape-graaf-reinet.ics) doesn't exist in the release but I think it does exist in the new list of assets to be uploaded, maybe that's the issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    ReleaserAction 'releaser'

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions