I have configured camunda 8.7 using docker image on podman on linux server
and in my .env file I edited the following configuration to use the IP instead of local host, so that I can able to login to the components from a remote pc:
HOST=10.11.12.13
KEYCLOAK_HOST=10.11.12.13
and I did not made any change in the docker-compose.yaml
When I try to open any component from the remote pc like: operate,optimize,tasklist
it works just fine, but when trying to open identity from my remote pc:
http://10.11.12.13:8084
sometimes it redirects to:
http://10.11.12.13:18080/auth/realms/camunda-platform/login-actions/authenticate?session_code=......
when I enter my credentials it gives me error message:
The connection was reset
and sometimes it doesn’t redirect to keycloak at all and gives me:
The connection was reset
After enabling camunda identity logs, I can see the following excpetion:
identity | 2025-09-09 10:34:56.285 DEBUG 1 --- [io-8084-exec-10] o.a.c.h.Http11Processor : Error parsing HTTP request header
identity |
identity | java.net.SocketException: Connection reset
identity | at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(Unknown Source) ~[?:?]
identity | at java.base/sun.nio.ch.SocketChannelImpl.read(Unknown Source) ~[?:?]
identity | at org.apache.tomcat.util.net.NioChannel.read(NioChannel.java:150) ~[tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1329) ~[tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1219) ~[tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.coyote.http11.Http11InputBuffer.fill(Http11InputBuffer.java:781) ~[tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:345) ~[tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:271) [tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) [tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:903) [tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1769) [tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) [tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1189) [tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:658) [tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) [tomcat-embed-core-10.1.43.jar!/:?]
identity | at java.base/java.lang.Thread.run(Unknown Source) [?:?]
identity | 2025-09-09 10:34:56.286 DEBUG 1 --- [io-8084-exec-10] o.a.c.h.Http11Processor : Error state [CLOSE_CONNECTION_NOW] reported while processing request
identity |
identity | java.net.SocketException: Connection reset
identity | at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(Unknown Source) ~[?:?]
identity | at java.base/sun.nio.ch.SocketChannelImpl.read(Unknown Source) ~[?:?]
identity | at org.apache.tomcat.util.net.NioChannel.read(NioChannel.java:150) ~[tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1329) ~[tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1219) ~[tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.coyote.http11.Http11InputBuffer.fill(Http11InputBuffer.java:781) ~[tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:345) ~[tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:271) [tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) [tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:903) [tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1769) [tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) [tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1189) [tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:658) [tomcat-embed-core-10.1.43.jar!/:?]
identity | at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) [tomcat-embed-core-10.1.43.jar!/:?]
identity | at java.base/java.lang.Thread.run(Unknown Source) [?:?]