# Any commit fails with invalid header value

**URL:** <https://forum.gitea.com/t/any-commit-fails-with-invalid-header-value/2155>\
**Category:** Install/Maintain/Configure\
**Created:** [May 14, 2020, 10:42am UTC](https://forum.gitea.com/t/any-commit-fails-with-invalid-header-value/2155 "2020-05-14T10:42:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![David](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@David](https://forum.gitea.com/u/David)\
**Post date:** [May 15, 2020, 7:58am UTC](https://forum.gitea.com/t/any-commit-fails-with-invalid-header-value/2155/2 "2020-05-15T07:58:15Z")

</div>

Yup, I’ve got that, too:

> [@Backup/Restore to new version -\> Internal Server Error](https://forum.gitea.com/t/backup-restore-to-new-version-internal-server-error/2149):
>
> Hi, I just tried to move gitea from a docker env to a kubernetes env using the newest version. Gitea is runing, I can login with my know users, I can pull a repository, I can create a repository and I can search through repositories. But trying to push changes to gitea to an existing repository gives me the following error: Total 38 (delta 17), reused 0 (delta 0) remote: Gitea: Internal Server Error remote: Unable to contact gitea: Post http://0.0.0.0:3000/api/internal/hook/pre-receive/sys/k8…

---

_[View the full topic](https://forum.gitea.com/t/any-commit-fails-with-invalid-header-value/2155)._
