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

使用配置文件config.json中的AK/SK 经qupload2上传会出错 #412

Open
leoleozhu opened this issue Jan 9, 2024 · 0 comments
Open

Comments

@leoleozhu
Copy link

问题描述

使用config.json 包含
access key 和 secret

{
   "access_key": "ACCESS_KEY",
   "secret_key": "SECRET_KEY"
}

测试qshell -C config.json buckets, 或者 qshell -C config.json stat等命令都能正常工作。

但是 qshell -C config.json qupload2 命令会出错

qshell -C config.json qupload2 --src-dir /my/local/dir --bucket bucket-name --check-exists --check-hash --check-size --overwrite --overwrite-list AUTO_GENERATED_OVERWRITE_LIST.TXT

Upload Failed, xml-apis.jar 194354 17047826853089703 error:upload source => form upload => query region error, no such bucket

重现步骤

  1. 使用config文件包行AK, SK
  2. qshell user切换成和config.json 不同的user
  3. 使用qupload2 上传目录

期望结果?

  • 能上传

实际结果?

  • 不能上传

错误日志/截图/配置参数

Upload Failed, xml-apis.jar 194354 17047826853089703 error:upload source => form upload => query region error, no such bucket

相关环境信息

  • 操作系统:MacOS
  • qshell版本: 2.14.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant