-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Got 404 error for /+search on AWS Fargate deployment #832
Comments
Dockerfile
entrypoint.sh
nginx/etc/nginx/sites-enabled/default
|
Installed versions
|
A few things I noticed:
Is only |
@fschulze thanks. I will test with theme, with more memory configurations. |
The theme and the docker image are external, but as I said: The last time I looked the theme was fine. Can't say anything about the Docker image. |
If I use 'supervisor' to manage the processes, How can I collect logs from docker container? Sorry, if it's not appropriate. my best guess is to use shell script to tail-ing log files. |
It seems https://github.com/apihackers/ is the author of devpi-semantic-ui module. I will contact them if required. |
I have no idea about Docker, maybe you can even run devpi-server directly as a foreground process as the last command instead of the log tailing and waiting for pid in entrypoint.sh |
Have you been able to solve this? |
I removed semantic-ui, and it works. |
Not sure how semantic-ui can causes this, but maybe you should report it to them if you haven't already. |
I have created a simple Docker image for devpi-server. using attached Dockerfile
When running on my local machine, it works fine.
But, when I deploy the docker image to AWS Fargate, I got some errors.
For instance, when I accessing /+search , server respond with 404 error. for simple GET request,
but AJAX /+search seems working.
I have searched above message, I think it is related to web framework, but I don't know about devpi's framework.
(I am just using it by installing devpi, I don't know how to trace the error)
And, sometimes I got 502 response from nginx. I guess devpi python process has died or can't respond to nginx.
The docker file that I attached doesn't contain additional configurations.
but I will add some additional configurations for AWS Fargate instance
Fargate instance will have .5 vCPU and 1 GB Memory. (I am not sure about how much does it needs)
I will add AWS LB in front of Fargate for HTTPS.
I will add EFS shared filesystem as Index storage.
I will add devpi-ldap for authentication.
First, I suspected X-outside-url, the devpi process can't access ALB Frontend URL. I don't know this affects the result.
Second, I tested without nginx using default 3141 port, but I also got 404 errors. I have tested simple curl.
The text was updated successfully, but these errors were encountered: