云狐网

您现在的位置是:首页 > 网站建设 > 主机运维

主机运维

出错了,[腾讯云COSFS]运行时发生错误!qcloud_cos.cos_exception.CosClientError: SecretId and SecretKey is Required!

电脑迷 2022-09-17 06:34:11主机运维
不知怎么的几天安装好站点,点进网站文件 目录酒出现这个提示s72电脑_数码_手机应用问题解决的IT技术网站 - 云狐网
出错了,[腾讯云COSFS]运行时发生错误!qcloud_cos.cos_exception.CosClientError: SecretId and SecretKey is Required!

出错了,[腾讯云COSFS]运行时发生错误!

qcloud_cos.cos_exception.CosClientError: SecretId and SecretKey is Required!

  1. REQUEST_DATE: 2022-09-17 06:35:17 
  2.  PAN_VERSION: 7.9.4 
  3.   OS_VERSION: CentOS  7.9.2009 x86_64(Py3.7.9
  4.  REMOTE_ADDR: 106.57.75.151 
  5.  REQUEST_URI: POST /plugin%3Faction%3Da%26amp%3Bname%3Dcosfs%26amp%3Bs%3Dget_unmounted_buckets 
  6. REQUEST_FORM: {} 
  7.   USER_AGENT: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0 
  8. Traceback (most recent call last): 
  9.   File "class/panelPlugin.py", line 2792, in a 
  10.     return p.exec_fun(get) 
  11.   File "class/pluginAuth.py", line 67, in exec_fun 
  12.     raise public.PanelError(res['msg']) 
  13. public.PanelError: 面板运行时发生错误: Traceback (most recent call last): 
  14.   File "/www/server/panel/plugin/cosfs/cosfs_main.py", line 139, in get_unmounted_buckets 
  15.     client = self.__client() 
  16.   File "/www/server/panel/plugin/cosfs/cosfs_main.py", line 550, in __client 
  17.     config = CosConfig(Region=region, SecretId = self.secretId, SecretKey = self.secretKey) 
  18.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/qcloud_cos/cos_client.py", line 97, in __init__ 
  19.     raise CosClientError('SecretId and SecretKey is Required!'
  20. qcloud_cos.cos_exception.CosClientError: SecretId and SecretKey is Required! 

有效解决办法:到宝塔软件商店看已安装面板,把【腾讯云COSFS2.0】这个插件卸载,如下图

出错了,[腾讯云COSFS]运行时发生错误!qcloud_cos.cos_exception.CosClientError: SecretId and SecretKey is Required!