-
Notifications
You must be signed in to change notification settings - Fork 341
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
Error: unable to find the session to touch on 4.1.0 #390
Comments
Some more info, this is happening on a cold load where express is also serving static assets. So a single cold load is triggering the touch function about 60 times. Out of those ~5 of them are failing with this error message because they use the same I tried adding |
|
@mingchuno hello, what I meant by cold load is when I hit f5 to reload the home page of the app. It is not during nodejs application start. When I do a reload the browser makes a lot of requests to load all the assets and each of these requests calls |
@barisusakli Changing from |
@barisusakli I also would like to invistigate why the |
@mingchuno when I was debugging it earlier the session object never had a |
@barisusakli I have changed the |
This error is gone on
Thanks. |
I don't know if this is related but I got the below error but it was random, couldn't get it again.
At that line the |
okay. Let me take a look later. You can also help to take a look on the root cause if you are available 🙏🏻 |
This commit should fix the issue 46a40db |
@mingchuno thanks |
Try restarting the server your using before carrying out that task |
I'm submitting a ...
[*] bug report
Summary
It seems like when
res.send
is called the touch method is triggered and the following code tries to update the session object. But there are no changes somodifiedCount
is 0 and it throws an error.Which leads to
Let me know if you need more info.
The text was updated successfully, but these errors were encountered: