Skip to content
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

Compiling Tera templates hangs when the Rust app in is a container #935

Closed
noblehelm opened this issue Sep 2, 2024 · 2 comments
Closed

Comments

@noblehelm
Copy link

As the title said, compiling Tera templates does hang when the same Rust app is running in a container versus running in the host machine. I tried enabling debug logs, but I could not figure it out why it hangs, only that it has a small change during glob resolution, for some reason that I cannot understand.
image
As the image above did show, it is stuck in the compiling phase of Tera templates. COmpare this with the image of it running in the host machine:
image

The app was tested on both an alpine:3.20 image and ubuntu:noble image and it didn't work. The only difference I noticed is, for some reason, the 'host' app didn't have the template folder during glob resolution, while in the container version it did.

Does this somehow have something to do with it hanging?

@Keats
Copy link
Owner

Keats commented Sep 2, 2024

See #719 and #740

@noblehelm
Copy link
Author

Welp, should've researched better..

Seems weird though, because my app is not on the root directory, it is inside /etc, so it shouldn't have dealt with this bug - at least in theory.

Will try the Tera::default() route to see if it works.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants