Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coveralls is returning 422 Unprocessable Entity #279

Closed
afn opened this issue Apr 9, 2014 · 12 comments
Closed

Coveralls is returning 422 Unprocessable Entity #279

afn opened this issue Apr 9, 2014 · 12 comments

Comments

@afn
Copy link

afn commented Apr 9, 2014

Running rake coveralls:push from Travis shows a 422 error with the following body:

{"message":"Couldn't find a repository matching this job.","error":true}

Nothing changed on our end.

I regenerated the Coveralls token (and updated .coveralls.yml accordingly); this made no difference.

@dhalperi
Copy link

Same bug here. Any insight?

@cmaurer
Copy link

cmaurer commented Apr 14, 2014

@afn @dhalperi
I had the same problem with Travis-CI and JavaScript, and I was able to get around it by using environment variables rather than using the .coveralls.yml.

  - export COVERALLS_SERVICE_NAME=travis-ci
  - export COVERALLS_REPO_TOKEN=abc12345

@renan
Copy link

renan commented Apr 15, 2014

I am having the same issue with Private Repositories on Travis-Pro.

I had an existing repository, which was already sending reports to coveralls, re-run a build and it failed to send data. Added a new repository, same issue.

@dhalperi
Copy link

@cmaurer that approach did not work with travis-pro.

@nickmerwin
Copy link
Member

Hi all we're looking into this issue now!

@nickmerwin
Copy link
Member

Ok, found the cause, Travis-Pro rolled all of their API tokens for heartbleed; I've done the same on our side. Please log in again to Coveralls to make sure we have a valid Github token, then the next job that we process will update our Travis-Pro token.

Thank you everyone for your patience!

@dhalperi
Copy link

Worked! Thanks @nickmerwin

@renan
Copy link

renan commented Apr 15, 2014

Thanks! 👍

@charliequinn
Copy link

Hi guys,

I'm still seeing this issue (on travis-pro)

  • I deleted my existing repo from coveralls (only signed up yesterday)
  • Added it again
  • updated .coveralls.yml with service_name and new repo_token value

still returns 422.

If I don't set service_name then it does update the coveralls repo with my coverage stats, however, it seems to find the build information for a random travis-ci job.

Any help would be greatly appreciated. Am I missing something?

@nickmerwin
Copy link
Member

@charliequinn hi, could you send me the name of the repo on which this is occurring here: support@coveralls.io ?

@charliequinn
Copy link

Thanks Nick

I've sent the name of the repo, plus json sent and response to support.

@thoutbeckers
Copy link

Seems like we have this issue when a fork of our private repo is built, if that helps. These don't normally get built by Travis, but they do in case of a pull request.

edit: this is because Travis doesn't expose secure tokens on a PR build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants