Closed hackerjmss closed 3 weeks ago
Could you please provide more detailed configuration information?
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
![Uploading 352406344-dbf28c82-27c1-4853-a6a6-efdddbb9e216.jpg…]()
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Could you please provide the contents of the configuration file?
environment:
IMENV_MONGODB_ADDRESS=${MONGO_ADDRESS}
IMENV_MONGODB_USERNAME=${MONGO_USERNAME}
IMENV_MONGODB_PASSWORD=${MONGO_PASSWORD}
IMENV_KAFKA_ADDRESS=${KAFKA_ADDRESS}
IMENV_DISCOVERY_ETCD_ADDRESS=${ETCD_ADDRESS}
IMENV_REDIS_ADDRESS=${REDIS_ADDRESS}
IMENV_REDIS_PASSWORD=${REDIS_PASSWORD}
IMENV_MINIO_INTERNALADDRESS=${MINIO_INTERNAL_ADDRESS}
IMENV_MINIO_EXTERNALADDRESS=${MINIO_EXTERNAL_ADDRESS}
IMENV_MINIO_ACCESSKEYID=${MINIO_ACCESS_KEY_ID}
IMENV_MINIO_SECRETACCESSKEY=${MINIO_SECRET_ACCESS_KEY}
IMENV_SHARE_SECRET=${OPENIM_SECRET}
IMENV_LOG_ISSTDOUT=${LOG_IS_STDOUT}
IMENV_LOG_REMAINLOGLEVEL=${LOG_LEVEL}
IMENV_OPENIM_API_PROMETHEUS_GRAFANAURL=${GRAFANA_URL}
IMENV_OPENIM_RPC_THIRD_OBJECT_ENABLE=${OSS_ENABLE}
IMENV_OPENIM_RPC_THIRD_OBJECT_OSS_ENDPOINT=${OSS_ENDPOINT}
IMENV_OPENIM_RPC_THIRD_OBJECT_OSS_BUCKET=${OSS_BUCKET}
IMENV_OPENIM_RPC_THIRD_OBJECT_OSS_BUCKETURL=${OSS_BUCKETURL}
IMENV_OPENIM_RPC_THIRD_OBJECT_OSS_ACCESSKEYID=${OSS_ACCESSKEYID}
IMENV_OPENIM_RPC_THIRD_OBJECT_OSS_ACCESSKEYSECRET=${OSS_ACCESSKEYSECRET}
IMENV_OPENIM_RPC_THIRD_OBJECT_OSS_PUBLICREAD=${OSS_PUBLICREAD}
Check whether the configuration key is correct
密钥是正确的 我使用 oss 可以直接登录
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
The key is correct. I can log in directly using oss.
I recommend using the official OSS SDK. Just input your key and secret, and try to access it.
我尝试了,是正常可访问的
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
I tried it and it is accessible normally
我不知道什么原因,cos oss 都不行 都会提示签名错误
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
I don’t know why, even if it doesn’t work with cos oss, it will prompt a signature error.
Remove all the double quotes from the environment variables and try it.
I've removed the double quotes, but the error persists
This could be caused by a CORS issue, and you need to configure the settings in the management console.
OpenIM Server Version
3.8.0
Operating System and CPU Architecture
Linux (AMD)
Deployment Method
Docker Deployment
Bug Description and Steps to Reproduce
按照配置修改了 oss 或者 cos 都无法成功上传图片,都提示失败
oss 提示签名错误, cos 提示 403 错误
Screenshots Link
No response