codecov / codecov-exe

.exe report uploader for Codecov https://codecov.io
MIT License
25 stars 21 forks source link

HTTP 400 Invalid signature #94

Closed nuhkoca closed 4 years ago

nuhkoca commented 4 years ago

Hi all,

I am not sure if this is the right place for this. In any convenience, please let me know.

I am uploading my report via CircleCI and it generally finishes successfully. However, my reports are not uploaded on my repository under codecov.io

CircleCI config

version: 2.1
orbs:
  codecov: codecov/codecov@1.0.5
jobs:
  build:
    ...
    environment:
   ...
    steps:
     ...
      - codecov/upload:
          file: report.xml
          flags: android

CircleCI response

==> Circle CI detected.
    project root: .
    Yaml found at: .codecov.yml
    -> Found 1 reports
==> Detecting git/mercurial file structure
==> Reading reports
    + report.xml bytes=113994
==> Appending adjustments
    http://docs.codecov.io/docs/fixing-reports
    + Found adjustments
==> Gzipping contents
==> Uploading reports
    url: https://codecov.io
    query: xxx
    -> Pinging Codecov
xxx
    -> Uploading
    -> View reports at xxx

However, webhook throws below error:

HTTP 400
Invalid signature

Deliver request

Request URL: https://codecov.io/webhooks/github
Request method: POST
content-type: application/json
Expect: 
User-Agent: GitHub-Hookshot/f1003bc
X-GitHub-Delivery: 0e89016e-071a-11ea-8525-xxx
X-GitHub-Event: status
X-Hub-Signature: sha1=32a9xxx

It would be appreciated if you help me. Thanks in advance!

AdmiringWorm commented 4 years ago

From the look of it, you are not using the C# version of the client (which this repo is maintaining).

It looks like the bash edition, in which case it would be better to ask the people maintaining that one: https://github.com/codecov/codecov-bash

nuhkoca commented 4 years ago

Thanks @AdmiringWorm , sorry for the inconvenience again.