Replies: 3 comments
-
I figured out that the issue wasn't in Traefik actually, it was located on AWS ALB which didn't have Sticky sessions activated, After activating it it started working, however, I found it difficult to connect when the number of replicas was superior to 1, so I got some errors from the UI in between. Other than that, we are doing configuration of SFTPgo with terraform, however, after switching the DNS and applying a new terraform plan the API is throwing 401 errors with the message Error: I'll bring more updates in case I find the root cause of it. |
Beta Was this translation helpful? Give feedback.
-
I want to share some general considerations for everyone. “You” does not specifically refer to you here. You can keep experimenting and trying and maybe you will be able to find some workarounds or proper solutions to your issues. Now suppose everyone does the same, the project will not be financially sustainable and at some point will no longer be maintained: we can't keep working for free forever, do you work for free? As time passes, new security issues will be disclosed or new features will be required to interact with modern clients. Nobody will work on these things and after a while you will be forced to move to a different product and your company will have to incur other costs for the migration and probably to pay for the license. |
Beta Was this translation helpful? Give feedback.
-
@drakkan thanks for your message, the point that you have raised is understandable, I agree with the thoughts in general. When it comes to this discussion to provide value to the community, this means, I'm providing feedback for a migration from AWS ECS to AWS EKS, I can imagine I'm not the only one, and it will probably be other people in the future that will do the same, so I'll be happy just with at least bring feedback and also happy to contribute in case I find a bug. If SFTPgo supports this kind of migration it will be visible the reliability of this product/project, and it will lead to new investments and contributions. This discussion comes with more insights based on the current analysis, is well known that SFTPgo supports container strategy, however, it's not really portable at this point due to this kind of token issue. Feedback:
even the SSH connection is possible however it comes with permission denied errors due to the directory is not created in the container.
I just tested this behavior by creating a new user in this migration. Terraform resource:
In any case, I have more feedback I'll provide more details over here. |
Beta Was this translation helpful? Give feedback.
-
Hello community, I hope you are doing well.
I'm trying to migrate SFTPgo from AWS ECS to AWS EKS, I'm using the same secrets and environment variables, I verified that the SFTPgo solution is connecting to the database, the only different thing is traefik as an ingress controller which passes all the traffic directly to the service HTTP, the UI is working + health however at the moment to authenticate as an admin I'm getting the following issue
I did a forward port to the pod by using port 8080 and I can do the authentication with no issues.
Domain is the same that I have on ECS since I'm switching DNS to the Application Load Balancer behind Traefik
Steps to reproduce
Expected behavior
1.UI error: unable to verify form token: token is unauthorized
2. Logs as I mentioned before
SFTPGo version
WebClient - 2.5.6
Data provider
Mysql
Installation method
SFTPgo Helmchart: https://github.com/sagikazarmark/helm-charts
Configuration
I used the default values from SFTPgo Helm chart except the following envvars and service config
envVars:
value: "1"
value: "15"
value: "100"
value: "true"
value: "15"
value: "5"
value: "mysql"
value: "db-sftpgo.acc.domain.io"
value: "sftpgo"
valueFrom:
secretKeyRef:
name: sftp-creds
key: SFTPGO_DATA_PROVIDER__PASSWORD
value: "3306"
value: "sftpgo_mgr_acc"
value: "15000"
Relevant log output
Additional info
We are managing our clusters with ArgoCD + CDK8s however, Traefik is being installed through its HelmChart.
Traefik additional Arguments:
Additional Questions
I'd appreciate any kind of help you can provide!
Beta Was this translation helpful? Give feedback.
All reactions