Hi,
we have been using the vault API library for a very long time. and we never had this issue before.
since yesterday our automation job is failing and we are getting the below error log.
I think the commit made yesterday to some of the supporting library files such as go-retryablehttp is causing the issue.
it says CloseIdleConnections this method is not available to use.
please have a look on this and let me know if any additional details needed for this.
PS: I have also mentioned the commit link in the subject.. not sure though if that is the commit causing the issue.
Thanks
Ahmed
Error LOG:
github.com/hashicorp/vault/vendor/github.com/hashicorp/go-retryablehttp
../github.com/hashicorp/vault/vendor/github.com/hashicorp/go-retryablehttp/client.go:447:17: c.HTTPClient.CloseIdleConnections undefined (type *http.Client has no field or method CloseIdleConnections)
../github.com/hashicorp/vault/vendor/github.com/hashicorp/go-retryablehttp/client.go:507:16: c.HTTPClient.CloseIdleConnections undefined (type *http.Client has no field or method CloseIdleConnections)
../github.com/hashicorp/vault/vendor/github.com/hashicorp/go-retryablehttp/client.go:538:16: c.HTTPClient.CloseIdleConnections undefined (type *http.Client has no field or method CloseIdleConnections)
../github.com/hashicorp/vault/vendor/github.com/hashicorp/go-retryablehttp/client.go:545:15: c.HTTPClient.CloseIdleConnections undefined (type *http.Client has no field or method CloseIdleConnections)
../github.com/hashicorp/vault/vendor/github.com/hashicorp/go-retryablehttp/client.go:554:14: c.HTTPClient.CloseIdleConnections undefined (type *http.Client has no field or method CloseIdleConnections)
it was the go version ... have updated it resolved the issue.
previous version was 1.10.1
updated to 1.12.9
Thanks
Ahmed
Most helpful comment
it was the go version ... have updated it resolved the issue.
previous version was 1.10.1
updated to 1.12.9
Thanks
Ahmed