storescu issue

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
niirdan
Posts: 21
Joined: Wed, 2023-02-22, 13:13

storescu issue

#1 Post by niirdan »

Hey Friends ,
I'm Sending dicom files via storescu , to a Remote StoreSCP Server (with tls)
weirdly, when im sending dicom file with the type of :

Code: Select all

 .180224000
storescu crash

** I Am using --accept-all in storescp
In storescu im using :

Code: Select all

--required --propose-jpeg8 --propose-lossless
StoreSCU Error :

Code: Select all

 E: 0006:020e DIMSE Failed to send message
E: Store SCU Failed: 0006:020e DIMSE Failed to send message
Thanks!

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1445
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

Re: storescu issue

#2 Post by Marco Eichelberg »

I would be surprised if the filename had any role in this problem. Please provide more detail: What is the content of the file, what is the output of storescp --debug? Is there a crash does the tool report an error and terminate? Which DCMTK version, which operating system?

niirdan
Posts: 21
Joined: Wed, 2023-02-22, 13:13

Re: storescu issue

#3 Post by niirdan »

thanks for the fast reply,
storescp :

Code: Select all

sudo storescp --verbose --debug --accept-all +xs --enable-tls key.pem crt.pem --add-cert-file ca-crt.pem --output-directory dicom_files -B  443
storescu:
i removed ip and crt setting for privacy

Code: Select all

storescu --aetitle X --call X --required --propose-jpeg8 --propose-lossless --ip-- 443 --scan-directories "dir" +r --enable-tls key.pem crt.pem --add-cert-file ca-crt.pem
In Storescp Log there is nothing about it
this is the log in storescu :

Code: Select all

W: DIMSE Warning: (art,art): sendMessage: unable to convert dataset from 'JPEG Baseline' transfer syntax to 'Little Endian Explicit'
E: Store Failed, file: C:\testing_1\1.2.276.0.26.1.1.1.2.2020.393.49676.3614986.180224000:
E: 0006:020e DIMSE Failed to send message
E: Store SCU Failed: 0006:020e DIMSE Failed to send message

niirdan
Posts: 21
Joined: Wed, 2023-02-22, 13:13

Re: storescu issue

#4 Post by niirdan »

thanks for the fast reply,
storescp :

Code: Select all

sudo storescp --verbose --debug --accept-all +xs --enable-tls key.pem crt.pem --add-cert-file ca-crt.pem --output-directory dicom_files -B  443
storescu:
i removed ip and crt setting for privacy

Code: Select all

storescu --aetitle X --call X --required --propose-jpeg8 --propose-lossless --ip-- 443 --scan-directories "dir" +r --enable-tls key.pem crt.pem --add-cert-file ca-crt.pem
In Storescp Log there is nothing about it
this is the log in storescu :

Code: Select all

W: DIMSE Warning: (art,art): sendMessage: unable to convert dataset from 'JPEG Baseline' transfer syntax to 'Little Endian Explicit'
E: Store Failed, file: C:\testing_1\1.2.276.0.26.1.1.1.2.2020.393.49676.3614986.180224000:
E: 0006:020e DIMSE Failed to send message
E: Store SCU Failed: 0006:020e DIMSE Failed to send message

J. Riesmeier
DCMTK Developer
Posts: 2506
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: storescu issue

#5 Post by J. Riesmeier »

My comment on this: option --propose-jpeg8 and --propose-lossless are mutually exclusive, the rightmost appearance wins, i.e. in this case --propose-lossless. Remove this --propose-lossless from the storescu call and it should work.

By the way, enabling the --debug log output is usually also quite helpful.

niirdan
Posts: 21
Joined: Wed, 2023-02-22, 13:13

Re: storescu issue

#6 Post by niirdan »

Thank you for you help! ,
removing the --propose-lossless indeed solve the problem

Best regards.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest