# Running into unknown GitHub error when pushing to GitHub

**URL:** <https://discuss.circleci.com/t/running-into-unknown-github-error-when-pushing-to-github/28593>\
**Category:** Integrations and Accounts\
**Created:** [February 25, 2019, 12:07pm UTC](https://discuss.circleci.com/t/running-into-unknown-github-error-when-pushing-to-github/28593 "2019-02-25T12:07:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![perl2ruby](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/perl2ruby/32/21004_2.png) [@perl2ruby](https://discuss.circleci.com/u/perl2ruby)\
**Post date:** [February 25, 2019, 12:07pm UTC](https://discuss.circleci.com/t/running-into-unknown-github-error-when-pushing-to-github/28593/1 "2019-02-25T12:07:38Z")

</div>

As part of a workflow we have a job that pushes an update to the github repo (which is part of github org account). This used to work and seems to have stopped working a couple of days ago.

----- The error is displayed below ------  
Pushing changes to ‘origin’  
ERROR: You must verify your email address.  
See [https://github.com/settings/emails](https://github.com/settings/emails).  
fatal: Could not read from remote repository.

Please make sure you have the correct access rights  
and the repository exists.  
ERROR: Hit an unknown Git error. Exit code: 128. Stderr: see output above in the log. Stdout:

## Exited with code 1

After ssh to the box suggested (ssh -p host), have checked:  
user.name, user.email and push.default that the settings are good and that the user.email value matches the email associated with user.name in github and the email is verified.

A manual attempt to push from the box seems to work. I have reached out to github support and waiting to hear back.

Is there anything I could check in circleCI that could help?

Thanks

---

<div class="post-metadata">

**Author:** ![drazisil](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/drazisil/32/24029_2.png) [@drazisil](https://discuss.circleci.com/u/drazisil)\
**Post date:** [February 25, 2019, 1:33pm UTC](https://discuss.circleci.com/t/running-into-unknown-github-error-when-pushing-to-github/28593/2 "2019-02-25T13:33:13Z")

</div>

Check that the [https://circleci.com/gh/:org/:repo/edit#ssh](https://circleci.com/gh/:org/:repo/edit#ssh) page contains the SSH key you think it does. Otherwise, it does sound like GitHub doesn’t like the key there. You may want to double-check that the key is still on GitHub.

---

<div class="post-metadata">

**Author:** ![perl2ruby](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/perl2ruby/32/21004_2.png) [@perl2ruby](https://discuss.circleci.com/u/perl2ruby)\
**Post date:** [February 25, 2019, 6:32pm UTC](https://discuss.circleci.com/t/running-into-unknown-github-error-when-pushing-to-github/28593/3 "2019-02-25T18:32:43Z")

</div>

Thanks @drazisil

turns out that `ssh -T` revealed a different email address that needed to be verified. Once that was verified, it worked.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [March 7, 2019, 6:42pm UTC](https://discuss.circleci.com/t/running-into-unknown-github-error-when-pushing-to-github/28593/4 "2019-03-07T18:42:55Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
