tencentyun / cos-nodejs-sdk

对象存储服务(Cloud Object Service)Nodejs SDK使用说明
https://www.qcloud.com/doc/product/227/3386
16 stars 13 forks source link

error: ERROR_PROXY_AUTH_FAILED #6

Closed jonefeewang closed 7 years ago

jonefeewang commented 7 years ago

A simple "list" method try could cause "ERROR_PROXY_AUTH_FAILED", pretty sure that appid/secureId/secureKey parameters were provided properly. My COS cloud account seems working normally, since the failed access records were also counted correctly in the statistic page . sdk version : 1.0.6 host env: mac 10.9.5

jonefeewang commented 7 years ago

Finally resolved this issue. It is because of the version mismatch between COS platform and its node SDK. If you have just registered and acquired the Tencent COS service recently, its version is v4.0, however, when you do npm install to setup project dependency, it is actually installed COS node SDK v1.0.6 which corresponded COS server v3.0. According to Tencent's supporting reply, the new SDK will be released before China Spring Festive .