yegor256 / 0pdd

Puzzle Driven Development (PDD) Chatbot Assistant for Your GitHub Repositories
https://www.0pdd.com
MIT License
129 stars 32 forks source link

0pdd can't submit puzzles to GitHub: tls: failed to verify certificate: x509: certificate has expired or is not yet valid #689

Closed h1alexbel closed 1 month ago

h1alexbel commented 1 month ago

interaction via GitHub Webhooks is broken, for now robot can't send issues and reply to commits. I think this problem is a root cause:

We couldn't deliver this payload: tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2024-10-03T13:01:00Z is after 2024-10-01T23:39:09Z
{
  "ref": "refs/heads/collect",
  "before": "af8d8dfd936a11e0576a692dfeb5e65e97d69fd6",
  "after": "442c590f4d58d7fe46a9a82f73901090c852e795",
  "repository": {
    "id": 823744192,
    "node_id": "R_kgDOMRlWwA",
    "name": "sr-detection",
    "full_name": "h1alexbel/sr-detection",
    "private": false,
    "owner": {
      "name": "h1alexbel",
      "email": "h1alexbelx@gmail.com",
      "login": "h1alexbel",
      "id": 83453843,
      "node_id": "MDQ6VXNlcjgzNDUzODQz",
      "avatar_url": "https://avatars.githubusercontent.com/u/83453843?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/h1alexbel",
      "html_url": "https://github.com/h1alexbel",
      "followers_url": "https://api.github.com/users/h1alexbel/followers",
      "following_url": "https://api.github.com/users/h1alexbel/following{/other_user}",
      "gists_url": "https://api.github.com/users/h1alexbel/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/h1alexbel/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/h1alexbel/subscriptions",
      "organizations_url": "https://api.github.com/users/h1alexbel/orgs",
      "repos_url": "https://api.github.com/users/h1alexbel/repos",
      "events_url": "https://api.github.com/users/h1alexbel/events{/privacy}",
      "received_events_url": "https://api.github.com/users/h1alexbel/received_events",
      "type": "User",
      "site_admin": false
    },
    "html_url": "https://github.com/h1alexbel/sr-detection",
    "description": "Identifying GitHub \"sample repositories\" (SR), that mostly contain educational or demonstration materials supposed to be copied instead of reused as a dependency",
    "fork": false,
    "url": "https://github.com/h1alexbel/sr-detection",
    "forks_url": "https://api.github.com/repos/h1alexbel/sr-detection/forks",
    "keys_url": "https://api.github.com/repos/h1alexbel/sr-detection/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/h1alexbel/sr-detection/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/h1alexbel/sr-detection/teams",
    "hooks_url": "https://api.github.com/repos/h1alexbel/sr-detection/hooks",
    "issue_events_url": "https://api.github.com/repos/h1alexbel/sr-detection/issues/events{/number}",
    "events_url": "https://api.github.com/repos/h1alexbel/sr-detection/events",
    "assignees_url": "https://api.github.com/repos/h1alexbel/sr-detection/assignees{/user}",
    "branches_url": "https://api.github.com/repos/h1alexbel/sr-detection/branches{/branch}",
    "tags_url": "https://api.github.com/repos/h1alexbel/sr-detection/tags",
    "blobs_url": "https://api.github.com/repos/h1alexbel/sr-detection/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/h1alexbel/sr-detection/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/h1alexbel/sr-detection/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/h1alexbel/sr-detection/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/h1alexbel/sr-detection/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/h1alexbel/sr-detection/languages",
    "stargazers_url": "https://api.github.com/repos/h1alexbel/sr-detection/stargazers",
    "contributors_url": "https://api.github.com/repos/h1alexbel/sr-detection/contributors",
    "subscribers_url": "https://api.github.com/repos/h1alexbel/sr-detection/subscribers",
    "subscription_url": "https://api.github.com/repos/h1alexbel/sr-detection/subscription",
    "commits_url": "https://api.github.com/repos/h1alexbel/sr-detection/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/h1alexbel/sr-detection/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/h1alexbel/sr-detection/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/h1alexbel/sr-detection/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/h1alexbel/sr-detection/contents/{+path}",
    "compare_url": "https://api.github.com/repos/h1alexbel/sr-detection/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/h1alexbel/sr-detection/merges",
    "archive_url": "https://api.github.com/repos/h1alexbel/sr-detection/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/h1alexbel/sr-detection/downloads",
    "issues_url": "https://api.github.com/repos/h1alexbel/sr-detection/issues{/number}",
    "pulls_url": "https://api.github.com/repos/h1alexbel/sr-detection/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/h1alexbel/sr-detection/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/h1alexbel/sr-detection/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/h1alexbel/sr-detection/labels{/name}",
    "releases_url": "https://api.github.com/repos/h1alexbel/sr-detection/releases{/id}",
    "deployments_url": "https://api.github.com/repos/h1alexbel/sr-detection/deployments",
    "created_at": 1720023086,
    "updated_at": "2024-10-03T12:59:32Z",
    "pushed_at": 1727960459,
    "git_url": "git://github.com/h1alexbel/sr-detection.git",
    "ssh_url": "git@github.com:h1alexbel/sr-detection.git",
    "clone_url": "https://github.com/h1alexbel/sr-detection.git",
    "svn_url": "https://github.com/h1alexbel/sr-detection",
    "homepage": "",
    "size": 4018,
    "stargazers_count": 6,
    "watchers_count": 6,
    "language": "Python",
    "has_issues": true,
    "has_projects": true,
    "has_downloads": true,
    "has_wiki": true,
    "has_pages": false,
    "has_discussions": false,
    "forks_count": 0,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 13,
    "license": {
      "key": "mit",
      "name": "MIT License",
      "spdx_id": "MIT",
      "url": "https://api.github.com/licenses/mit",
      "node_id": "MDc6TGljZW5zZTEz"
    },
    "allow_forking": true,
    "is_template": false,
    "web_commit_signoff_required": false,
    "topics": [
      "empirical-software-engineering",
      "github-repositories",
      "machine-learning",
      "research-paper"
    ],
    "visibility": "public",
    "forks": 0,
    "open_issues": 13,
    "watchers": 6,
    "default_branch": "master",
    "stargazers": 6,
    "master_branch": "master"
  },
  "pusher": {
    "name": "github-actions[bot]",
    "email": null
  },
  "sender": {
    "login": "github-actions[bot]",
    "id": 41898282,
    "node_id": "MDM6Qm90NDE4OTgyODI=",
    "avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/github-actions%5Bbot%5D",
    "html_url": "https://github.com/apps/github-actions",
    "followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
    "following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
    "gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
    "organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
    "repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
    "events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
    "received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
    "type": "Bot",
    "site_admin": false
  },
  "created": false,
  "deleted": false,
  "forced": false,
  "base_ref": null,
  "compare": "https://github.com/h1alexbel/sr-detection/compare/af8d8dfd936a...442c590f4d58",
  "commits": [
    {
      "id": "442c590f4d58d7fe46a9a82f73901090c852e795",
      "tree_id": "73249e215b72e35bb2ce16e262de4584012b57f7",
      "distinct": true,
      "message": "Deploying to collect from @ h1alexbel/sr-detection@c5fd9d1571f68c180b8242cf0be644e27c7a5e5a 🚀",
      "timestamp": "2024-10-03T13:00:58Z",
      "url": "https://github.com/h1alexbel/sr-detection/commit/442c590f4d58d7fe46a9a82f73901090c852e795",
      "author": {
        "name": "h1alexbel",
        "email": "h1alexbel@users.noreply.github.com",
        "username": "h1alexbel"
      },
      "committer": {
        "name": "h1alexbel",
        "email": "h1alexbel@users.noreply.github.com",
        "username": "h1alexbel"
      },
      "added": [
        "test-maven/after-extract.csv",
        "test-maven/after-filter.csv",
        "test-maven/after-maven.csv",
        "test-maven/repos-with-pulls.csv",
        "test-maven/repos.csv"
      ],
      "removed": [

      ],
      "modified": [

      ]
    }
  ],
  "head_commit": {
    "id": "442c590f4d58d7fe46a9a82f73901090c852e795",
    "tree_id": "73249e215b72e35bb2ce16e262de4584012b57f7",
    "distinct": true,
    "message": "Deploying to collect from @ h1alexbel/sr-detection@c5fd9d1571f68c180b8242cf0be644e27c7a5e5a 🚀",
    "timestamp": "2024-10-03T13:00:58Z",
    "url": "https://github.com/h1alexbel/sr-detection/commit/442c590f4d58d7fe46a9a82f73901090c852e795",
    "author": {
      "name": "h1alexbel",
      "email": "h1alexbel@users.noreply.github.com",
      "username": "h1alexbel"
    },
    "committer": {
      "name": "h1alexbel",
      "email": "h1alexbel@users.noreply.github.com",
      "username": "h1alexbel"
    },
    "added": [
      "test-maven/after-extract.csv",
      "test-maven/after-filter.csv",
      "test-maven/after-maven.csv",
      "test-maven/repos-with-pulls.csv",
      "test-maven/repos.csv"
    ],
    "removed": [

    ],
    "modified": [

    ]
  }
}

@yegor256 pay to this issue, please

yegor256 commented 1 month ago

@h1alexbel works just fine in our repository (objectionary/eo):

Screenshot 2024-10-03 at 20 38 21

Maybe you can just try to "redeliver"?

yegor256 commented 1 month ago

@h1alexbel wait a min, I see the problem, you use rehttp.net. I will fix it now.

yegor256 commented 1 month ago

@h1alexbel should be OK now, thanks for reporting

h1alexbel commented 1 month ago

@yegor256 works now, thanks!