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

problem on tls: unsupported protocol version 301' #212

Open
yidianyipie opened this issue Aug 18, 2023 · 1 comment
Open

problem on tls: unsupported protocol version 301' #212

yidianyipie opened this issue Aug 18, 2023 · 1 comment

Comments

@yidianyipie
Copy link

Hi Support Team,

I am facing the problem on the tls issue
tls: server selected unsupported protocol version 301'

I have tried the v1 and v2 and facing the same issue

       hostConfig := ibclient.HostConfig{
		Host:     "172.17.132.170",
		Version:  "2.3.1",
		Port:     "443",
		Username: "admin",
		Password: "N1i2H3a,o.",
	}

	//authConfig := ibclient.AuthConfig{}
	transportConfig := ibclient.NewTransportConfig("false", 20, 10)
	requestBuilder := &ibclient.WapiRequestBuilder{}
	requestor := &ibclient.WapiHttpRequestor{}
	conn, err := ibclient.NewConnector(hostConfig, transportConfig, requestBuilder, requestor)
	if err != nil {
		fmt.Println(err)
	}

	defer conn.Logout()
	objMgr := ibclient.NewObjectManager(conn, "myclient", "")

	fmt.Println(objMgr.GetGridLicense())
image

Could you please give me some advice on it ?

BR
Robin

@hemanthKa677
Copy link
Collaborator

Hi @yidianyipie , Could you please try with either of authentication methods Password Based or Certificate Based ?
So you leave empty with the credentials, it will be not connecting to WAPI.

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