Replies: 1 comment 7 replies
-
|
Dude - did you try reading your error message?
Your server / bucket is serving the file with a wrong mime type - XML instead of JSON |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running into an issue with our OPAL server setup in Docker Compose for local development, while trying to fetch the Rego policy bundle from the S3 bucket. The server logs show a failure when attempting to load the bundle, possibly due to configuration issues. I am passing these env variables.
opal_server:
image: permitio/opal-server:0.8.0
depends_on:
database:
condition: service_healthy
environment:
- OPAL_BROADCAST_URI=postgres://postgres:postgres@database:5432/postgres
#configuration to fetch policy from Amazon S3 Bucket
- OPAL_POLICY_SOURCE_TYPE=API
- AWS_ACCESS_KEY_ID=
- AWS_SECRET_ACCESS_KEY=
- AWS_SESSION_TOKEN =
- OPAL_POLICY_BUNDLE_SERVER_TYPE=AWS-S3
- OPAL_POLICY_BUNDLE_SERVER_AWS_REGION=us-east-1
- OPAL_POLICY_BUNDLE_URL=AWS S3 URL
- OPAL_DATA_CONFIG_SOURCES=
- OPAL_LOG_FORMAT_INCLUDE_PID=true
Beta Was this translation helpful? Give feedback.
All reactions