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

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

Open
Zork33 opened this issue Jul 13, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Zork33
Copy link
Collaborator

Zork33 commented Jul 13, 2023

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

@Zork33 Zork33 added the bug Something isn't working label Jul 13, 2023
@Zork33 Zork33 self-assigned this Jul 13, 2023
@Zork33
Copy link
Collaborator Author

Zork33 commented Jul 21, 2023

As part of this bug fix - this issue has to be solved yandex-cloud/nodejs-sdk#130

@Zork33
Copy link
Collaborator Author

Zork33 commented Sep 1, 2023

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

@esseswann
Copy link
Contributor

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

@polRk polRk assigned polRk and unassigned Zork33 Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants