I am not sure if my reply was sent, so I'll post this again and add something I managed to do:
1) From the browser inspector, I got the information written in number
1. related to the reject choice "113039%5EDCM"
2) From my reverse-proxy (nginx):
"GET /dcm4chee-arc/aets/<custom.AET>/rs/studies/<study.ID>/series/<series.ID>/instances?limit=21&includefield=all&offset=0&PatientID=<test.ID>&orderby=InstanceNumber HTTP/1.1" 200 7344 "https://<dns>/dcm4chee-arc/ui2/"
"POST /dcm4chee-arc/aets/<custom.AET>/rs/studies/<study.ID>/series/<series.ID>/instances/<instance.ID>/reject/113039%5EDCM HTTP/1.1" 400 0 "https://<dns>/dcm4chee-arc/ui2/"
"POST /auth/realms/dcm4che/protocol/openid-connect/token HTTP/1.1" 200 2312 "https://<dns>/"
3) From arc container log: /opt/wildfly/standalone/log/server.log
INFO [org.dcm4chee.arc.qido.QidoRS] (default task-27) Process GET /dcm4chee-arc/aets/
<customAET>/rs/studies/
<study.ID>/series/
<series.ID>/instances?limit=21&includefield=all&offset=0&PatientID=
<test.ID>&orderby=InstanceNumber from
<docker.container.ID>@
<docker.network.arc.subnet.IP>
INFO [org.dcm4chee.arc.qido.QidoRS] (default task-27) SearchForStudySeriesInstances: 2 Matches
WARN [io.jaegertracing.internal.reporters.RemoteReporter] (jaeger.RemoteReporter-QueueProcessor) FlushCommand execution failed! Repeated errors of this command will not be logged.: io.jaegertracing.internal.exceptions.SenderException: Failed to flush spans.
at io.jaegertr...@1.5.0//io.jaegertracing.thrift.internal.senders.ThriftSender.flush(ThriftSender.java:115)
at io.jaegertr...@1.5.0//io.jaegertracing.internal.reporters.RemoteReporter$FlushCommand.execute(RemoteReporter.java:160)
at io.jaegertr...@1.5.0//io.jaegertracing.internal.reporters.RemoteReporter$QueueProcessor.run(RemoteReporter.java:182)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: io.jaegertracing.internal.exceptions.SenderException: Could not send 1 spans
at io.jaegertr...@1.5.0//io.jaegertracing.thrift.internal.senders.UdpSender.send(UdpSender.java:85)
at io.jaegertr...@1.5.0//io.jaegertracing.thrift.internal.senders.ThriftSender.flush(ThriftSender.java:113)
... 3 more
Caused by: org.apache.thrift.transport.TTransportException: Cannot flush closed transport
at io.jaegertr...@1.5.0//io.jaegertracing.thrift.internal.reporters.protocols.ThriftUdpTransport.flush(ThriftUdpTransport.java:148)
at org.apac...@0.13.0//org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:73)
at org.apac...@0.13.0//org.apache.thrift.TServiceClient.sendBaseOneway(TServiceClient.java:66)
at io.jaegertr...@1.5.0//io.jaegertracing.agent.thrift.Agent$Client.send_emitBatch(Agent.java:70)
at io.jaegertr...@1.5.0//io.jaegertracing.agent.thrift.Agent$Client.emitBatch(Agent.java:63)
at io.jaegertr...@1.5.0//io.jaegertracing.thrift.internal.senders.UdpSender.send(UdpSender.java:83)
... 4 more
Caused by: java.net.PortUnreachableException: ICMP Port Unreachable
at java.base/java.net.PlainDatagramSocketImpl.send(Native Method)
at java.base/java.net.DatagramSocket.send(DatagramSocket.java:695)
at io.jaegertr...@1.5.0//io.jaegertracing.thrift.internal.reporters.protocols.ThriftUdpTransport.flush(ThriftUdpTransport.java:146)
... 9 more
INFO [io.jaegertracing.internal.reporters.RemoteReporter] (jaeger.RemoteReporter-QueueProcessor) FlushCommand is working again!
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
4) I managed to reject/delete a study using a curl command from inside arc container
$ docker exec -it arc /bin/bash
I copied the auth token from the browser and used a curl that looked like this:
curl --location --request POST 'https://
localhost:8443/dcm4chee-arc/aets/
<custom.AET>/rs/studies/
<study.ID>/series/
<series.ID>/instances/
<instance.ID>/reject/113039%5EDCM' \
--header 'Authorization: Bearer
<token>'
* I do not remember now, but i think also included a "--insecure" and "-v" on the command.
So, it worked fine from inside the container, I suspect the request gets rejected somewhere from the browser to the service.
I do not know how to test where it happens, keycloak, reverse-proxy, server's firewall(?).
I also suspect it could be related to the certificate, I am using this ENV on arc:
-e DISABLE_TRUST_MANAGER=true
Could the absence of a valid certificate be blocking the request?