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

404 Not Found with Get frames request. #88

Open
taivnn9 opened this issue Mar 17, 2023 · 11 comments
Open

404 Not Found with Get frames request. #88

taivnn9 opened this issue Mar 17, 2023 · 11 comments

Comments

@taivnn9
Copy link

taivnn9 commented Mar 17, 2023

I have using POST dcm4che stowrs to upload my dicom file, process was success.
image
image

Study already on my server & DB.
image
image

But get frames not work.
image
image

Please tell me why^^ thank for help

@pieper
Copy link
Contributor

pieper commented Mar 17, 2023

You can check with public data to see if there's something unique about the data you are using. You can also try accessing the same frame endpoint using curl to see if there's a server side issue.

@taivnn9
Copy link
Author

taivnn9 commented Mar 17, 2023

Hi. My Dicom file work fine with Weasis & RadiAnt https://www.rubomedical.com/dicom_files/dicom_viewer_0003.zip

I debug that exception in here:

image
image

Server not found But object.dcm already exist in DB??
image

do you know why? thank!

@pieper
Copy link
Contributor

pieper commented Mar 17, 2023

hard to tell from here, but it looks like you are on the right path debugging. See if you can trace through data that works and compare what happens with this data.

@taivnn9
Copy link
Author

taivnn9 commented Mar 18, 2023

I think that API trying to download dcm file via http request and they not found the resource,
what does this mean "trace through data that works"?

@pieper
Copy link
Contributor

pieper commented Mar 18, 2023

what does this mean "trace through data that works"?

I mean that the server should be working generally for sample data, so you can use a debugger to step through a case where it works vs a case where it doesn't work and compare the difference. If it's not working for any data then perhaps there's something wrong with the installation.

@taivnn9
Copy link
Author

taivnn9 commented Mar 18, 2023

Unfortunately, this happens with all my datasets. :( I reproduce with many dicom files.
Do you thing that issue related DNS?

The EAI_FAIL is related to not being able to resolve the DNS. https://stackoverflow.com/a/70714669

{"message":"getaddrinfo EAI_FAIL admin:admin@localhost","stack":"Error: getaddrinfo EAI_FAIL admin:admin@localhost\n    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26)","errno":-3004,"code":"EAI_FAIL","syscall":"getaddrinfo","hostname":"admin:admin@localhost"}

@pieper
Copy link
Contributor

pieper commented Mar 18, 2023

That sounds likely, yes. It looks like you are on windows, and I'm not sure that this server has ever been tested there. You could try creating a small linux VM to test how things are meant to work and then see which steps are different on windows.

@taivnn9
Copy link
Author

taivnn9 commented Mar 19, 2023

Yes, thank . I tried on MacOS have same error. do you have work on this code.
could you provide to me version of Apache CouchDB you're using it.

Maybe version related? Both my Windows & Mac using v. 3.3.1.
Screen Shot 2023-03-19 at 16 30 56

@pieper
Copy link
Contributor

pieper commented Mar 19, 2023

To be honest, I haven't run the server myself in a while and I guess we didn't track the couchdb version, but it would have been whatever was current at the time. It looks like you are on the right track to solving this and if it's a version issue or something else we need to document a PR would be very welcome.

@taivnn9
Copy link
Author

taivnn9 commented Mar 21, 2023 via email

@emelalkim
Copy link
Contributor

hi @taivnn9, sorry for the late response.
We are using the dockerized version of the server with ePad. I'd be happy to try one of your DICOMs if you can share a deidentified version with me.
Currently, we use ibmcom/couchdb3:latest version of dockerized couchdb, but other version 3 couchdb should be fine.
Are you using dicomweb-server in the dockerized form? If yes, you shouldn't use localhost. inside the dicomweb-server container, localhost resolves to the container, not to your host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants