-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
💊 bugSomething isn't workingSomething isn't working
Milestone
Description
Gogs version
0.12.6
Git version
- Server: git version 2.19.1.windows.1
- Client: git version 2.28.0.windows.1
Operating system
windows 10
Database
MySQL 5.6
Describe the bug
Start gogs, SSH pull and synchronization codes are normal, but they are abnormal after a few days of use, restart gogs will be ok。
the error info:
client:
Gogs: Internal error
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Server:
xorm.log: Table user has column login_type but struct has not related field
gogs.log
2022/03/31 00:10:34 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 00:10:34 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 00:30:34 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 00:30:34 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 00:30:34 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 00:34:26 [ WARN] SSH: Handshaking was terminated: EOF
2022/03/31 02:15:37 [ WARN] SSH: Handshaking was terminated: EOF
2022/03/31 02:55:21 [ WARN] SSH: Handshaking was terminated: EOF
2022/03/31 03:44:51 [ WARN] SSH: Handshaking was terminated: EOF
2022/03/31 03:44:52 [ WARN] SSH: Handshaking was terminated: EOF
2022/03/31 03:56:13 [ WARN] SSH: Handshaking was terminated: EOF
2022/03/31 03:56:34 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:151 func1()] SSH: Error on handshaking: ssh: overflow reading version string
2022/03/31 03:56:48 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:151 func1()] SSH: Error on handshaking: ssh: overflow reading version string
2022/03/31 03:56:59 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:151 func1()] SSH: Error on handshaking: ssh: overflow reading version string
2022/03/31 03:57:11 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:151 func1()] SSH: Error on handshaking: ssh: overflow reading version string
2022/03/31 03:57:26 [ WARN] SSH: Handshaking was terminated: EOF
2022/03/31 03:57:38 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:151 func1()] SSH: Error on handshaking: ssh: overflow reading version string
2022/03/31 04:59:19 [ WARN] SSH: Handshaking was terminated: EOF
2022/03/31 08:03:26 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 08:10:45 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 08:11:07 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 08:11:58 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 08:16:43 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 08:23:26 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 08:30:45 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 08:31:07 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 08:36:44 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 08:43:26 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 08:44:08 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 08:44:08 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 08:44:12 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 08:49:42 [ERROR] [gogs.io/gogs/internal/ssh/ssh.go:114 func1()] SSH: Wait: exit status 1
2022/03/31 08:50:13 [ INFO] Gogs 0.12.6
To reproduce
Maybe update from Gogs version 0.11.53.0603 to 0.12.4 then 0.12.6
Expected behavior
can be used well forever ...
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
💊 bugSomething isn't workingSomething isn't working