Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration Issue #142

Open
S-Streit opened this issue Mar 2, 2023 · 4 comments
Open

Configuration Issue #142

S-Streit opened this issue Mar 2, 2023 · 4 comments
Labels
help wanted Extra attention is needed low priority server Likely due to non-conformant DICOMweb server

Comments

@S-Streit
Copy link

S-Streit commented Mar 2, 2023

Short description:
I try to change the dicom server thats within the local config towards using another ip so i can reach slim within the intranet using the ip. Loading of studies is okay, but once i open an image while loading bulkdata within api.js the url gets swapped towards localhost again and i really struggle to figure out why.

See related issue at the bottom would greatly appreciate help. Thanks in advance

image
replacing localhost:8008 with the ip, which gets me past the first issue.
After this however:
image
Somwhere, while fetching the image data, the IP gets replaced by localhost:8008 again.
Everything works if localhost is exchanged with the IP.

Further i checked base url in DICOMwebmanager and other places so i cant really figure out why this happens.

Originally posted by @S-Streit in #65 (comment)

@hackermd
Copy link
Collaborator

hackermd commented Mar 9, 2023

@S-Streit I think I know what's going on. It appears that the error occurs with the attempt to retrieve an ICC profile using the Retrieve Bulkdata resource. The URI for this resource is provided by the DICOMweb server in the DICOM metadata via the "BulkdataURI". It appears that the DICOMweb server includes URIs using "localhost" for host.

Do you have a reverse proxy in front of the DICOMweb server? If so, you need to configure the DICOMweb server such that it is aware of the proxy and includes the correct host in BulkdataURI values. Alternatively, you could rewrite the response message payload of search request messages.

@hackermd hackermd added help wanted Extra attention is needed server Likely due to non-conformant DICOMweb server labels Mar 9, 2023
@S-Streit
Copy link
Author

This actually points me in the right direction and Slim is back in my TODO stack. I will see the DicomWebService config this or next week and give Feedback on the issue.
Thank you very much for your time.

@maxfscher
Copy link

Just out of cusriosity, @S-Streit did you find a solution for your problem? I have an issue that expresses itself very similar.

@S-Streit
Copy link
Author

S-Streit commented Aug 7, 2023

Not yet, having other Problems writing different types on annotations ATM. Will actually come back. Probably it will involve reconfiguring the dicom server or use the suggested hack and replace the Request Payload. Did not look into it to hard since slims features are working to my needs at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed low priority server Likely due to non-conformant DICOMweb server
Projects
None yet
Development

No branches or pull requests

4 participants