Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't login web console #793

Open
jriker1 opened this issue Feb 16, 2023 · 6 comments
Open

Can't login web console #793

jriker1 opened this issue Feb 16, 2023 · 6 comments

Comments

@jriker1
Copy link

jriker1 commented Feb 16, 2023

I can not login to the web console on the server or on a remote workstation. Comes up but login just keeps returning to the same initial page.

OS is Windows 2022 with Hyper-V Role
NSClient is 0.5.3.4 installed from NSCP-0.5.3.4-x64 installer

I ran

nscp web -- password --display

Confirmed password matches what I'm entering.

If I enter the right password screen just refreshes with the sign in screen again.
If I type in the wrong password, I get a 403 Invalid password on the screen.

Here is my nsclient.ini:

; in flight - TODO
[/settings/default]

; Undocumented key
password =

; Undocumented key
allowed hosts = 127.0.0.1,192.168.0.0/24

; in flight - TODO
[/modules]

; Undocumented key
CheckExternalScripts = enabled

; Undocumented key
CheckHelpers = enabled

; Undocumented key
CheckEventLog = disabled

; Undocumented key
CheckNSCP = disabled

; Undocumented key
CheckDisk = enabled

; Undocumented key
CheckSystem = enabled

CheckNet = enabled

; Undocumented key
WEBServer = enabled

[/settings/WEB/server]
allowed hosts = 127.0.0.1,192.168.0.0/24

; PORT NUMBER - Port to use for WEB server.
port = 9999
password =

; Script wrappings - A list of templates for defining script commands. Enter any command line here and they will be expanded by scripts placed under the wrapped scripts section. %SCRIPT% will be replaced by the actual script an %ARGS% will be replaced by any given arguments.
[/settings/external scripts/wrappings]

; Batch file - Command used for executing wrapped batch files
bat = scripts\%SCRIPT% %ARGS%

; Visual basic script - Command line used for wrapped vbs scripts
vbs = cscript.exe //T:30 //NoLogo scripts\lib\wrapper.vbs %SCRIPT% %ARGS%

; POWERSHELL WRAPPING - Command line used for executing wrapped ps1 (powershell) scripts
ps1 = cmd /c echo If (-Not (Test-Path "scripts%SCRIPT%") ) { Write-Host "UNKNOWN: Script "%SCRIPT%" not found."; exit(3) }; scripts%SCRIPT% $ARGS$; exit($lastexitcode) | powershell.exe /noprofile -command -

@jhuber99
Copy link

I have the same problem windows 10 pro machine NSClient++ Version 0.5.2.41-Win32

@jeanbruder
Copy link

Same issue here ... We planned to use the HTTPS Rest API instead of the native NRPE protocol, but as we are not able to login/configure the client from the WEB interface, we cannot go on on this project. Any help would be greatly appreciated 👍

@jhuber99
Copy link

jhuber99 commented Oct 6, 2023

I have this same problem on a Win-10 Home 32bit machine with install from NSCP-0.5.3.4-Win32.msi

Has anyone got any resolution ?

@JudikaelNedev
Copy link

JudikaelNedev commented Jan 5, 2024

I have the same issue with Centreon's build 😢 Any new ?

@mickem
Copy link
Owner

mickem commented Jan 5, 2024

As I have plans to make a new webui for the newer versions (as the old one uses an old version of vue) I would say it is likely not meaningful to look into in the old version....

@zoltix
Copy link

zoltix commented Jan 19, 2024

same issue, no news ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants