Description

Jweb is not working on the device

Symptoms

  • Unable to access the switch via J-WEB GUI even after installing J-WEB package.
  • HTTPS access to J-Web may fail intermittently after firmware upgrade.
  • Users may encounter SSL certificate errors/warnings while accessing J-Web.
  • Regenerating or reinstalling a local SSL certificate temporarily restores access.

Solution

The following steps could be follow to fix JWEB issues:

  • Check for possible PRs affecting JWEB through
  • Try different Internet Browsers.
  • Test HTTP and HTTPs
  • Test disabling local Firewall on the PC temporarily
  • Check if the correct OS and Jweb version is installed. More info: Associated J-Web Application Package Release
  • If JWEB needs to be update refer to KB76600 [juniper.net] How to manually update the J-web application
  • Phone-home client service comes by default in newer version and is used by certain features such ZTP but may cause problems if using JWEB. Try deleting phone-home  #delete system phone-home
  • Delete cookies and test other internet browsers

-Delete, commit and reconfigure http: 

delete system services web-management
commit
set system services web-management http
commit

For https: delete system services web-management commit exit clear security pki local-certificate all edit set system services web-management https system-generated-certificate commit
  • In case the process is not responding, please try: > restart web-management
  •  For VCs: try doing a mastership switchover by running the command request chassis routing-engine master switch 
  • If the above steps did not work please try to reinstall the web package and Complete VC reboot.

-If HTTPS access fails due to certificate-related errors:

Regenerate and install a local SSL certificate:

  • Generate a new self-signed/local certificate
  • Apply the certificate to HTTPS service
  • Verify J-Web access over HTTPS

Workaround: Restarting Jweb services

Modification History

8/23/24 - Reorder and corrected steps

4/15/2024

Edited:

Activate/Deactivate the J-WEB configuration by issuing the following commands:
             deactivate system services management
             Commit
             activate system services management
For:

Activate/Deactivate the J-WEB configuration by issuing the following commands:
             deactivate system services web-management
             Commit
             activate system services web-management
             Commit

05/31/2026

Added symptoms & solution for jweb intermittent access issue due to certificate