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

Minio failed to upload files on IOS platform(no problem on other platforms) #1073

Closed
Edward10070 opened this issue Sep 13, 2023 · 4 comments
Closed
Labels
bug Categorizes issue or PR as related to a bug. other Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@Edward10070
Copy link

What would you like to share?

After repackaging the sdk for IOS, the mothed of uploading files can't work sometimes
The error messages below:

*onProgress msg:Optional("operationID[1694412141240],
info[==> open_im_sdk/internal/obj_storage.(Minio).upload()@106: :
Get "https://storage.ddchat.io/openim/?location=":
net/http: TLS handshake timeout]abc486ac4a09b10de0a9be31c2fb9844 ")。
code:301

I have checked the situation below:

  1. The code related to minio wasn't modified
  2. When uploading multiple pictures, sometimes a few will succeed, but not all will fail.
  3. Tried the function "FPutObject" to upload files, but still this error
  4. Tried files from dozens of K to dozens of M, the situations are same.
  5. This only happens on IOS

The version:
Golang: 1.19
SDK-Core: 2.x
IM-Server: 2.x

Additional information

No response

@Edward10070 Edward10070 added the other Indicates an issue or PR lacks a `triage/foo` label and requires one. label Sep 13, 2023
@kubbot
Copy link
Contributor

kubbot commented Sep 13, 2023

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

@skiffer-git
Copy link
Member

First, use the IP to check if everything is normal. Then, for MinIO, a separate subdomain must be used; the path cannot be used.

@cubxxw cubxxw added the bug Categorizes issue or PR as related to a bug. label Sep 13, 2023
@kubbot
Copy link
Contributor

kubbot commented Nov 13, 2023

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
Copy link
Contributor

kubbot commented Nov 20, 2023

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

@kubbot kubbot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug. other Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

4 participants