openimsdk / openim-sdk-core

Instant Messaging
https://openim.io
Apache License 2.0
353 stars 316 forks source link

Bug: <upload picture,voide and file failed> #175

Open zhaeng opened 1 year ago

zhaeng commented 1 year ago

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

kubbot commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

kubbot commented 1 year ago

This issue was closed because it has been stalled for 7 days with no activity.