knopkem / dicomweb-proxy

A proxy to translate between dicomweb and traditional dicom dimse services (PACS communication)
Other
69 stars 20 forks source link

WADO Calls kills the server #22

Closed ferranalma3d closed 3 years ago

ferranalma3d commented 3 years ago

Hi Again,

No is working but with ohif and dicom4chee all the studies give the same error and server crashes

I've checked de log but there's the same info

14:41:36.725 INFO storeddata\1.2.826.0.1.3680043.2.403.53.1150416105135925.1.345051961227 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! dicomweb-proxy@1.0.16 start: node src/app.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the dicomweb-proxy@1.0.16 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\ferra\AppData\Roaming\npm-cache_logs\2021-03-26T13_41_36_753Z-debug.log

Thx a lot again!

image image image

knopkem commented 3 years ago

Hi, did you modify the default value in the default.js config for storagePath? It looks to me that it wants to store the data using an invalid path. Do you use C-Get or C-Move (config.useCget). Its recommended to use C-GET with DCM4CHEE. I tested both and it was working for me. Maybe post your default.js config. Remember that you might need to register the proxy at your DCM4CHEE server (default AET: DICOMWEB_PROXY, port: 8888)

knopkem commented 3 years ago

Hi, I could reproduce the crash and applied some code changes to fix it. The reason was an unhandled exception due to a failed c-move operation. This can happen e.g.

ferranalma3d commented 3 years ago

Hi!!

Thanks a lot! :)