Closed
Description
Description
Save your time:
1.17.4 is good but 1.18.0 has a bug:
dial tcp: lookup localhost on 114.114.114.114:53: no such host
Detailed:
I use 1.18.0 Gitea, when I push files, occur:
$ git push
Enumerating objects: 4, done.
Counting objects: 100% (4/4), done.
Delta compression using up to 20 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 305 bytes | 305.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
remote:
remote: Gitea: Internal Server Error
remote: Unable to contact gitea: Post "http://localhost:3000/api/internal/hook/pre-receive/jinyang/test": dial tcp: lookup localhost on 114.114.114.114:53: no such host
To http://localhost:3000/jinyang/test.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://localhost:3000/jinyang/test.git'
I searched some related issues but finally failed to fix this.
Then I installed 1.17.4 Gitea and this problem gone.
Then I re-installed 1.18.0 Gitea again and still can not push.
Gitea Version
1.18.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
NA
Git Version
git version 2.39.0.windows.2
Operating System
WINDOWS 11
How are you running Gitea?
download binary on https://dl.gitea.io/gitea
[gitea-1.18.0-windows-4.0-amd64.exe]
download it on my PC and move it to D:\Program Files\Gitea, then double click the gitea-1.18.0-windows-4.0-amd64.exe
Database
SQLite