GnuTLS fatal error on push from local commandline to remote Gitea


#1

First try at pushing a local repo up to the new Gitea remote and I get this error :

fatal: unable to access ‘https://git.domain.com/user/Test1.git/’: GnuTLS recv error (-110): The TLS connection was non-properly terminated.

Could be my config. Any suggestions on troubleshooting?


#2

Are you using the builtin SSH server? Are you plugging to OpenSSH? Does SSH work normally when you access your server?


#3

The Gitea server is behind an Nginx reverse proxy so I currently only have port 443 forwarded. I don’t have SSH port forwarded though I could, instead I SSH into the host and SSH onto the Gitea container from there. SSH works fine this way. I was trying to see it work purely over https for the webgui first. Is that possible to work with Gitea?


#4

I want to bump this thread again. - I think I only have a small problem, either with my config or my understanding. I am new to git in general so not entirely sure what I’m doing.

I know it’s not anything serious because I can migrate from the github /githubtraining/basic-example into my gitea server and it works perfectly first time.

Then when I make a new repository and follow the commands shown on the page:

Pushing an existing repository from the command line

git remote add origin git@git.domain.com:Testing/example-basic.git
git push -u origin master

The first command completes without any response. The second command fails with the error message:

fatal: unable to access ‘https://git.domain.com/user/Test1.git/’: GnuTLS recv error (-110): The TLS connection was non-properly terminated.

My Gitea server is in a container behind an NginX reverse proxy. I now have SSH direct to the container by iptables port forward from the WAN IP address but I cannot push using SSH as the user ‘git’ does not have login rights. I built the installation following these instructions, on an NginX hosting system I already had.

Any help gratefully appreciated! Thanks


#5

@howl Thanks for your reply, sorry I didn’t answer specifically before. The debian container server that gitea is installed in has SSH and I can access it normally.

I think so - I am using the SSH server in the debian container where gitea is installed.

ssh -V

gives -:

OpenSSH_6.7p1 Debian-5+deb8u3, OpenSSL 1.0.1t 3 May 2016