Nagios web interface does not ask for credentials. Says "Unauthorized" instead - nagios

I installed nagios 4.4.10 according to the guide on Nagios pages. But I am unable to log in to it. When I open webpage it automatically says "Unauthorized", without any prompt to add user and password. What can be the issue? Thanks

Related

Why can't I re-authenticate (MFA with mssql extension for VS Code)?

Here's an example of a connection configuration that has stopped working (it's for connecting to an Azure managed database):
{
"server": "sqldb.12345abcde.database.windows.net",
"database": "sqldb01",
"authenticationType": "AzureMFA",
"profileName": "sqldb01",
"azureAccountToken": "",
"expiresOn": 1648022420,
"email": "benmcf#work.com",
"accountId": "aaaaaaaa-0000-bbbb-1111-cccccc222222"
}
When I try to connect, VS Code displays a dialog saying mssql: Credential Error: Account credentials have expired. Please re-authenticate. and another saying mssql: undefined:
After clicking the refresh credentials button, the linked page fails to resolve in my browser, showing ERR_CONNECTION_REFUSED:
When I reinstall the plugin, remove my connection definitions from settings.json and attempt to create a new connection, the browser page resolves correctly and allows me to authenticate, but it has no effect in VS Code.
I'm able use the same connection details in Azure Data Studio to connect successfully.
I had the same/similar problem and found 2 possible issues in my case. I went into Windows Credential Manager and Removed the aad-iv and aad-key credentials, as well as all the others that did not say Modified: Today (presumably overkill).
When I then tried again in VSCode, I received an error but was able to proceed by it giving me a chance to enter credentials. In my case, it then failed to connect with an option to automatically add a firewall rule... and then everything worked.
I'm not sure if it wasn't smart enough to figure out how to refresh credentials OR if it was trying to but something with the firewall rule came into the picture and disrupted it.
After this, I noticed Windows Credential Manager had aad-iv and aad-key credentials added back. So... I would try removing just those 2 and see what happens.
I resolved this by deleting the contents of this folder (Mac): ~/Library/Application Support/vscode-mssql/AAD.
I believe the equivalent on Windows would be something like C:\Users\{username}\AppData\Roaming\vscode-mssql\Azure Accounts.
I did the same as benmcf. However, I also deleted the AAD folder:
C:\Users\{user}\AppData\Roaming\vscode-mssql\AAD
After it, I uninstalled the MSSQL extension and installed again. Then it worked.

Connecting to SnowSQL Client using Snowflake Credentials

I have successfully installed SnowSQL Client version 1.2.5 and while trying to get log into my snowflake account, using account id, username and password, I am somehow unable to connect and get following error:
snowsql unable to log in
This appears to be networking issue. Have you tried to set that debug logging as directed?
To assist in situations like this, Snowflake has a tool which could help you determine if your client host is able to access all required network endpoints for your Snowflake account, it's called SnowCD, the documents are here and the installation is fairly straightforward:
https://docs.snowflake.com/en/user-guide/snowcd.html
I'd recommend trying SnowCD as your first step, the next step would be to review any required proxy settings your organization might have. I'd also double-check your "account name" argument, the URL looks OK to me but there is a nice writeup on the account name construction at this link:
https://docs.snowflake.com/en/user-guide/connecting.html#your-snowflake-account-name
I hope this helps...Rich
THANKS Rich for doing some R&D and sharing proposals. I got successfully logged into snowsql by providing my account id till ".aws". Hope it will help others struggling so far, like myself:
https://docs.snowflake.com/en/user-guide/getting-started-tutorial-log-in.html
demo log in

svn: E170013: Unable to connect to a repository (How can i enable the repository)

while i'm promoting the code from local system to SVN Repository through using Jenkins with help of batch file i'm getting the below error. but when i tried the same file from manual it's working fine, when i run the Jenkins job getting the issue,
Please help anyone
Take a close look at the error:
Access to '/svn/.../branches/dist' forbidden.
It means that the user account used in your build script to authenticate to the SVN server does not have Read permission to this repository URL. Contact your colleagues or admin for help.

MailUp - Contract not signed, please login in console and accept terms of service

What are the steps that we do need to follow to resolve error-code
"Contract not signed, please login in console and accept terms of service."
To Get the access token and the refresh token i am using following command
curl -X POST -d "grant_type=password&client_id=MYCLIENTID&client_secret=MYCLIENTSECRET&username=MYUSERNAME&password=MYPASSWORD" /
https://services.mailup.com/Authorization/OAuth/Token
As mentioned in link:
http://help.mailup.com/display/mailupapi/Authenticating+with+OAuth+v2
MailUp has a bug for which, after logging in, in the developer accounts, the popup for accepting the "terms of service" is not displayed. I contacted the support team and they should have solved the problem. This is the case at least for my account.
The command you have copy/pasted from documentation site do not work due to this bug.
So now you just have to log in to the control panel and accept the "terms of service", wait about an hour for their internal cache to be updated, and try to access the API again.

GoogleAppEngine sign-in failed

I am afraid I don't have much information on this problem, other than that I cannot deploy/update an application with GAE anymore.
Every time when asked for email and password, I correctly enter them (as I always have done), and I get a Sign-in Failed message.
I tried it two ways, 1) with GoogleAppEngineLauncher application. I first get a panel saying: "Error, failed; auth error", and after I close this panel there is message in red in the sign-in panel, saying: Sign-in Failed. This is a hyperlink, which, when I click it, brings me to a browser page where I am asked to re-enter my password for my google-account. I enter the same password, and I get logged in normally.
If I click on the Dashbord button it brings me to the correct app-engine page of my application.
The second way is command-line:
appcfg.py update /my_app_name
which results in:
10:48 AM Application: my_app_name; version: 1
10:48 AM Host: appengine.google.com
10:48 AM
Starting update of app: my_app_name, version: 1
10:48 AM Getting current resource limits.
Email: my_email#gmail.com
Password for my_email#gmail.com:
Invalid username or password.
However, I am 100% sure I am using the correct login details.
Well, I hope someone can make sense of this! thanks!
edit: this is the error panel I get when I try to deploy with the launcher app
You can visit https://www.google.com/settings/security and then enable "Access for less secure apps" . It works for me.
You could try uploading with OAuth2:
appcfg.py --oauth2 update /my_app_name
See for more info:
https://cloud.google.com/appengine/docs/python/tools/uploadinganapp#Python_Password-less_login_with_OAuth2
I had a similar issue, but I'm using maven to deploy, not appcfg. I know that I had to go in my "C/users/ME/" and delete a file called ".appcfg_oauth2_tokens_java", and it worked afterwards.
Having researched the issue, it seems to appear when you have multiple accounts logged in at some point. The system keeps a copy of one of your other accounts and tries to deploy using this. Deleting the appcfg_oauth token forced me to "re validate" my credentials

Resources