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

Session API takes too long to respond on production #1289

Closed
kuzdogan opened this issue Mar 6, 2024 · 1 comment
Closed

Session API takes too long to respond on production #1289

kuzdogan opened this issue Mar 6, 2024 · 1 comment
Assignees
Labels
🪲 bug Something isn't working

Comments

@kuzdogan
Copy link
Member

kuzdogan commented Mar 6, 2024

As discovered in #1270 right now the session API is not responding to requests in time. This happens even with the simplest contract and only on production (not staging).

We need to debug and see where the problem is happening. This is difficult to debug as we don't really have extensive logging or logs that would track the request's whole flow inside the code.

My initial suspicion would be that it's something related to the MemoryStore of express-session BUT when I try to upload a random file like a photo, it does respond on time, saying "no metadata found". So it is related to something downstream.

View in Huly HI-1251

@kuzdogan kuzdogan added the 🪲 bug Something isn't working label Mar 6, 2024
@kuzdogan kuzdogan self-assigned this Mar 6, 2024
@kuzdogan kuzdogan moved this to In Progress in Sourcify Public Mar 6, 2024
@kuzdogan kuzdogan moved this from In Progress to Todo in Sourcify Public Mar 11, 2024
@kuzdogan kuzdogan moved this from Todo to In Progress in Sourcify Public Apr 4, 2024
@kuzdogan
Copy link
Member Author

kuzdogan commented Apr 4, 2024

Fixed with the last release.

However we should still implement the session database and review the related CheckedContract code. #1321

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
Archived in project
Development

No branches or pull requests

1 participant