a-h / templ

A language for writing HTML user interfaces in Go.
https://templ.guide/
MIT License
7.14k stars 236 forks source link

max retries reached #770

Closed Kyunashi closed 1 month ago

Kyunashi commented 1 month ago

what do i do when this happens: image

a-h commented 1 month ago

You can safely ignore it. It's just the log given if the backend can't be reached.

https://github.com/a-h/templ/blob/599b54f2bec12338f9a1b640732f00415ed6c9f3/cmd/templ/generatecmd/proxy/proxy.go#L143

If you hit refresh in the browser, if the backend is up, you won't get the log.

This was recently increased up to 20 requests to the backend in https://github.com/a-h/templ/commit/30091610f5759e4d60d1b21974ed40e7858d4f21, because some slower apps were taking longer to start back up again after code changes.

a-h commented 1 month ago

Closing, because I don't think there's an issue here, but feel free to reopen if you think there's something concrete we should change, or if I've misunderstood.

Kyunashi commented 1 month ago

So it just meant my server was dying ok thanks!