ydb-nodejs-sdk icon indicating copy to clipboard operation
ydb-nodejs-sdk copied to clipboard

bug: In YC serverless functions get a YDB UNAUTHENTICATED error after 12 hours after startup

Open Zork33 opened this issue 2 years ago • 3 comments

In YC serverless functions get a YDB UNAUTHENTICATED error after 12 hours after startup, which coincides with the lifetime of the Iam token

Zork33 avatar Jul 13 '23 10:07 Zork33

As part of this bug fix - this issue has to be solved https://github.com/yandex-cloud/nodejs-sdk/issues/130

Zork33 avatar Jul 21 '23 00:07 Zork33

In serverless mode, there is another way to get iam token via context https://cloud.yandex.ru/docs/functions/lag/nodejs/context

To start recommending this solution it's needed to confirm with the serverless team that this is a stable feature

Redesigned metadata service, while still needed for other cloud solutions

Zork33 avatar Sep 01 '23 10:09 Zork33

In serverless mode, there is another way to get iam token via context https://cloud.yandex.ru/docs/functions/lag/nodejs/context

To start recommending this solution it's needed to confirm with the serverless team that this is a stable feature

Redesigned metadata service, while still needed for other cloud solutions

It is not going to properly work for prepared instances

esseswann avatar Sep 30 '23 11:09 esseswann