Orthanc explorer stopped working

1,141 views
Skip to first unread message

cather...@gmail.com

unread,
Jun 23, 2017, 5:12:21 PM6/23/17
to Orthanc Users
I had explorer up and running fine one day, and the next day I can't get the explorer to work and I didn't change anything. It is returning a HTTP 400 error the request hostname is invalid.

Everything seems to be set up correctly. The ultrasounds can ping the ip address of the orthanc server, the ip address of the ultrasounds are static,

I just installed the new update and still can't get it to connect.

Does anyone know how I can fix this?

orthanc.json

Thibault Piront

unread,
Jun 24, 2017, 5:40:54 AM6/24/17
to cather...@gmail.com, Orthanc Users
Hi Catherine,

Could you return the full log of orthanc (with --verbose option, see http://book.orthanc-server.com/faq/log.html) ? 
At first sight, this error seems unrelated to Orthanc. Could you provide detail about your setup (dns, proxy if any, ...) ? Is it working on localhost (http://127.0.0.1:8042/) ?

Kind Regards,
Thibault

--

Thibault Piront / Full Stack Dev 

thibaul...@osimis.io

Osimis

OSIMIS S.A. 
Rue du Bois Saint-Jean 15/1 BE-4102 Seraing 
www.osimis.io

Twitter LinkedIn


cather...@gmail.com

unread,
Jun 26, 2017, 5:31:15 PM6/26/17
to Orthanc Users
It is not working on the local host either. we have a dns setup and windows operating system. Attached is the log and it looks like something wrong is going on, I just don't know how to fix it.

orthanc.json

Thibault Piront

unread,
Jun 27, 2017, 7:05:05 AM6/27/17
to Kate Kurt, Orthanc Users
Hi Catherine,

I think you sent the Orthanc configuration file instead of the log.
`

On Mon, Jun 26, 2017 at 11:31 PM, <cather...@gmail.com> wrote:
It is not working on the local host either. we have a dns setup and windows operating system. Attached is the log and it looks like something wrong is going on, I just don't know how to fix it.




cather...@gmail.com

unread,
Jun 27, 2017, 12:36:17 PM6/27/17
to Orthanc Users
oops. Here is the correct file.

Orthanc.log

salim....@gmail.com

unread,
Jun 27, 2017, 1:03:35 PM6/27/17
to Orthanc Users, cather...@gmail.com
Le mardi 27 juin 2017 18:36:17 UTC+2, cather...@gmail.com a écrit :
> oops. Here is the correct file.

Hi catherine,

My colleague reported me the exact same problem than yours.
It happened today while his Orthanc was working smoothly from months.

He is in windows 10 and he told me that it may be linked to a Windows update.

Are you also in windows 10 and did you made an update recently ?

Salim

salim....@gmail.com

unread,
Jun 27, 2017, 1:09:37 PM6/27/17
to Orthanc Users, cather...@gmail.com, salim....@gmail.com
In fact I'm wrong I misread the error, it is not the same one

Chico Venancio

unread,
Jun 27, 2017, 2:08:40 PM6/27/17
to Salim Kanoun, cather...@gmail.com, Orthanc Users
The relevant error seems to be "Uncaught exception, stopping now: [The TCP port of the HTTP server is privileged or already in use] (code 2003)" 

This means some other program is using the http port, 8042 according to your configuration. This may be another instance of Orthanc. 

Chico Venancio

cather...@gmail.com

unread,
Jun 27, 2017, 5:29:40 PM6/27/17
to Orthanc Users
Thanks Chico! I had read this could happen, but I couldn't figure out how to actually tell if two things were running on the same port. And if there was how to stop one of them. I've got my IT guy coming tomorrow, so hopefully he can figure it out. Thanks again!

Thibault Nélis

unread,
Jun 28, 2017, 4:50:07 AM6/28/17
to orthan...@googlegroups.com
Hello,

On Tue, 2017-06-27 at 14:29 -0700, cather...@gmail.com wrote:
> Thanks Chico! I had read this could happen, but I couldn't figure out
> how to actually tell if two things were running on the same port. And
> if there was how to stop one of them.

On Windows: Use `netstat -ano -p tcp`[1] (e.g. in "Command Prompt"). In
the returned list you may lookup the entry for *:8042 and look for the
number in the PID column. You can then open the task manager and lookup
the PID to figure out what process is listening there and end it if
necessary.

[1] https://docs.microsoft.com/en-us/windows-server/administration/wind
ows-commands/netstat

ma...@itguysandiego.com

unread,
Jul 2, 2017, 2:22:05 PM7/2/17
to Orthanc Users
That port is used by the NT Kernal , PID 4 on my Windows 10 Pro installation. I suspect it's really IIS. Dumb newbie Q: Do I need to stand up IIS or does the Orthanc installer configure its own web service without needing a local web server running? Restated, should I NOT have IIS running? I stopped that serer in IIS and same problem.

Chico Venancio

unread,
Jul 2, 2017, 2:28:55 PM7/2/17
to ma...@itguysandiego.com, Orthanc Users
IIS is not needed, though I suppose it can be used like Apache or Nginx to redirect port 8042 to 80 and facilitate use from other computers in the network and possibly handle permissions and security. I don't have much experience with IIS so I can't help you there.

Unless you messe around a lot with the default configurations, though, IIS should not interfere with Orthanc at all. As far as I know it does not use the 8042 port by default.

Using "netstat -ano -p tcp" or resource monitor's network tab will allow you to see what is the program using the needed port.

Chico Venancio 

Thibault Nélis

unread,
Jul 3, 2017, 7:41:37 AM7/3/17
to orthan...@googlegroups.com
On Sun, 2017-07-02 at 15:28 -0300, Chico Venancio wrote:
> IIS is not needed, though I suppose it can be used like Apache or
> Nginx to redirect port 8042 to 80 and facilitate use from other
> computers in the network and possibly handle permissions and
> security. I don't have much experience with IIS so I can't help you
> there.

FWIW, if all that is required is to expose port 80 then one can use
Orthanc's HttpPort setting. Reverse proxying is still definitely useful
for things like TLS termination, access control, logging, load
balancing and to share the same port with other virtual servers, among
others.

> Unless you messe around a lot with the default configurations,
> though, IIS should not interfere with Orthanc at all. As far as I
> know it does not use the 8042 port by default.

I am not familiar with IIS/http.sys at all but I'm fairly sure any
application can bind a port with it. One would need to consult
http.sys-specific documentation on how to retrieve a list of the
relevant processes.
--
Thibault Nélis <t...@osimis.io>
Osimis
signature.asc

Sébastien Jodogne

unread,
Jul 11, 2017, 3:52:20 PM7/11/17
to Orthanc Users, ma...@itguysandiego.com
IIS is not needed, though I suppose it can be used like Apache or Nginx to redirect port 8042 to 80 and facilitate use from other computers in the network and possibly handle permissions and security. I don't have much experience with IIS so I can't help you there. 

Regarding this particular point, the Orthanc Book contains an example to setup a reverse proxy with IIS:

HTH,
Sébastien-
Reply all
Reply to author
Forward
0 new messages