openim-sdk-core icon indicating copy to clipboard operation
openim-sdk-core copied to clipboard

Bug: <upload picture,voide and file failed>

Open zhaeng opened this issue 2 years ago • 2 comments

What happened?

when upload picture,voide and file golang sdk report : Get "http://172.16.10.115:10005/openim/?location=": dial tcp 172.16.10.115:10005: Connection refused

What did you expect to happen?

upload success

How can we reproduce it (as minimally and precisely as possible)?

update minio-sdk minio/minio-go/v7/api.go privateNew function clnt.httpClient = &http.Client{ /*Jar: jar, Transport: transport, CheckRedirect: func(req *http.Request, via []http.Request) error { return http.ErrUseLastResponse },/ Timeout: time.Duration(10) * time.Second, }

Anything else we need to know?

No response

version

```console $ {name} version # paste output here ```

Cloud provider

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools

zhaeng avatar Jul 27 '23 09:07 zhaeng

The latest version doesn't have this issue. Please go ahead and use it.

skiffer-git avatar Nov 21 '24 12:11 skiffer-git