-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Recurrent errors in logs #14110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Looks like related with #13684 |
Update to 1.13.1 |
that fixed it... but that logs:
is still there in a loop |
Those can be ignored except for that you say they are in a loop indicating that it is constantly restarting which is a configuration issue that you will have to look at. If you really don't want to see them edit your sshd_config to fix them (either the template or /etc/sshd_config). They will be caused by the:
Which can be removed if you never intend to use certificates. |
Wouldn't the other way around be better? By default it is disabled and if someone wants to use certs they can customize the config. The comment in PR #13143 "Afaik, adding these lines does nothing unless the file(s) are present" is not true since it does cause errors and spams the log. How can I edit the template to remove those lines? Is it possible such that an upgrade to Gitea will keep these settings? |
A common bug report is the otherwise harmless sshd logging: ``` Could not load host certificate "/data/ssh/ssh_host_ed25519_cert": No such file or directory ``` This PR simply checks if these files exist before creation of sshd_config and if they do not exist, doesn't add a reference to them. Fix go-gitea#14110 amongst others. Signed-off-by: Andrew Thornton <[email protected]>
A common bug report is the otherwise harmless sshd logging: ``` Could not load host certificate "/data/ssh/ssh_host_ed25519_cert": No such file or directory ``` This PR simply checks if these files exist before creation of sshd_config and if they do not exist, doesn't add a reference to them. Fix #14110 amongst others. Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Backport go-gitea#15849 A common bug report is the otherwise harmless sshd logging: ``` Could not load host certificate "/data/ssh/ssh_host_ed25519_cert": No such file or directory ``` This PR simply checks if these files exist before creation of sshd_config and if they do not exist, doesn't add a reference to them. Fix go-gitea#14110 amongst others. Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Backport #15849 A common bug report is the otherwise harmless sshd logging: ``` Could not load host certificate "/data/ssh/ssh_host_ed25519_cert": No such file or directory ``` This PR simply checks if these files exist before creation of sshd_config and if they do not exist, doesn't add a reference to them. Fix #14110 amongst others. Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: Lauris BH <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: Lauris BH <[email protected]> Co-authored-by: 6543 <[email protected]>
A common bug report is the otherwise harmless sshd logging: ``` Could not load host certificate "/data/ssh/ssh_host_ed25519_cert": No such file or directory ``` This PR simply checks if these files exist before creation of sshd_config and if they do not exist, doesn't add a reference to them. Fix go-gitea#14110 amongst others. Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: Lauris BH <[email protected]>
Hey,
I have multiples issue on my instance (cause 502). I have a first middleware error and an another error into the SSH server.
Gitea version : 1.13
Git version: Built-in docker image
Operating system:
Run in docker with image tag
gitea/gitea 1.13 2d0be3e110e0
Database (use
[x]
):Can you reproduce the bug at https://try.gitea.io:
Description
For example when i go to
/issues
or randomly when i navigate to the instance. Sometime when get the user avatar/avatars/d41d8cd98f00b204xxxx8ecf8427e
Logs:
And, the second error when user connect to the SSH server.
Tell me if you need more debug logs. Thanks
The text was updated successfully, but these errors were encountered: