-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[Image message failed to send, attempts with both flutter-sdk and web failed; text messages are sending normally] #2439
Comments
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. |
MINIO_EXTERNAL_ADDRESS="http://external_ip:10005" |
Unfortunately, my process is exactly like this. I can only send text messages. The above error message is reported when sending picture messages. It is the same even when using the built-in web send |
also as voice, and i use createSoundMessageFromFullPath. |
sorry,its a misunderstand,my problem. what i Modified is the system environment variables,but what should really be modified is the .env file。hahaha,anyone who see this can check about it |
OpenIM Server Version
3.7.1
Operating System and CPU Architecture
Linux (AMD)
Deployment Method
Docker Deployment
Bug Description and Steps to Reproduce
部署流程:
docker部署,配置好MINIO_EXTERNAL_ADDRESS和GRAFANA_URL后,docker compose up -d启动服务。
问题发现流程:
1、自己使用flutter-sdk发送文本消息,成功
2、使用flutter-sdk发送图片和文本消息,报错,看着像是sdk发送图片消息没读到host,报错日志如下:
PlatformException(10005, error *url.Error not implement CodeError: Put "http://external_ip:10005/openim/openim/temp/2024/07/25/03/17/27/25a1bbb54abca710249681758c3da4f4_1014915_8da96bdafe9a4fd3a0886e9e5ed149a2.presigned?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=root%2F20240725%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240725T031727Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=f92a80bec6a1fc442e5e82a692d146a24daceb83f3a2cace4d851d59790836cb": dial tcp: lookup external_ip: no such host, null, null)
3、使用web发送文本消息,成功
4、使用web发送图片消息,失败,失败日志:
ERROR [PID:1018] openim-api [version:3.7.0] [mw/rpc_client_interceptor.go:50] RPC Client Response Error - AuthSign {"platform": "Web", "operationID": "4eea2a55-8a73-4273-8324-7d05257b13c1", "opUserID": "8979475346", "funcName": "/openim.third.third/AuthSign", "error": "rpc error: code = Code(500) desc = invalid multipart upload id: unexpected end of JSON input"}
Screenshots Link
No response
The text was updated successfully, but these errors were encountered: