aliyun-openapi-python-sdk icon indicating copy to clipboard operation
aliyun-openapi-python-sdk copied to clipboard

无法使用ECS_RAM_ROLE

Open zhouwenb opened this issue 8 years ago • 1 comments

aliyun-openapi-python-sdk/aliyun-python-sdk-core/aliyunsdkcore/auth/signers/ecs_ram_role_singer.py

49行,self._expiration实际读到的是个时间字符串,会报异常: def _check_session_credential(self): now = int(time.time()) if now - self._last_update_time > (self._expiration * self._REFRESH_SCALE): self._refresh_session_ak_and_sk()

zhouwenb avatar Jul 11 '18 13:07 zhouwenb

Hi, this bug has been fixed in our newest version, please update your aliyun-python-sdk-core and try again. Thank you, and have a good day!

Suvie277 avatar Jan 29 '19 02:01 Suvie277