You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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)
}
The text was updated successfully, but these errors were encountered: