I’m having a bit of trouble getting my deployment to work
using Kubernetes with the latest axiom Docker image. After deploying, https://qa-erddap.riddc.brown.edu/erddap/
redirects to https://localhost:8443/erddap/index.html
with a localhost refusal. I can access https://qa-erddap.riddc.brown.edu/erddap/index.html
, but any downstream paths fail.
I’ve checked the Catalina and Tomcat logs as well as log.txt and the only thing
I see that might be a lead is:
30-Apr-2025 09:33:26.496 WARNING [main]
org.apache.tomcat.util.digester.SetPropertiesRule.begin Match
[Server/Service/Engine/Host/Valve] failed to set property
[requestAttributesEnable] to [true]
I also removed ‘redirectPort = 8443’ from my server.xml, but the
redirects still happen. Has anyone experienced this or have any ideas on what
might be happening?
Thank you, Tim
Center for Computation and Visualization
Brown University
Hi Tim,
I suspect it maybe to do with the Environment variables and the Axiom ERDDAP container
See the Axiom docker erddap readme:
https://github.com/axiom-data-science/docker-erddap
I am not getting to use Kubernetes much myself lately, but have a look at the deployment yaml examples on setting environment variables here:
https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/
you might need to a define a few environment variables in your deployment.yaml
...
env:
- name: ERDDAP_baseUrl
value: https://qa-erddap.riddc.brown.edu
- name: ...
Best regards,
Damian
From: erd...@googlegroups.com <erd...@googlegroups.com>
On Behalf Of Timothy Divoll
Sent: Wednesday 30 April 2025 15:02
To: ERDDAP <erd...@googlegroups.com>
Subject: [ERDDAP] redirect from URL to localhost:8443
You don't often get email from timothy...@brown.edu. Learn why this is important |
--
You received this message because you are subscribed to the Google Groups "ERDDAP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
erddap+un...@googlegroups.com.
To view this discussion, visit
https://groups.google.com/d/msgid/erddap/45c8f4b4-bf9d-4b18-9e39-124ce51a1ee7n%40googlegroups.com.