Closed Brian0122 closed 2 years ago
Hi ,
This sounds like an issue with the DNS on your machine. Are you able to see a similar issue if you run another docker container which includes non ACE restAPI or server you can try.
ACE doesn't touch the networking layer and are not aware of any issues which would introduce a delay to the message.
Hi Rob,
I tried running docker with dns
parameter, and it works fine with no delay.
docker run --dns=127.0.0.1
--name CICS1 -p 7600:7600 -p 7800:7800 -p 7843:7843 --dns=127.0.0.1 --env LICENSE=accept --env ACE_SERVER_NAME=ACESERVER --env ACE_TRUSTSTORE_PASSWORD=truststorepwd --env ACE_KEYSTORE_PASSWORD=keystorepwd yentingkuo/megapoc-cics1:3.2
and after added the EnableLookups: false
in the server.conf.yaml HTTPConnector
section which doesn't mention in the document, it works find without add the dns params.
HTTPConnector:
EnableLookups: false
I'm wondering why EnableLookups is set to true by default, and what is the usage for this parameter? I also deployed to OpenShift, and got delay in production environment but no delay in testing environment. After disabled the lookup, it all works fine..Just cannot figure what happened in this situation.
The EnableLookups option is documented in https://www.ibm.com/docs/en/app-connect/11.0.0?topic=mc-integration-server-http-listener-parameters-soap-http-nodes
Closing as I don’t think this is an issue with the container code
Hi,
Product: App Connect Enterprise Version: v.11 FP10
I have a web service endpoint using HTTPInput node in the project. Found that when I invoke the web service via curl command it will delay around 10 seconds to get response. Interesting thing is: When I have internet connected, it will delay 10 seconds. if disconnected from internet, it works as normal, get response quickly.
And if I add --dns param when running docker, it works fine and response quickly, ex.
And same issue happened on the OpenShift 3.11 platform. If I invoke web service using service name, it always delay 10 seconds to get the response.
Wondering if there's something about nslookup? but it's just an simple httpInput object, cannot figure it out why the dns setting will affect the result?
below is trace from curl, delay happens at starttransfer, it costs around 10 seconds.
Thank you.