Giter Club home page Giter Club logo

Comments (26)

amohsalama avatar amohsalama commented on May 29, 2024

Any help ?

from weasis-pacs-connector.

nroduit avatar nroduit commented on May 29, 2024

I don't know where did you get the configuration but it doesn't match to the documentation, you can make the integration:

from weasis-pacs-connector.

amsalama avatar amsalama commented on May 29, 2024

actually i follow these steps in link https://nroduit.github.io/en/getting-started/dcm4chee/#for-dcm4chee-arc-light
Steps :
1- add these lines to docker-compose.yml
version: "3"
services:
ldap:
image: dcm4che/slapd-dcm4chee:2.4.50-23.0
logging:
driver: json-file
options:
max-size: "10m"
ports:
- "389:389"
- "636:636"
env_file: docker-compose.env
environment:
- IID_PATIENT_URL:../../weasis-pacs-connector/weasis?&patientID={{patientID}}&target=_self&access_token={{access_token}}
- IID_STUDY_URL:../../weasis-pacs-connector/weasis?&studyUID={{studyUID}}&target=_self&access_token={{access_token}}
- IID_URL_TARGET:_self
volumes:
- /var/local/dcm4chee-arc/ldap:/var/lib/openldap/openldap-data
- /var/local/dcm4chee-arc/slapd.d:/etc/openldap/slapd.d
keycloak:
image: dcm4che/keycloak:11.0.3
logging:
driver: json-file
options:
max-size: "10m"
ports:
- "8880:8880"
- "8843:8843"
- "8990:8990"
- "8993:8993"
env_file: docker-compose.env
environment:
HTTP_PORT: 8880
HTTPS_PORT: 8843
MANAGEMENT_HTTP_PORT: 8990
MANAGEMENT_HTTPS_PORT: 8993
KEYCLOAK_WAIT_FOR: ldap:389
depends_on:
- ldap
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- /var/local/dcm4chee-arc/keycloak:/opt/keycloak/standalone
db:
image: dcm4che/postgres-dcm4chee:13.1-23
logging:
driver: json-file
options:
max-size: "10m"
ports:
- "5432:5432"
env_file: docker-compose.env
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- /var/local/dcm4chee-arc/db:/var/lib/postgresql/data
arc:
image: dcm4che/dcm4chee-arc-psql:5.23.0-secure
ports:
- "8080:8080"
- "8443:8443"
- "9990:9990"
- "9993:9993"
- "11112:11112"
- "2762:2762"
- "2575:2575"
- "12575:12575"
env_file: docker-compose.env
environment:
WILDFLY_CHOWN: /opt/wildfly/standalone /storage
WILDFLY_WAIT_FOR: ldap:389 db:5432
depends_on:
- ldap
- keycloak
- db
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- /var/local/dcm4chee-arc/wildfly:/opt/wildfly/standalone
- /var/local/dcm4chee-arc/storage:/storage
2- download weasis.war,weasis-ext.war,weasis-i18n.war,weasis-pacs-connector.war
and open https://<WILDFLY_HOST>:9993/ and deploy it.
3- check by showing eye icon in dcm4chee and it's appear
4- when click for secure version no query in log file but for non-secure it's query but not open weasis viewer

i hope quickly answer.

from weasis-pacs-connector.

nroduit avatar nroduit commented on May 29, 2024

Your configuration doesn't match of the two possible configurations (first used weasis version at the server side, second only used the client installation):

IID_PATIENT_URL=../../weasis-pacs-connector/weasis?patientID={{patientID}}&access_token={{access_token}}
IID_STUDY_URL=../../weasis-pacs-connector/weasis?studyUID={{studyUID}}&access_token={{access_token}}
IID_URL_TARGET=_self

IID_PATIENT_URL=../../weasis-pacs-connector/weasis?patientID={{patientID}}&cdb&access_token={{access_token}}
IID_STUDY_URL=../../weasis-pacs-connector/weasis?studyUID={{studyUID}}&cdb&access_token={{access_token}}
IID_URL_TARGET=_self

If it doesn't work, you should have a look on weasis-pacs-connector logs (from wildfly console) or dcm4chee logs.

Did you try the most simple configuration: https://nroduit.github.io/en/basics/customize/integration/#download-directly-with-dicomweb-restful-services

from weasis-pacs-connector.

amsalama avatar amsalama commented on May 29, 2024

Thanks a lot for reply .
i change to
IID_STUDY_URL=../../weasis-pacs-connector/weasis?&studyUID={{studyUID}}&target=_self&access_token={{access_token}}
IID_PATIENT_URL=../../weasis-pacs-connector/weasis?&patientID={{patientID}}&target=_self&access_token={{access_token}}
in server log it's query dcm4chee but not open weasis
also, weasis have log file , if it have where is path ?

these line from server.log in dcm4chee :
112]
2020-12-23 12:40:36,132 INFO [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-11) DCM4CHEE<-PACS-CONNECTOR(4) >> A-ASSOCIATE-RQ
2020-12-23 12:40:36,133 INFO [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-11) DCM4CHEE<-PACS-CONNECTOR(4) << A-ASSOCIATE-AC
2020-12-23 12:40:36,135 INFO [org.dcm4che3.net.Dimse] (EE-ManagedExecutorService-default-Thread-11) DCM4CHEE<-PACS-CONNECTOR(4) >> 1:C-FIND-RQ[pcid=1, prior=0
cuid=1.2.840.10008.5.1.4.1.2.2.1 - Study Root Query/Retrieve Information Model - FIND
tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian]
2020-12-23 12:40:36,139 INFO [org.dcm4chee.arc.query.scp.CommonCFindSCP] (EE-ManagedExecutorService-default-Thread-11) DCM4CHEE<-PACS-CONNECTOR(4): Process C-FIND RQ:
(0008,0020) DA [] StudyDate
(0008,0030) TM [] StudyTime
(0008,0050) SH [] AccessionNumber
(0008,0052) CS [STUDY] QueryRetrieveLevel
(0008,0061) CS [] ModalitiesInStudy
(0008,0090) PN [] ReferringPhysicianName
(0008,1030) LO [] StudyDescription
(0010,0010) PN [] PatientName
(0010,0020) LO [2168068] PatientID
(0010,0021) LO [VA_CARSto-4DI63] IssuerOfPatientID
(0010,0030) DA [] PatientBirthDate
(0010,0040) CS [] PatientSex
(0020,000D) UI [] StudyInstanceUID
(0020,0010) SH [] StudyID

2020-12-23 12:40:36,178 INFO [org.dcm4che3.net.Dimse] (EE-ManagedExecutorService-default-Thread-12) DCM4CHEE<-PACS-CONNECTOR(4) << 1:C-FIND-RSP[pcid=1, status=ff00H
cuid=1.2.840.10008.5.1.4.1.2.2.1 - Study Root Query/Retrieve Information Model - FIND
tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian]
2020-12-23 12:40:36,180 INFO [org.dcm4che3.net.Dimse] (EE-ManagedExecutorService-default-Thread-12) DCM4CHEE<-PACS-CONNECTOR(4) << 1:C-FIND-RSP[pcid=1, status=0H
cuid=1.2.840.10008.5.1.4.1.2.2.1 - Study Root Query/Retrieve Information Model - FIND
tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian]
2020-12-23 12:40:36,181 INFO [org.dcm4che3.net.Connection] (EE-ManagedExecutorService-default-Thread-2) Accept connection Socket[addr=/127.0.0.1,port=46381,localport=11112]
2020-12-23 12:40:36,182 INFO [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-11) DCM4CHEE<-PACS-CONNECTOR(4) >> A-RELEASE-RQ
2020-12-23 12:40:36,182 INFO [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-11) DCM4CHEE<-PACS-CONNECTOR(4) << A-RELEASE-RP
2020-12-23 12:40:36,211 INFO [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-13) DCM4CHEE<-PACS-CONNECTOR(5) >> A-ASSOCIATE-RQ
2020-12-23 12:40:36,212 INFO [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-13) DCM4CHEE<-PACS-CONNECTOR(5) << A-ASSOCIATE-AC
2020-12-23 12:40:36,213 INFO [org.dcm4che3.net.Dimse] (EE-ManagedExecutorService-default-Thread-13) DCM4CHEE<-PACS-CONNECTOR(5) >> 1:C-FIND-RQ[pcid=1, prior=0
cuid=1.2.840.10008.5.1.4.1.2.2.1 - Study Root Query/Retrieve Information Model - FIND
tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian]
2020-12-23 12:40:36,213 INFO [org.dcm4chee.arc.query.scp.CommonCFindSCP] (EE-ManagedExecutorService-default-Thread-13) DCM4CHEE<-PACS-CONNECTOR(5): Process C-FIND RQ:
(0008,0052) CS [SERIES] QueryRetrieveLevel
(0008,0060) CS [] Modality
(0008,103E) LO [] SeriesDescription
(0020,000D) UI [1.2.840.113619.2.358.3.2831172914.667.1504680361.584] StudyIns
(0020,000E) UI [] SeriesInstanceUID
(0020,0011) IS [] SeriesNumber

2020-12-23 12:40:36,234 INFO [org.dcm4che3.net.Association] (EE-ManagedScheduledExecutorService-default-Thread-5) DCM4CHEE<-PACS-CONNECTOR(4): close Socket[addr=localhost/127.0.0.1,port=54639,localport=11112]
2020-12-23 12:40:36,241 INFO [org.dcm4che3.net.Dimse] (EE-ManagedExecutorService-default-Thread-12) DCM4CHEE<-PACS-CONNECTOR(5) << 1:C-FIND-RSP[pcid=1, status=ff00H
cuid=1.2.840.10008.5.1.4.1.2.2.1 - Study Root Query/Retrieve Information Model - FIND
tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian]
2020-12-23 12:40:36,245 INFO [org.dcm4che3.net.Dimse] (EE-ManagedExecutorService-default-Thread-12) DCM4CHEE<-PACS-CONNECTOR(5) << 1:C-FIND-RSP[pcid=1, status=0H
cuid=1.2.840.10008.5.1.4.1.2.2.1 - Study Root Query/Retrieve Information Model - FIND
tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian]
2020-12-23 12:40:36,248 INFO [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-13) DCM4CHEE<-PACS-CONNECTOR(5) >> A-RELEASE-RQ
2020-12-23 12:40:36,249 INFO [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-13) DCM4CHEE<-PACS-CONNECTOR(5) << A-RELEASE-RP
2020-12-23 12:40:36,249 INFO [org.dcm4che3.net.Connection] (EE-ManagedExecutorService-default-Thread-2) Accept connection Socket[addr=/127.0.0.1,port=58409,localport=11112]
2020-12-23 12:40:36,260 INFO [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-13) DCM4CHEE<-PACS-CONNECTOR(6) >> A-ASSOCIATE-RQ
2020-12-23 12:40:36,261 INFO [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-13) DCM4CHEE<-PACS-CONNECTOR(6) << A-ASSOCIATE-AC
2020-12-23 12:40:36,262 INFO [org.dcm4che3.net.Dimse] (EE-ManagedExecutorService-default-Thread-13) DCM4CHEE<-PACS-CONNECTOR(6) >> 1:C-FIND-RQ[pcid=1, prior=0
cuid=1.2.840.10008.5.1.4.1.2.2.1 - Study Root Query/Retrieve Information Model - FIND
tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian]
2020-12-23 12:40:36,262 INFO [org.dcm4chee.arc.query.scp.CommonCFindSCP] (EE-ManagedExecutorService-default-Thread-13) DCM4CHEE<-PACS-CONNECTOR(6): Process C-FIND RQ:
(0008,0018) UI [] SOPInstanceUID
(0008,0052) CS [IMAGE] QueryRetrieveLevel
(0020,000D) UI [1.2.840.113619.2.358.3.2831172914.667.1504680361.584] StudyIns
(0020,000E) UI [1.2.840.113619.2.358.3.2831172914.667.1504680361.589.4] Series
(0020,0013) IS [] InstanceNumber

2020-12-23 12:40:36,300 INFO [org.dcm4che3.net.Dimse] (EE-ManagedExecutorService-default-Thread-12) DCM4CHEE<-PACS-CONNECTOR(6) << 1:C-FIND-RSP[pcid=1, status=ff00H
cuid=1.2.840.10008.5.1.4.1.2.2.1 - Study Root Query/Retrieve Information Model - FIND
tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian]
2020-12-23 12:40:36,304 INFO [org.dcm4che3.net.Association] (EE-ManagedScheduledExecutorService-default-Thread-4) DCM4CHEE<-PACS-CONNECTOR(5): close Socket[addr=localhost/127.0.0.1,port=46381,localport=11112]
2020-12-23 12:40:36,314 INFO [org.dcm4che3.net.Dimse] (EE-ManagedExecutorService-default-Thread-12) DCM4CHEE<-PACS-CONNECTOR(6) << 1:C-FIND-RSP[pcid=1, status=0H
cuid=1.2.840.10008.5.1.4.1.2.2.1 - Study Root Query/Retrieve Information Model - FIND
tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian]
2020-12-23 12:40:36,321 INFO [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-13) DCM4CHEE<-PACS-CONNECTOR(6) >> A-RELEASE-RQ
2020-12-23 12:40:36,322 INFO [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-13) DCM4CHEE<-PACS-CONNECTOR(6) << A-RELEASE-RP
2020-12-23 12:40:36,325 INFO [stdout] (pool-14-thread-2) 2020-12-23 12:40:36,315 [ool-14-thread-2] INFO o.w.d.m.t.ManifestBuilder Build Manifest in 192 ms [id=2]
2020-12-23 12:40:36,372 INFO [org.dcm4che3.net.Association] (EE-ManagedScheduledExecutorService-default-Thread-7) DCM4CHEE<-PACS-CONNECTOR(6): close Socket[addr=localhost/127.0.0.1,port=58409,localport=11112]

from weasis-pacs-connector.

nroduit avatar nroduit commented on May 29, 2024

In logs everything seems to be OK. The manifest is created.

The configuration of the URLs mentioned above is still wrong:

-IID_STUDY_URL=../../weasis-pacs-connector/weasis?&studyUID={{studyUID}}&target=_self&access_token={{access_token}}
+IID_PATIENT_URL=../../weasis-pacs-connector/weasis?patientID={{patientID}}&access_token={{access_token}}
-IID_PATIENT_URL=../../weasis-pacs-connector/weasis?&patientID={{patientID}}&target=_self&access_token={{access_token}}
+IID_STUDY_URL=../../weasis-pacs-connector/weasis?studyUID={{studyUID}}&access_token={{access_token}}

but it seems that importing URL from a Docker environment variable requires to escape '&'

IID_PATIENT_URL=../../weasis-pacs-connector/weasis?patientID={{patientID}}\&access_token={{access_token}}
IID_STUDY_URL=../../weasis-pacs-connector/weasis?studyUID={{studyUID}}\&access_token={{access_token}}
IID_URL_TARGET=_self

or try without weasis-pacs-connector:

IID_PATIENT_URL=weasis://$dicom:rs --url "{{qidoBaseURL}}{{qidoBasePath}}" -r "patientID={{patientID}}" --query-ext "\&includedefaults=false" -H "Authorization: Bearer {{access_token}}"
IID_STUDY_URL=weasis://$dicom:rs --url "{{qidoBaseURL}}{{qidoBasePath}}" -r "studyUID={{studyUID}}" --query-ext "\&includedefaults=false" -H "Authorization: Bearer {{access_token}}"
IID_URL_TARGET=_self

from weasis-pacs-connector.

amsalama avatar amsalama commented on May 29, 2024

could u tell me where i check logs , manifest ?
yes, i used in env file and also change now to what u sent but still have same issue not open weasis (query is ok )

from weasis-pacs-connector.

nroduit avatar nroduit commented on May 29, 2024

I'm not sure that dcm4chee update the URLs from Docker environment variable, so could you provide here the values from dcm4chee: Configuration > Devices > dcm4chee-arc > Extensions > Edit extension > Child Objects > Web Applications > DCM4CHEE

from weasis-pacs-connector.

amsalama avatar amsalama commented on May 29, 2024

this from UI as you refer
IID_PATIENT_URL=../../weasis-pacs-connector/weasis?patientID={{patientID}}&access_token={{access_token}}
IID_STUDY_URL=../../weasis-pacs-connector/weasis?studyUID={{studyUID}}&access_token={{access_token}}
IID_URL_TARGET=_self

from weasis-pacs-connector.

nroduit avatar nroduit commented on May 29, 2024

It seems correct.

So the problem is else where. Can you open weasis from https://nroduit.github.io/en/demo/

from weasis-pacs-connector.

amsalama avatar amsalama commented on May 29, 2024

yes, it's work to open weasis if i install locally and click launch from demo page.
also, from d4c it open weasis and close without any open dicom image.
log file from my home ~/.weasis/log/boot-1.log
23.12.2020 13:49:43.405 INFO [main] org.weasis.launcher.ConfigData: Starting Weasis...
23.12.2020 13:49:43.493 INFO [main] org.weasis.launcher.ConfigData: Initialization of the launch configuration...
23.12.2020 13:49:43.493 INFO [main] org.weasis.launcher.ConfigData: Main arg 0 = weasis://%24dicom%3Aget%20-w%20https%3A%2F%2Fnroduit.github.io%2Fsamples%2Fdemo%2Fcomp
ression1.xml
23.12.2020 13:49:43.527 CONFIG [main] org.weasis.launcher.Singleton: Singleton server 45D86FE2 already running on port 46,357
23.12.2020 13:49:43.528 CONFIG [main] org.weasis.launcher.Singleton: Connect to 45D86FE2 on port 46,357
23.12.2020 13:51:59.497 INFO [main] org.weasis.launcher.ConfigData: Starting Weasis...
23.12.2020 13:51:59.584 INFO [main] org.weasis.launcher.ConfigData: Initialization of the launch configuration...
23.12.2020 13:51:59.585 INFO [main] org.weasis.launcher.ConfigData: Main arg 0 = weasis://%24dicom%3Aget+-w+%22https%3A%2F%2F192.168.1.7%3A8443%2Fweasis-pacs-connector
%2FRequestManifest%3Fid%3D4%22+%24weasis%3Aconfig++cdb%3D%22https%3A%2F%2F192.168.1.7%3A8443%2Fweasis%22+cdb-ext%3D%22https%3A%2F%2F192.168.1.7%3A8443%2Fweasis-ext%22+au
th%3D%22Bearer+eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJrZUxqOVo3LVEwdFlabi1aRk44SXJnWEVHYUZIel9Gbm55U2pZaXdyQkVnIn0.eyJleHAiOjE2MDg3MjQ2MTgsImlhdCI6MTYwODcyND
MxOCwiYXV0aF90aW1lIjoxNjA4NzIxMDYzLCJqdGkiOiIxN2U4ZDNmMC03ODFhLTQwOTctYTQzNi1hYTQxMzVjYTM5YWEiLCJpc3MiOiJodHRwczovLzE5Mi4xNjguMS43Ojg4NDMvYXV0aC9yZWFsbXMvZGNtNGNoZSIsImF
1ZCI6WyJyZWFsbS1tYW5hZ2VtZW50IiwiYWNjb3VudCJdLCJzdWIiOiJkMzFhYzRjZi04NGVmLTQyNjgtOWEzZS0xOWVmOWVhNjUxM2IiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJkY200Y2hlZS1hcmMtdWkiLCJub25jZSI6
ImI5YTI1YWY0LTUyYzktNGJhNS04N2RjLWM5MTZlZjM3OWU2OCIsInNlc3Npb25fc3RhdGUiOiI0ZDEyM2EzNi0xOTY1LTQ1MTAtYjc3ZC1mNmZjMDYzNmU2NzgiLCJhY3IiOiIwIiwiYWxsb3dlZC1vcmlnaW5zIjpbImh0d
HBzOi8vMTkyLjE2OC4xLjc6ODQ0MyIsImh0dHBzOi8vbG9jYWxob3N0Ojg0NDMiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkFETUlOSVNUUkFUT1IiLCJhdWRpdGxvZyIsImFkbWluIiwidXNlciJdfSwicmVzb3VyY2
VfYWNjZXNzIjp7InJlYWxtLW1hbmFnZW1lbnQiOnsicm9sZXMiOlsidmlldy1yZWFsbSIsInZpZXctaWRlbnRpdHktcHJvdmlkZXJzIiwibWFuYWdlLWlkZW50aXR5LXByb3ZpZGVycyIsImltcGVyc29uYXRpb24iLCJyZWF
sbS1hZG1pbiIsImNyZWF0ZS1jbGllbnQiLCJtYW5hZ2UtdXNlcnMiLCJxdWVyeS1yZWFsbXMiLCJ2aWV3LWF1dGhvcml6YXRpb24iLCJxdWVyeS1jbGllbnRzIiwicXVlcnktdXNlcnMiLCJtYW5hZ2UtZXZlbnRzIiwibWFu
YWdlLXJlYWxtIiwidmlldy1ldmVudHMiLCJ2aWV3LXVzZXJzIiwidmlldy1jbGllbnRzIiwibWFuYWdlLWF1dGhvcml6YXRpb24iLCJtYW5hZ2UtY2xpZW50cyIsInF1ZXJ5LWdyb3VwcyJdfSwiYWNjb3VudCI6eyJyb2xlc
yI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJvcGVuaWQgZW1haWwgcHJvZmlsZSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3
VzZXJuYW1lIjoiYWRtaW4iLCJnaXZlbl9uYW1lIjoiIiwiZmFtaWx5X25hbWUiOiIifQ.Gq1tXZ_XivDddgBNTsktHguudawBGG4dJuv8X9YryMiNvRvNkdZnYezijhVOBdb_Bevq6bsBmKuHvBjcSirR3FJPupKfnmYkLRRy
wpBmRSxYX7WMo08aiB-ewTeynv8hVfO2-OrbUxbwi2ufdBHlum_BGtQ1XFR3X1PIDaqueVsRNg2Viy7mZ_pT4lRkFhjL00fnjl2Ha5Fp1GB7wQZSrupAcIuusNj7ASFDoODdbLdiDNLTlthgFmliAciO0FBQEixreNUUapHDi
bE6yyAbG_0m0-T9YhtWoL7Vuo9Dv6gzTNQd1l17DtqGSrmGd_4Ud5Vu0ce4NA9oTawqBAYquQ%22
23.12.2020 13:52:00.118 SEVERE [main] org.weasis.launcher.WeasisLauncher: Cannot read properties file: https://192.168.1.7:8443/weasis/conf/config.properties
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to re
quested target
at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)
at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(Unknown Source)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(Unknown Source)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(Unknown Source)
at java.base/sun.security.ssl.SSLHandshake.consume(Unknown Source)
at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
at java.base/sun.security.ssl.TransportContext.dispatch(Unknown Source)
at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at org.weasis.launcher.WeasisLauncher.readProperties(WeasisLauncher.java:650)
at org.weasis.launcher.ConfigData.loadConfigProperties(ConfigData.java:623)
at org.weasis.launcher.ConfigData.init(ConfigData.java:125)
at org.weasis.launcher.ConfigData.(ConfigData.java:87)
at org.weasis.launcher.AppLauncher.main(AppLauncher.java:23)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certifi
cation path to requested target
at java.base/sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at java.base/sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at java.base/sun.security.validator.Validator.validate(Unknown Source)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
... 22 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
at java.base/java.security.cert.CertPathBuilder.build(Unknown Source)
... 27 more
23.12.2020 13:52:00.200 SEVERE [main] org.weasis.launcher.WeasisLauncher: Cannot read properties file: https://192.168.1.7:8443/weasis-ext/conf/ext-config.properties
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to re
quested target
at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)
at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(Unknown Source)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(Unknown Source)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(Unknown Source)
at java.base/sun.security.ssl.SSLHandshake.consume(Unknown Source)
at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
at java.base/sun.security.ssl.TransportContext.dispatch(Unknown Source)
at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at org.weasis.launcher.WeasisLauncher.readProperties(WeasisLauncher.java:650)
at org.weasis.launcher.ConfigData.loadConfigProperties(ConfigData.java:634)
at org.weasis.launcher.ConfigData.init(ConfigData.java:125)
at org.weasis.launcher.ConfigData.(ConfigData.java:87)
at org.weasis.launcher.AppLauncher.main(AppLauncher.java:23)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certifi
cation path to requested target
at java.base/sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at java.base/sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at java.base/sun.security.validator.Validator.validate(Unknown Source)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
... 22 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
at java.base/java.security.cert.CertPathBuilder.build(Unknown Source)

from weasis-pacs-connector.

nroduit avatar nroduit commented on May 29, 2024

Read the last item of Warning box

from weasis-pacs-connector.

amsalama avatar amsalama commented on May 29, 2024

i know last issue from certificate
but if remove weasis locally and run from dcm4chee not open weasis viewer.

from weasis-pacs-connector.

nroduit avatar nroduit commented on May 29, 2024

This is an expected behavior. If you replace 'weasis' by 'viewer' in the URLs it will used Java Webstart (not recommended and requires an installation of Java 8 on the client).

Some more information:

from weasis-pacs-connector.

amsalama avatar amsalama commented on May 29, 2024

Thanks for reply
but still have issue, how can i debug.

from weasis-pacs-connector.

nroduit avatar nroduit commented on May 29, 2024

Which issue?

from weasis-pacs-connector.

amsalama avatar amsalama commented on May 29, 2024

Not open weais viewer from dcm4chee if remove weasis from local machine.

from weasis-pacs-connector.

nroduit avatar nroduit commented on May 29, 2024

As I said above it is an expected behavior when using weasis-protocol.

from weasis-pacs-connector.

amsalama avatar amsalama commented on May 29, 2024

so, it's issue from dcm4chee side ?

from weasis-pacs-connector.

nroduit avatar nroduit commented on May 29, 2024

It is not an issue but a requirement. The 'weasis://' URI must be registered with a local installation of Weasis.

from weasis-pacs-connector.

amsalama avatar amsalama commented on May 29, 2024

so, if i not install weasis locally we can not open viewer right ?

from weasis-pacs-connector.

nroduit avatar nroduit commented on May 29, 2024

Yes, if you are on Windows, it should suggest an App from the Microsoft Store where Weasis is registered.

from weasis-pacs-connector.

nroduit avatar nroduit commented on May 29, 2024

It works in the same way as you smart phone when requiring a specific application.

from weasis-pacs-connector.

amsalama avatar amsalama commented on May 29, 2024

thanks for your time .

from weasis-pacs-connector.

amsalama avatar amsalama commented on May 29, 2024

i am sorry for more interruption
i installed weasis locally and
when i use
IID_STUDY_URL=../../weasis-pacs-connector/weasis://$dicom:rs --url "{{qidoBaseURL}}{{qidoBasePath}}" -r "patientID={{patientID}}" --query-ext "&includedefaults=false"
IID_PATIENT_URL=../../weasis-pacs-connector/weasis://$dicom:rs --url "{{qidoBaseURL}}{{qidoBasePath}}" -r "patientID={{patientID}}" --query-ext "&includedefaults=false"
IID_URL_TARGET=_self
not open viewer
but if i use
IID_STUDY_URL=weasis://$dicom:rs --url "{{qidoBaseURL}}{{qidoBasePath}}" -r "patientID={{patientID}}" --query-ext "&includedefaults=false"
IID_PATIENT_URL=weasis://$dicom:rs --url "{{qidoBaseURL}}{{qidoBasePath}}" -r "patientID={{patientID}}" --query-ext "&includedefaults=false"
IID_URL_TARGET=_self
it's work
can you clarify why ?

from weasis-pacs-connector.

nroduit avatar nroduit commented on May 29, 2024

weasis-pacs-connector is a service that generates the launch configuration and the xml manifest for the images. So you need to follow the syntax described here.

The second configuration is a direct configuration of the launcher inside the URI (with parameters that are injected by dcm4chee or other PACS) and the XML is build on the client side (from Weasis 3.6.0). If you do not have specific needs you should use this configuration.

from weasis-pacs-connector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.