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

Authorization failed #36

Open
spirrello opened this issue Jun 7, 2017 · 1 comment
Open

Authorization failed #36

spirrello opened this issue Jun 7, 2017 · 1 comment

Comments

@spirrello
Copy link

Hi,

I'm getting the following error when I try running this. Am I missing something? Why is this output pointing to a localhost?

Error message:
Authorization failed: no user named admin found. Uri:http://localhost:8100/mgmt/tm/ltm/node Referer:null
Authorization failed: no user named admin found. Uri:http://localhost:8100/mgmt/tm/ltm/node Referer:null

package main

import (
"fmt"
"github.com/scottdware/go-bigip"
)

func main() {
// Connect to the BIG-IP system.
f5 := bigip.NewSession("10.19.127.123", "admin", "password", nil)
//nodes := ""
nodes, err := f5.Nodes()
if err != nil {
fmt.Println(err)
}
fmt.Println(f5.Nodes())
fmt.Println(nodes)

}

@scottdware
Copy link
Owner

From the error message, it sounds like the user doesn't exist. Can you verify that you have an "admin" user, or maybe try another user account? Does that account have the appropriate rights?

marsu-p pushed a commit to marsu-p/go-bigip that referenced this issue Jul 12, 2024
Adding database entry for PostgreSQL monitor
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

2 participants