Product/components used and version/fix level:
Hey there guys,
I’ve been trying to initialize these service using docker images.
I wrote a small compose file to make things simpler. However when I’m separately launching all these containers. they work just fine. I’m not sure what exactly is going wrong here. I’ll post the error below along with the docker compose file.
Docker Compose file:
version: ‘3.3’
services:
devportal-elastic:
image:elasticsearch:7.16.3
environment:
- discovery-type=single-node
volumes:
- es-vol:/usr/share/elasticsearch/data
networks:
- devportal-network
hostname: devportal-elastic
container_name: devportal-elastic
devportal-server:
image: softwareag/devportal:10.15.0.12
environment:
- SPRING_ELASTICSEARCH_REST_URIS=(http)://devportal-elastic:9200
networks:
- devportal-network
hostname: apigw
container_name: devportal-server
ports:
- 80:8083
apigw:
image: softwareag/apigateway-trial:10.15
hostname: apigw-host
container_name: apigw
environment:
- apigw_elasticsearch_hosts=(http://)devportal-elastic:9200
networks:
- devportal-network
ports:
- 5555:5555
- 9072:9072
networks:
devportal-network:
volumes:
es-vol:
Detailed explanation of the problem:
I’ve been looking around this error for a while now, perhaps there’s some sort of env I’ve got wrong.
In
Error messages / full error message screenshot / log file:
(tid=304) Access Denied. Authentication resolved to user “GatewayInternalTechnicalUser”. User is not defined in any of the available user stores.
Integration Server is working just fine, However it when I click on solutions → API gateway, for some odd reason the user isn’t authenticated there so the service denies access.
However all of this is not a problem when I separately live all these containers by docker run command the way it’s been documented on Docker hub.