You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon trying to bring the server online, ssh server fails to initialise, and the following error is recorded in the log file:
2021/11/05 16:37:43 ...s/graceful/server.go:62:NewServer() [I] Starting new SSH server: tcp::::22 on PID: 47150
2021/11/05 16:37:43 ...s/graceful/server.go:88:ListenAndServe() [E] Unable to GetListener: address :::22: too many colons in address
2021/11/05 16:37:43 .../ssh/ssh_graceful.go:26:listen() [F] Failed to start SSH server: address :::22: too many colons in address
Gitea fails to initialise and appears as down within supervisor.
Changed the line in app.ini regarding ssh server address from SSH_LISTEN_HOST = :: to SSH_LISTEN_HOST = [::]. This seems to fix the error, however is inconsistent with #12321.
2021/11/05 17:14:07 ...s/graceful/server.go:62:NewServer() [I] Starting new SSH server: tcp:[::]:22 on PID: 48304
2021/11/05 17:14:07 ...xer/stats/indexer.go:84:populateRepoIndexer() [I] Done (re)populating the repo stats indexer with existing repositories
2021/11/05 17:14:07 cmd/web.go:196:listen() [I] Listen: https://[::]:443
2021/11/05 17:14:07 cmd/web.go:199:listen() [I] LFS server enabled
2021/11/05 17:14:07 ...s/graceful/server.go:62:NewServer() [I] Starting new Web server: tcp:[::]:443 on PID: 48304
Traffic test querying the web-server(ubuntu 18.04 + firefox 94.0) and git fetch(ubuntu18.04 + git 2.17.1) passes.
Screenshots
No response
The text was updated successfully, but these errors were encountered:
Gitea Version
1.15.6
Git Version
2.25.1
Operating System
Ubuntu 20.04 x64
How are you running Gitea?
Downloaded gitea from
dl.gitea.io
Running under supervisor, with gitea.conf
server section in app.ini, altered to remove sensitive data
Additionallty, there is an openssh server running on
0.0.0.0:1022
, thus not conflicting with[::]:22
Database
PostgreSQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/iarba/8eb927803fff4beaf6e12f9600cbb903
Description
Upon trying to bring the server online, ssh server fails to initialise, and the following error is recorded in the log file:
Gitea fails to initialise and appears as down within supervisor.
Changed the line in
app.ini
regarding ssh server address fromSSH_LISTEN_HOST = ::
toSSH_LISTEN_HOST = [::]
. This seems to fix the error, however is inconsistent with #12321.Traffic test querying the web-server(ubuntu 18.04 + firefox 94.0) and
git fetch
(ubuntu18.04 + git 2.17.1) passes.Screenshots
No response
The text was updated successfully, but these errors were encountered: