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

TLSHandshakeTimeout issue #668

Closed
petercheng2023 opened this issue Jun 21, 2023 · 2 comments
Closed

TLSHandshakeTimeout issue #668

petercheng2023 opened this issue Jun 21, 2023 · 2 comments
Assignees

Comments

@petercheng2023
Copy link

Is it possible we can configure TLSHandshakeTimeout?
Right now, when we run load test with resty client, sometimes, it will return “[TLS handshake timeout on requesting data concurrently from api]”

@jeevatkm
Copy link
Member

@petercheng2023 I think you could use custom transport with a more considerable timeout value for TLSHandshakeTimeout.

@jeevatkm jeevatkm added this to the v3.0.0 Milestone milestone Sep 18, 2023
@jeevatkm jeevatkm self-assigned this Oct 4, 2024
@jeevatkm
Copy link
Member

jeevatkm commented Oct 4, 2024

In the Resty v3 development, new methods are added to create Resty clients.

This method provides the ability to customize all timeout and config values for the client.

resty/resty.go

Line 31 in 0d0bc1b

func NewWithTransportSettings(transportSettings *TransportSettings) *Client {

@jeevatkm jeevatkm closed this as completed Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants