Closed Rostish closed 5 years ago
I suppose i have found solution. @cppwfs gave me a hint about another problem there was an extra whitespace, i need to check it in prod enviroment. I will write here then i get results.
i have checked. All work, close this ticket plz.
P.S. Don't know but maybe this is good idea to check extra whitespaces between lauch arguments, hard to find such problem. @cppwfs big ty for your hint in gitter.
Thanks for reporting it and the follow-up!
Starting SCDF and CTR in Docker Container with enabled LDAP.
Release versions: SCDf 1.7.3/1.7.4.RELEASE CTR 2.0.2.RELEASE
Custom apps: My own app that forms the DSL graph, creates and runs the task using dataFlowTemplate.
Steps to reproduce: 1) Start SCDF inside docker container with enabledLDAP auth. 2) Create and launch task, i tried with next parameters:
--spring.cloud.task.executionid: 3443 --dataflow-server-uri: http://10.101.48.150:9494 (9494 port is true for inside enviroment of conteiner the same for outside env) --increment-instance-enabled: true --dataflow-server-password: ** --dataflow-server-username: ** --spring.cloud.task.closecontext-enabled: true:
3) Inside logs of CTR you will see ERROR connected with status 401
Screenshots:
Strange thing. I tried to remote debug CTR(downloaded latest ver from 2.0.2 branch). I used next parameters:
but inside properties i don't see them, looks like it started without them
inside SCDF logs i see my arguments too:
Additional context: If i start SCDF locally on my remote server with enabledLDAP without any docker-compose it works fine. Problem appears just then it works with LDAP in DOCKER enviroment.
My Docker-Compose.file: