Can't receive images from PACS to Vitrea

  • Hi,


    First of all thank you for great software I am really liked it too much. But I decided to upgrade PACS server to new version and the following issues I have:


    Issue with pacs server 1.4.17 and Vitrea.
    I installed Ubuntu and installed pacs server. I was able to connect to this server from Efilm. I can search and receive studies but with Vitrea I can only search and when retrieve the "did mot accept connection" error message appear.


    I tried from linux telnet to vitrea ip and port and I can connect, so the issue is not firewall. I double check AE titles in acrmap.net.


    The pacs server is installed on 64 bit linux. Couple years ago I installed and configured 1.4.14 on ubunt 32 bit and is still working pretty well.
    I have log file but unfortunately it's images.



    I checked the log file and as far as understand the problem is in the response of the PACS server. The Vitrea Waiting to receive Association Request and Pacs are sending FAILURE/REFUSE status (0Xc005)
    Could anyone help me with this, please ?


    Thank you,
    Andrey

  • Hi Marcel,


    Thank you for your reply,
    Old version of the conquest is 1.4.16 and it works perfect. This version is installed on Ubuntu 32 bit. In the log file after the Waiting to receive Association request it's start receiving image.


    New version I installed is 1.4.17d. I tried to install it to Ubuntu 64/32 and Mint 32/64 and everytime the same error message.
    The process of the installation is the following:


    sudo apt-get install libjasper-dev libjpeg-dev mysql-server


    login to mysql and create database, configuring arcname.map and dicom.ini.
    new AE title added to acrname.map
    VITREA1 192.168.1.6 3002 un


    in dicom.ini modifying access to mysqldb
    sudo maklinux_mysql


    ./dgate -rv


    at the Vitrea ECF programm adding the new entry for conquest server. CONQUESTSRV2 5678.
    After that trying diagnostic tools. sending ECHO and it works.


    After that receiving the list of the test data from conquest and at the C-MOVE it said that the
    Host 'Vitrea1' didn't accept the connection.


    I checked the ping to vitrea1 and telnet to 3002 port, it's OK.
    I checked ping and telnet from Vitrea to conquest and it's OK too.


    so I turned on debug logs at the Vitrea and it shows ERROR: C-MOVE-RSP Command received with FAILURE/REFUSED status (0xC005) unable to process.


    I don't think this issues connected to jpeg and jasper source codes you added to tgz archive. I am using the default libraries from ubuntu.


    I think something wrong in the protocol of communication. I tried to change ports and AE titles.


    If it helps I am going to add more log files in text format tomorrow.


    Thank you,
    Andrey.

  • Hi,


    Vitrea does not show any receive activity, i.e., the reverse connection from conquest to vitrea fails (vitrea is in acrnema.map ?). Can you up the debug logging in conquest, e.g. run (while server is running) dgate --debuglevel:4. I am curious what it says when conquest tries to connect to vitrea.


    For the rest the log seems OK to me. It may be an option to replace part of the sources of 1.4.17d with those from 1.4.19alpha (use folder dgate_new/dicomlib only), as this has better logging. But I cannot guarantee it will compile. I have not yet come round to work on the Linux build for 1.4.19alpha.


    Marcel

  • Hi Marcel,


    This is the log from conquest with debug level 4, In this log the start of the conquest, request for list of studies and C-MOVE request:


    Code
    ./dgate -vMonitoring for files in: ./data/incoming/DGATE (1.4.17d, build Tue Aug 25 00:44:35 2015, bits 64) is running as threaded serverDatabase type: native MySQL connectionTesting transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'Arena 0:system bytes = 1183744in use bytes = 878256Arena 1:system bytes = 393216in use bytes = 392336Arena 2:system bytes = 135168in use bytes = 2224Total (incl. mmap):system bytes = 1712128in use bytes = 1272816max mmap regions = 1max mmap bytes = 311296UPACS THREAD 0: STARTED AT: Tue Aug 25 09:11:47 2015A-ASSOCIATE-RQ Packet Dump Calling Application Title : "VITREA1 " Called Application Title : "CONQUESTSRV2 " Application Context : "1.2.840.10008.3.1.1.1", PDU length: 65536 Number of Proposed Presentation Contexts: 3 Presentation Context 0 "1.2.840.10008.5.1.4.1.2.2.1" 1 Presentation Context 1 "1.2.840.10008.5.1.4.31" 1 Presentation Context 2 "1.2.840.10008.5.1.4.32.1" 0Server Command := 0020Message ID := 00010000,0002 28 UI AffectedSOPClassUID "1.2.840.10008.5.1.4.1.2.2.1" 0000,0100 2 US CommandField 32 0000,0110 2 US MessageID 1 0000,0700 2 US Priority 0 0000,0800 2 US DataSetType 256 0002,0010 17 UI TransferSyntaxUID "1.2.840.10008.1.2" (StudyRootQuery) search level: STUDY 0002,0010 17 UI TransferSyntaxUID "1.2.840.10008.1.2" 0008,0020 10 DA StudyDate "20150823- " 0008,0030 0 TM StudyTime (empty)0008,0050 0 SH AccessionNumber (empty)0008,0052 6 CS QueryRetrieveLevel "STUDY " 0008,0061 0 CS ModalitiesInStudy (empty)0008,0090 0 PN ReferringPhysicianNa (empty)0008,1030 0 LO StudyDescription (empty)0010,0010 0 PN PatientName (empty)0010,0020 0 LO PatientID (empty)0010,0030 0 DA PatientBirthDate (empty)0020,000d 0 UI StudyInstanceUID (empty)0020,0010 0 SH StudyID (empty)0020,1208 0 IS NumberOfStudyRelated (empty)Query On StudyIssue Query on Columns: DICOMStudies.StudyDate, DICOMStudies.StudyTime, DICOMStudies.AccessionN, DICOMStudies.StudyModal, DICOMStudies.ReferPhysi, DICOMStudies.StudyDescr, DICOMStudies.PatientNam, DICOMStudies.PatientID, DICOMStudies.PatientBir, DICOMStudies.StudyInsta, DICOMStudies.StudyIDValues: DICOMStudies.StudyDate >= '20150823'Tables: DICOMStudiesSorting (DICOMStudies.PatientNam) DoSort := 1Query Distinct Tables: DICOMStudiesColumns : DICOMStudies.StudyDate, DICOMStudies.StudyTime, DICOMStudies.AccessionN, DICOMStudies.StudyModal, DICOMStudies.ReferPhysi, DICOMStudies.StudyDescr, DICOMStudies.PatientNam, DICOMStudies.PatientID, DICOMStudies.PatientBir, DICOMStudies.StudyInsta, DICOMStudies.StudyIDWhere : DICOMStudies.StudyDate >= '20150823'Order : DICOMStudies.PatientNamRecords = 0C-Find (StudyRoot) located 0 recordsArena 0:system bytes = 1183744in use bytes = 878208Arena 1:system bytes = 528384in use bytes = 395488Arena 2:system bytes = 135168in use bytes = 2224Total (incl. mmap):system bytes = 1847296in use bytes = 1275920max mmap regions = 1max mmap bytes = 311296UPACS THREAD 0: ENDED AT: Tue Aug 25 09:11:47 2015UPACS THREAD 0: TOTAL RUNNING TIME: 0 SECONDSConnected by address: 0601a8c0Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'Arena 0:system bytes = 1183744in use bytes = 878208Arena 1:system bytes = 528384in use bytes = 392640Arena 2:system bytes = 135168in use bytes = 2224Total (incl. mmap):system bytes = 1847296in use bytes = 1273072max mmap regions = 1max mmap bytes = 311296UPACS THREAD 1: STARTED AT: Tue Aug 25 09:11:53 2015A-ASSOCIATE-RQ Packet Dump Calling Application Title : "VITREA1 " Called Application Title : "CONQUESTSRV2 " Application Context : "1.2.840.10008.3.1.1.1", PDU length: 65536 Number of Proposed Presentation Contexts: 3 Presentation Context 0 "1.2.840.10008.5.1.4.1.2.2.1" 1 Presentation Context 1 "1.2.840.10008.5.1.4.31" 1 Presentation Context 2 "1.2.840.10008.5.1.4.32.1" 0Server Command := 0020Message ID := 00010000,0002 28 UI AffectedSOPClassUID "1.2.840.10008.5.1.4.1.2.2.1" 0000,0100 2 US CommandField 32 0000,0110 2 US MessageID 1 0000,0700 2 US Priority 0 0000,0800 2 US DataSetType 256 0002,0010 17 UI TransferSyntaxUID "1.2.840.10008.1.2" (StudyRootQuery) search level: STUDY 0002,0010 17 UI TransferSyntaxUID "1.2.840.10008.1.2" 0008,0020 0 DA StudyDate (empty)0008,0030 0 TM StudyTime (empty)0008,0050 0 SH AccessionNumber (empty)0008,0052 6 CS QueryRetrieveLevel "STUDY " 0008,0061 0 CS ModalitiesInStudy (empty)0008,0090 0 PN ReferringPhysicianNa (empty)0008,1030 0 LO StudyDescription (empty)0010,0010 0 PN PatientName (empty)0010,0020 0 LO PatientID (empty)0010,0030 0 DA PatientBirthDate (empty)0020,000d 0 UI StudyInstanceUID (empty)0020,0010 0 SH StudyID (empty)0020,1208 0 IS NumberOfStudyRelated (empty)Query On StudyIssue Query on Columns: DICOMStudies.StudyDate, DICOMStudies.StudyTime, DICOMStudies.AccessionN, DICOMStudies.StudyModal, DICOMStudies.ReferPhysi, DICOMStudies.StudyDescr, DICOMStudies.PatientNam, DICOMStudies.PatientID, DICOMStudies.PatientBir, DICOMStudies.StudyInsta, DICOMStudies.StudyIDValues: Tables: DICOMStudiesSorting (DICOMStudies.PatientNam) DoSort := 1Query Distinct Tables: DICOMStudiesColumns : DICOMStudies.StudyDate, DICOMStudies.StudyTime, DICOMStudies.AccessionN, DICOMStudies.StudyModal, DICOMStudies.ReferPhysi, DICOMStudies.StudyDescr, DICOMStudies.PatientNam, DICOMStudies.PatientID, DICOMStudies.PatientBir, DICOMStudies.StudyInsta, DICOMStudies.StudyIDWhere : (null)Order : DICOMStudies.PatientNamQuery On ImageIssue Query on Columns: COUNT(1)Values: DICOMStudies.StudyDate = '19980414' and DICOMStudies.StudyTime = '203538.960689' and (DICOMStudies.StudyModal = 'CT' or DICOMStudies.StudyModal LIKE 'CT\\\\%' or DICOMStudies.StudyModal LIKE '%\\\\CT\\\\%' or DICOMStudies.StudyModal LIKE '%\\\\CT') and DICOMStudies.StudyDescr = '' and DICOMStudies.PatientNam = 'HEAD EXP2' and DICOMStudies.PatientID = '0009703828' and DICOMStudies.StudyInsta = '1.3.46.670589.5.2.10.2156913941.892665384.993397' and DICOMStudies.StudyID = '0009703828' and DICOMSeries.StudyInsta = DICOMStudies.StudyInsta and DICOMImages.SeriesInst = DICOMSeries.SeriesInstTables: DICOMImages, DICOMSeries, DICOMStudiesRecords = 2Records = 1First record of cleaned response:0008,0020 8 DA StudyDate "19980414" 0008,0030 14 TM StudyTime "203538.960689 " 0008,0050 0 SH AccessionNumber (empty)0008,0061 2 CS ModalitiesInStudy "CT" 0008,0090 0 PN ReferringPhysicianNa (empty)0008,1030 2 LO StudyDescription "\n " 0010,0010 10 PN PatientName "HEAD EXP2 " 0010,0020 10 LO PatientID "0009703828" 0010,0030 0 DA PatientBirthDate (empty)0020,000d 48 UI StudyInstanceUID "1.3.46.670589.5.2.10.2156913941.892665384.993397" 0020,0010 10 SH StudyID "0009703828" 0020,1208 2 IS NumberOfStudyRelated "2 " C-Find (StudyRoot) located 1 recordsArena 0:system bytes = 1183744in use bytes = 878208Arena 1:system bytes = 892928in use bytes = 395744Arena 2:system bytes = 135168in use bytes = 2224Total (incl. mmap):system bytes = 2211840in use bytes = 1276176max mmap regions = 1max mmap bytes = 311296UPACS THREAD 1: ENDED AT: Tue Aug 25 09:11:53 2015UPACS THREAD 1: TOTAL RUNNING TIME: 0 SECONDSConnected by address: 0601a8c0Testing transfer: '1.2.840.10008.1.2' against list #0 = '1.2.840.10008.1.2'Arena 0:system bytes = 1183744in use bytes = 878208Arena 1:system bytes = 892928in use bytes = 391664Arena 2:system bytes = 135168in use bytes = 2224Total (incl. mmap):system bytes = 2211840in use bytes = 1272096max mmap regions = 1max mmap bytes = 311296UPACS THREAD 2: STARTED AT: Tue Aug 25 09:12:00 2015A-ASSOCIATE-RQ Packet Dump Calling Application Title : "VITREA1 " Called Application Title : "CONQUESTSRV2 " Application Context : "1.2.840.10008.3.1.1.1", PDU length: 65536 Number of Proposed Presentation Contexts: 1 Presentation Context 0 "1.2.840.10008.5.1.4.1.2.2.2" 1Server Command := 0021Message ID := 0001 C-Move Destination: "VITREA1 "0000,0002 28 UI AffectedSOPClassUID "1.2.840.10008.5.1.4.1.2.2.2" 0000,0100 2 US CommandField 33 0000,0110 2 US MessageID 1 0000,0600 8 AE MoveDestination "VITREA1 " 0000,0700 2 US Priority 0 0000,0800 2 US DataSetType 256 0002,0010 17 UI TransferSyntaxUID "1.2.840.10008.1.2" (QualifyOn) (mapped) IP:192.168.1.6, PORT:3002MyStudyRootRetrieveGeneric :: SearchOn0002,0010 17 UI TransferSyntaxUID "1.2.840.10008.1.2" 0008,0052 6 CS QueryRetrieveLevel "STUDY " 0008,0054 8 AE RetrieveAETitle "VITREA1 " 0020,000d 48 UI StudyInstanceUID "1.3.46.670589.5.2.10.2156913941.892665384.993397" Query On ImageIssue Query on Columns: DICOMImages.SOPClassUI, DICOMImages.SOPInstanc, DICOMSeries.SeriesInst, DICOMStudies.StudyInsta,DICOMImages.ObjectFile,DICOMImages.DeviceNameValues: DICOMStudies.StudyInsta = '1.3.46.670589.5.2.10.2156913941.892665384.993397' and DICOMSeries.StudyInsta = DICOMStudies.StudyInsta and DICOMImages.SeriesInst = DICOMSeries.SeriesInstTables: DICOMImages, DICOMSeries, DICOMStudiesQuery Distinct Tables: DICOMImages, DICOMSeries, DICOMStudiesColumns : DICOMImages.SOPClassUI, DICOMImages.SOPInstanc, DICOMSeries.SeriesInst, DICOMStudies.StudyInsta,DICOMImages.ObjectFile,DICOMImages.DeviceNameWhere : DICOMStudies.StudyInsta = '1.3.46.670589.5.2.10.2156913941.892665384.993397' and DICOMSeries.StudyInsta = DICOMStudies.StudyInsta and DICOMImages.SeriesInst = DICOMSeries.SeriesInstOrder : (null)Records = 2Number of Images to send: 2Host 'VITREA1' did not accept the connectionC-Move (StudyRoot)Arena 0:system bytes = 1183744in use bytes = 878208Arena 1:system bytes = 892928in use bytes = 395008Arena 2:system bytes = 135168in use bytes = 2224Total (incl. mmap):system bytes = 2211840in use bytes = 1275440max mmap regions = 1max mmap bytes = 311296UPACS THREAD 2: ENDED AT: Tue Aug 25 09:12:01 2015UPACS THREAD 2: TOTAL RUNNING TIME: 1 SECONDS


    The acrname.map


    Code
    /* ********************************************************** * * * DICOM AE (Application entity) -> IP address / Port map * * (This is file ACRNEMA.MAP) * * * * All DICOM systems that want to retrieve images from the * * Conquest DICOM server must be listed here with correct * * AE name, (IP adress or hostname) and port number. * * The first entry is the Conquest system as example. * * * * * * The syntax for each entry is : * * AE <IP adress|Host name> port number compression * * * * For compression see manual. Values are un=uncompressed; * * j1,j2=lossless jpeg;j3..j6=lossy jpeg;n1..n4=nki private * * jk=lossless jpeg2000;jl=lossy jpeg2000 * * * ********************************************************** */CONQUESTSRV1 127.0.0.1 5678 asVITREA1 192.168.1.6 3002 un


    dicom.ini



    What file I should replace in 1.4.17d from new distributive and compile for test ?


    BTW today at morning I installed fresh Mint 64 and compiled dgate with the jasper and jpeg libraries from distributive.



    Thank you,
    Andrey.

  • Hi Marcel,


    I have compiled dgate with the new dicom libraries from 1.4.19a and here is the logs with debug level 4:



    The new line in the log file is
    AAssociateAC :: ReadDynamic failed in PDU:Connect


    what does it mean and how to solve ?


    Thank you,
    Andrey

  • HI Marcel,


    I have deleted dgate, modified the file you meentioned and compiled again.


    Unfortunately the same error


  • Hi hammad,


    I have uploaded images of the ECF configuration for VITREA1 and CONQUESTSRV2 in previous post. As far as I can see it's configured well or C-ECHO from ECF won't work at all.



    Thank you,
    Andrey

  • Hi Marcel,


    I have downloaded my worked version of conquest, compiled it at Mint 64 and it works perfect, take a look my logs of this version


  • Hi Marcel,


    yes, I just noticed that probably I mixed with the versions. But the last distributive I can download from site is conquestlinux1417d.tar.gz and my last version seems 1.4.17 and this version I downloaded and installed almost a year ago.


    Do you need full diff ? or some specific file ?


    Thank you,
    Andrey

  • HI Marcel,


    This version is working well:


    ./dgate -v
    Monitoring for files in: ./data/incoming/
    DGATE (1.4.17, build Thu Aug 27 09:22:37 2015, bits 64) is running as threaded server


    this version not :


    ./dgate -v
    Monitoring for files in: ./data/incoming/
    DGATE (1.4.17d, build Thu Aug 27 08:26:47 2015, bits 64) is running as threaded server



    Thank you,
    Andrey

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!