Authentication enabled, but users not working

This is a very new install. I have it running. It accepts DICOM, loads studies, everything seems to be working fine. But now I want to make it so others can reach it.

Following the information here, How to authenticate users? — Orthanc Book documentation
I have the following tokens set:

“RemoteAccessAllowed” : true,

“AuthenticationEnabled” : true,

“RegisteredUsers” : {
“admin” : “nottherealpassword”,
“tech” : “nottherealpassword”,
},

When accessing the URL, the prompt for the username and password does show… Only it will not take the 2 users I have given. orthanc:orthanc still works, though.

Right now, no SSL. I’m trying to keep it as simple as possible as I move on.

I have checked the logs after enabling TRACE level. Nothing in the log says anything about failed attempts or anything regarding authentication.

And I cannot find any other topics that are exactly like this. I did try my best to find the solution before posting.

Thanks in advance.

Could you give it a try with this comma removed from your config file:

"RegisteredUsers" : {
  “admin” : “nottherealpassword”,
  “tech” : “nottherealpassword”
},

Nope, still same behavior.

I have another Orthanc instance that I use for testing. Auth works on that fine. I had a thought to use that server’s config on this install. And it works. Funny thing though, the config is different than the default, and it doesn’t follow the link above.

“RemoteAccessAllowed” : true,

“AuthenticationEnabled” : false,

I may just end up using the other’s config and tweaking the other settings like name, AETitle, and send destinations.

Hi @dmckellip

Did you make sure that your configuration file is taken into account by Orthanc ?
Easy way to check: change the DicomPort and check the startup logs to see if it applies.

HTH,

Alain.

Yes. The server is running on Port 80, and I can send studies to it on port 104.

Then you should explain in more details how you start Orthanc, where are your config file(s), on what system you are running … and possibly share your config file(s)