Page 1 of 1

[SOLVED] HTTP/1.1 404 Not Found

Published: June 24, 2019 - 4:56 PM
by Glasgow
Hello, I recently installed Waptserver version 1.7.4.6077 on a VM (Windows Server 2008). I completed the entire installation, but when I try to authenticate, I get the following message: "Error on the WAPT server: HTTP/1.1 404 Not Found."
Any ideas on how to resolve this issue? Thank you in advance for your help.

Re: HTTP/1.1 404 Not Found

Published: June 24, 2019 - 6:44 PM
by dcardon
Hello Glasgow,
Glasgow wrote: June 24, 2019 - 4:56 PM Hello, I recently installed Waptserver version 1.7.4.6077 on a VM (Windows Server 2008). I completed the entire installation, but when I try to authenticate, the following message appears: "Error on the WAPT server: HTTP/1.1 404 Not Found."
Any idea how to resolve this issue? Thank you in advance for your replies.
My crystal ball is broken, but my intuition tells me there's already a web server other than WAPT's running on this machine. If that's not the case, we'll need a bit more context to find an explanation :-)

Sincerely,

Denis

Re: HTTP/1.1 404 Not Found

Published: June 25, 2019 - 4:47 PM
by Glasgow
This morning I was able to access the console without any problems, but recently it's back to the same message as yesterday and I can't access the WAPT console

Re: HTTP/1.1 404 Not Found

Published: June 25, 2019 - 11:02 PM
by sfonteneau
To verify Denis's theory:

Verify that port 8088 is listening on the machine:

Code: Select all

netstat -ano | find ":8088"
The order must return:

Code: Select all

TCP     0.0.0.0:8088    0.0.0.0:0       LISTENING       3916
The value 3916 represents the ID of the process that is using the port.

To verify that it is indeed the WAPT server using this port, you can list the processes and filter by the ID returned previously using the command:

Code: Select all

tasklist | find "3916"
The order must return:

Code: Select all

waptpython.exe  3916  Services          0  34 860 Koa

The same applies to ports 80 and 443, but in this case, it shouldn't be waptpython.exe that responds, but nginx.exe

You can also provide us with the status of the WAPT service in services.msc

Re: HTTP/1.1 404 Not Found

Published: June 26, 2019 - 11:05 AM
by Glasgow
Thank you for your response
For port 8088, the order returns

Code: Select all

TCP   127.0.0.1:8088      0.0.0.0.0     LISTENING      1660
and indeed the find me command returns

Code: Select all

waptpython.exe        1660 Services     0       57 452 Ko
Ports 80 and 443 are responding correctly to nginx.exe

Re: HTTP/1.1 404 Not Found

Published: June 26, 2019 - 11:41
by sfonteneau
Oops, my mistake, try with port 8080 and not 8088

Re: HTTP/1.1 404 Not Found

Published: June 26, 2019 - 12:00
by Glasgow
Ah yes, indeed, it's Java that uses that port, thank you very much

Re: HTTP/1.1 404 Not Found

Published: June 26, 2019 - 12:39
by sfonteneau
Glasgow wrote: June 26, 2019 - 12:00 Ah yes, indeed, it's Java that uses this port, thank you very much
You should carefully reread the first recommendations on this page: https://www.wapt.fr/fr/doc/waptserver-i ... index.html