SRX Services Gateway
Highlighted
SRX Services Gateway

SRX1500 Web Management Not Working

‎02-09-2020 12:00 AM

I have an SRX1500 with  JUNOS 19.2R1-S3. With the config below for web management

 

show configuration system services web-management 

https {

    port 4443;

    system-generated-certificate;

    interface fxp0.0;

}

 

When we access the Jweb we get the error below;

https://10.0.0.26:4443/login.php?code=404&ruri=/servererror.php

 

Too many redirects occur trying to open “https://10.0.0.26:4443/login.php?code=404&ruri=/servererror.php”

 

The httpd logs are below

 

 

 show log httpd.log 

httpd: 0: parseJuniperDirectives : entry

httpd: 0: parseJuniperDirectives : entry

httpd: 2: Set connector "netConnector"

httpd: 2: Activating module (Builtin) sslModule

httpd: 2: Virtual Host: *:4443

httpd: 2: DocRoot (phone-home-client): "/html/phone-home"

httpd: 0: parseJuniperDirectives : entry

httpd: 2: Upload directory: /tmp

httpd: 0: parseJuniperDirectives : entry

httpd: 0: parseJuniperDirectives : entry

httpd: 0: parseJuniperDirectives : entry

httpd: 0: parseJuniperDirectives : entry

httpd: 0: parseJuniperDirectives : entry

httpd: 0: parseJuniperDirectives : entry

httpd: 2: Virtual Host: [::]:4443

httpd: 2: DocRoot (phone-home-client): "/html/phone-home"

httpd: 0: parseJuniperDirectives : entry

httpd: 2: Upload directory: /tmp

httpd: 0: parseJuniperDirectives : entry

httpd: 0: parseJuniperDirectives : entry

httpd: 0: parseJuniperDirectives : entry

httpd: 0: parseJuniperDirectives : entry

httpd: 0: parseJuniperDirectives : entry

httpd: 0: parseJuniperDirectives : entry

httpd: 2: Chroot to: "/jail"

httpd: 2: Server Root "/"

httpd: 2: DocRoot (phone-home-client): "/html/phone-home"

httpd: 2: Activating module (Builtin) chunkFilter

httpd: 2: Add filter "chunkFilter" to location "" for all extensions

httpd: 2: Activating module (Builtin) uploadFilter

httpd: 2: Add filter "uploadFilter" to location "" for all extensions

httpd: 0: parseJuniperDirectives : entry

httpd: 2: Upload directory: /tmp

httpd: 0: parseJuniperDirectives : entry

httpd: 2: Activating module (Builtin) PhoneHomeClient

httpd: 2: Add handler "PhoneHomeClient" for "py"

httpd: 2: Activating module (Builtin) cgiHandler

httpd: 2: Add handler "cgiHandler" for "py"

httpd: 2: Activating module (Builtin) fileHandler

httpd: 2: Add handler "fileHandler" for "html htm gif jpeg svg png pdf js svg gz css jpg xml swf xml exe cab cli jar ico """

httpd: 1: Started at Sat Feb 08 21:18:02 2020 EAT

httpd: 1: Starting host named: "phone-home-client"

httpd: 1: Starting host named: "phone-home-client"

httpd: 1: Starting host named: "phone-home-client"

httpd: 2: Listening for HTTPS on *:4443

httpd: 2: Listening for HTTPS on :::4443

httpd: 1: HTTP services are ready with max 10 worker threads

httpd: 2: GET / HTTP/1.1

httpd: 2: reportFailure: uri /index.html with query string /index.html

httpd: 2: Error: "Not Found", code 404 for URI "/index.html", file "/html/phone-home/index.html": Can't open document: /html/phone-home/index.html.

httpd: 2: GET /login.php?code=404&ruri=/index.html HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/index.html

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1

httpd: Error: URL(/login.php) doesn't match for redirection

httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php

httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.

 

 

2 REPLIES 2
Highlighted
SRX Services Gateway

Re: SRX1500 Web Management Not Working

‎02-09-2020 12:33 AM

It's a known limitation with a factory default configuration. You need to delete 'system phone-home' via the Junos CLI. After this, the J-web should respond as expected.


--
Best regards,

Jonas Hauge Klingenberg
Juniper Ambassador & Technology Architect, SEC DATACOM A/S (Denmark)
Highlighted
SRX Services Gateway
Solution
Accepted by topic author Maggu
‎02-09-2020 02:14 AM

Re: SRX1500 Web Management Not Working

‎02-09-2020 02:14 AM

Thanks Jonas. your suggestion solved the problem. However, delete system phone-home  is a hidden command.