Skip to content

tcp: write: broken pipe: [E] Render failed: failed to render template + [E] plainTextInternal (status=500) #30792

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

Closed
update-freak opened this issue Apr 30, 2024 · 4 comments · Fixed by #30801
Labels

Comments

@update-freak
Copy link

update-freak commented Apr 30, 2024

Description

In the log it show the following:

2024/04/30 23:21:27 .../context_response.go:87:HTML() [E] Render failed: failed to render template: home, error: write tcp 127.0.0.1:3000->127.0.0.1:50284: write: broken pipe
2024/04/30 23:21:27 .../context_response.go:89:HTML() [E] plainTextInternal (status=500): write bytes failed: write tcp 127.0.0.1:3000->127.0.0.1:50284: write: broken pipe

Installed via docker compose on Synology NAS.

Gitea Version

gitea-1.22.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

log

Git Version

No response

Operating System

Synology DSM

How are you running Gitea?

Docker Container

Database

None

Additional remarks

I already did this setting: Administration -> Konfiguration -> Einstellungen -> Gravatar deaktivieren

@wxiaoguang
Copy link
Contributor

wxiaoguang commented May 1, 2024

If you didn't experience any problem during usage, it's safe to ignore them . It is a false alarm. Some error messages are reported too aggressively.

@wxiaoguang
Copy link
Contributor

If there are some problems when browsing the pages ..... it looks more like an OS/envorinment related problem.

Usually write: broken pipe means the TCP connection breaks too early (in most cases, it shouldn't be related to Gitea itself)

@wxiaoguang wxiaoguang changed the title [E] Render failed: failed to render template + [E] plainTextInternal (status=500) tcp: write: broken pipe: [E] Render failed: failed to render template + [E] plainTextInternal (status=500) May 1, 2024
@update-freak
Copy link
Author

ok, thanks for the info. I didn't have any problems in usage and only saw this message in the logs.
Feel free to close this issue when you want to close this issue

@wxiaoguang
Copy link
Contributor

-> Ignore uesless error message "broken pipe" #30801

Let's make Gitea never show such useless logs 😁

GiteaBot pushed a commit to GiteaBot/gitea that referenced this issue May 3, 2024
wxiaoguang added a commit that referenced this issue May 3, 2024
Backport #30801 by wxiaoguang

Fix #30792

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Aug 1, 2024
project-mirrors-bot-tu bot pushed a commit to project-mirrors/forgejo-as-gitea-fork that referenced this issue Jan 23, 2025
…#30842)

Backport go-gitea#30801 by wxiaoguang

Fix go-gitea#30792

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit ab2ef1a)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants