You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When uploading an artifact to a kubernetes deployment of reposilite with port-forward reposilite becomes unavailable most of the times and the upload rarely completes successfully.
Environment
Host OS: Windows
Docker Desktop
k3d
Reposilite 3.5.12 via Helm chart according to Kubernetes guide (no additional configuration used, only different namespace)
Steps to reproduce
Deploy a simple reposilite instance on kubernetes according to guide
Port-forward to a port to make reposilite available on the host machine
Generate a token
Try to upload an artifact with maven-publish
Check web page (should be unreachable) and port-forwarding output (should return at some point a timeout)
Expected Behavior
Reposilite availability should be reliable and consistent.
Actual Behavior
Reposilite availability during uploads is unpredictable.
Additional Information
The uploaded file is about 50MB-100MB large. Initially I thought this was because of an outdated / invalid token (because it behaves the same way), but after double-checking it this seems not to be related to tokens.
When not uploading a file, reposilite looks to work just fine. The gradle task does also never end when the upload fails.
Reposilite version
3.x
Relevant log output
Nothing was logged on reposilite site (or I couldn't find any logs)
port-forwarding error during upload (repeating):
Handling connection for 8083
E0527 11:41:12.692728 27436 portforward.go:347] error creating error stream for port 8083 -> 8080: Timeout occurred
Handling connection for 8083
E0527 11:40:10.649155 27436 portforward.go:347] error creating error stream for port 8083 -> 8080: Timeout occurred
The text was updated successfully, but these errors were encountered:
After further investigation the bug seems to occur when I try to redeploy an artifact with the same version but have not enabled the redeployment option for the according repository (releases/snapshots). This breaks the port-forwarding and renders the service unavailable on the host machine. Once the service becomes unavailable, the port-forwarding needs to be restarted in order to make the service available again.
The simplest solution is to just enabled redeployment for the repository or not redeploy the artifacts with the same version.
In a simple docker deployment the gradle task fails successfully if the redeployment is disabled.
Bug Description
When uploading an artifact to a kubernetes deployment of reposilite with port-forward reposilite becomes unavailable most of the times and the upload rarely completes successfully.
Environment
Steps to reproduce
maven-publish
Expected Behavior
Reposilite availability should be reliable and consistent.
Actual Behavior
Reposilite availability during uploads is unpredictable.
Additional Information
The uploaded file is about 50MB-100MB large. Initially I thought this was because of an outdated / invalid token (because it behaves the same way), but after double-checking it this seems not to be related to tokens.
When not uploading a file, reposilite looks to work just fine. The gradle task does also never end when the upload fails.
Reposilite version
3.x
Relevant log output
Nothing was logged on reposilite site (or I couldn't find any logs)
The text was updated successfully, but these errors were encountered: