OHIF / Viewers

OHIF zero-footprint DICOM viewer and oncology specific Lesion Tracker, plus shared extension packages
https://docs.ohif.org/
MIT License
2.98k stars 3.12k forks source link

[Bug] DICOM JSON 方式访问dcm文件报错: xhrRequest.ts:162 GET http://ip:8001/E01/I00000000016.dcm 406 (Not Acceptable) #4251

Closed liujun1998-liu closed 1 week ago

liujun1998-liu commented 1 week ago

Describe the Bug

Viewers-3.8.2 DICOM JSON 方式访问dcm文件报错: xhrRequest.ts:162 GET http://ip:8001/E01/I00000000016.dcm 406 (Not Acceptable) 1718984125447

Steps to Reproduce

  1. Run the project
  2. Access the json file http://xx:8001/viewer/dicomjson?url=http://xx:8082/1.json

The current behavior

DICOM JSON 方式访问dcm文件报错: xhrRequest.ts:162 GET http://ip:8001/E01/I00000000016.dcm 406 (Not Acceptable)

The expected behavior

How does dicomjson load images properly?

OS

windows10

Node version

v20.14.0

Browser

Chrome126.0.6478.62

liujun1998-liu commented 1 week ago

http://ip:8001/E01/I00000000016.dcm The dcm file is deployed on iis 10.

liujun1998-liu commented 1 week ago

问题已解决