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

[BUG] Hauler fileserve fails on large files due to hardcoded 15 second timeout. #243

Open
atoy3731 opened this issue May 10, 2024 · 0 comments
Labels
bug Something isn't working size/S Denotes an issue/PR requiring a relatively small amount of work

Comments

@atoy3731
Copy link

Environmental Info:

Linux REDACTED 4.4.302+ #69057 SMP Fri Jan 12 17:02:27 CST 2024 x86_64 GNU/Linux synology_v1000_1821+

Hauler Version:

GitVersion:    1.0.3
GitCommit:     f7c24f6
GitTreeState:  clean
BuildDate:     2024-04-24T16:50:33Z
GoVersion:     go1.21.9
Compiler:      gc
Platform:      linux/amd64

Describe the Bug:

  • When trying to pull a large file from the fileserver, the hardcoded timeout can affect the ability to pull that artifact.

See: https://github.com/rancherfederal/hauler/blob/main/internal/server/file.go#L36-L37

Steps to Reproduce:

  • For me, I was utilizing hauler store serve fileserver to serve the Harvester ISO for PXE booting (5.6Gi in size).
  • When pointing Harvester PXE boot to Hauler, the download of the ISO continuously fails at 15 seconds due to the timeout.

Expected Behavior:

One of two options:

  • The timeout is configurable.
  • The timeout is set to a higher amount than 15 seconds. Perhaps 60 or 120.

Actual Behavior:

  • See above.

Additional Context:

  • N/A
@atoy3731 atoy3731 added the bug Something isn't working label May 10, 2024
@zackbradys zackbradys added the size/S Denotes an issue/PR requiring a relatively small amount of work label May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size/S Denotes an issue/PR requiring a relatively small amount of work
Projects
Status: Work In Progress
Development

No branches or pull requests

2 participants