1. I don't use a browser so I don't think I need to encode the URL - I just try to use telnet as described here:
https://nroduit.github.io/en/basics/commands/ I also tried a browser but I think telnet should be more easy to debug as I remove some complexity.
2. In telnet mode, according to documentation from the link above, there should be no $ before the command.
3. Weasis is already opened, otherwise I could not connect with telnet.
But I did tried to encode the url and to add $ before the command but in those cases I receive the error: "gogo: SyntaxError: bad expression:"
I think the URL is wring but I don't know what to write.
When I execute this command:
in weasis logs I can see the folowing message:
23.12.2019 11:26:54.078 *DEBUG* [Dicom Model-pool-8-thread-1] org.weasis.dicom.explorer.rs.RsQueryResult: QIDO-RS request: http://10.116.84.126:11112/dcm4chee-arc/aets/DCM4CHEE/rs/studies?0020000D={1.3.12.2.1107.5.3.34.31085.1.20190710173010}&includefield=00080020,00080030,00080050,00080061,00080090,00081030,00100010,00100020,00100021,00100030,00100040,0020000D,00200010&includedefaults=false
23.12.2019 11:26:54.192 *WARN* [Dicom Model-pool-8-thread-1] org.weasis.core.api.util.NetworkUtil: http Status -1 - null
23.12.2019 11:26:54.192 *ERROR* [Dicom Model-pool-8-thread-1] org.weasis.dicom.explorer.rs.RsQueryResult: QIDO-RS with studyUID {1.3.12.2.1107.5.3.34.31085.1.20190710173010} org.weasis.core.api.util.StreamIOException
at org.weasis.core.api.util.NetworkUtil.readResponse(NetworkUtil.java)
In the wildfly log I have:
11:30:12,446 INFO [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-5) /10.116.84.126:11112<-/10.8.15.10:51592(2): i/o exception: java.io.EOFException in State: Sta2 - Transport connection open
11:30:12,447 INFO [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-5) /10.116.84.126:11112<-/10.8.15.10:51592(2): close Socket[addr=/10.8.15.10,port=51592,localport=11112]
11:30:20,109 INFO [org.dcm4che3.net.Connection] (EE-ManagedExecutorService-default-Thread-2) Accept connection Socket[addr=/10.8.15.10,port=52130,localport=11112]
11:30:20,111 WARN [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-8) /10.116.84.126:11112<-/10.8.15.10:52130(4): unrecognized PDU[type=71, len=1411395428]
11:30:20,111 INFO [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-8) /10.116.84.126:11112<-/10.8.15.10:52130(4) << A-ABORT[source: 2 - service-provider, reason: 1 - unrecognized-PDU]
11:30:20,161 INFO [org.dcm4che3.net.Association] (EE-ManagedScheduledExecutorService-default-Thread-1) /10.116.84.126:11112<-/10.8.15.10:52130(4): close Socket[addr=/10.8.15.10,port=52130,localport=11112]
I don't know what "unrecognized PDU" means.
I also tried with a access_token like this:
In this case the Weasis error is:
23.12.2019 11:31:57.429 *DEBUG* [Dicom Model-pool-8-thread-1] org.weasis.dicom.explorer.rs.RsQueryResult: QIDO-RS request: http://10.116.84.126:8080/dcm4chee-arc/aets/DCM4CHEE/rs/studies?0020000D={1.3.12.2.1107.5.3.34.31085.1.20190710173010}&includefield=00080020,00080030,00080050,00080061,00080090,00081030,00100010,00100020,00100021,00100030,00100040,0020000D,00200010&includedefaults=false
23.12.2019 11:31:57.537 *WARN* [Dicom Model-pool-8-thread-1] org.weasis.core.api.util.NetworkUtil: http Status 400 - Bad Request
23.12.2019 11:31:57.537 *ERROR* [Dicom Model-pool-8-thread-1] org.weasis.dicom.explorer.rs.RsQueryResult: QIDO-RS with studyUID {1.3.12.2.1107.5.3.34.31085.1.20190710173010} org.weasis.core.api.util.StreamIOException: Bad Request
at org.weasis.core.api.util.NetworkUtil.readResponse(NetworkUtil.java)
and at Wildfly log I have nothing in this case.
I think I'm missing something essential.
Thank you.