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

Plant Tracer instance appears to "hang" sometimes #615

Open
sbarber2 opened this issue Oct 26, 2024 · 4 comments
Open

Plant Tracer instance appears to "hang" sometimes #615

sbarber2 opened this issue Oct 26, 2024 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@sbarber2
Copy link
Contributor

This isn't easily reproducible, but occasionally when navigating to https://dev.planttracer.com, it appear that no response comes back. I wait 10-60 seconds depending on how patient I'm feeling, and all I see is completely white, blank frame.

Then I open another browser tab and issue the same request, and the response comes back immediately and I see the expected "Welcome to the Plant Tracer Demo!" page.

It's disconcerting to say the least to a new user, who will likely immediately assume the site is broken and we've already lost their confidence.

We've discussed this a bit but not resolved it; I believe the diagnosis was something like "Well, that's Lambda for you" but that doesn't help the new user problem.

For the Nov2024 milestone, the issue just needs to be documented with the workaround of hitting the site again.

But also, we should "fix" this so it just doesn't happen, or at least doesn't appear to the user to happen.

@sbarber2 sbarber2 added this to the Nov2024 milestone Oct 26, 2024
@sbarber2 sbarber2 added the bug Something isn't working label Oct 26, 2024
@simsong
Copy link
Member

simsong commented Oct 26, 2024 via email

@sbarber2 sbarber2 changed the title AWS Lambda instance appears to "hang" sometimes at instance start Plant Tracer instance appears to "hang" sometimes at instance start Oct 26, 2024
@sbarber2
Copy link
Contributor Author

sbarber2 commented Oct 26, 2024

Ah, thanks. I don't believe I have access to the AWS log files. I think that is pending the work of #616

I should be able to see the Dreamhost logs, so will check them. For the record I saw this behavior sometime between 0930-1000 EDT on Fri Oct 25 2024, but without correlating them against the AWS logs they might not be that informative.

@simsong
Copy link
Member

simsong commented Oct 26, 2024

I'll try to figure out how to give our service account access to the logs.

@simsong simsong changed the title Plant Tracer instance appears to "hang" sometimes at instance start Plant Tracer instance appears to "hang" sometimes Oct 26, 2024
@simsong
Copy link
Member

simsong commented Oct 26, 2024

I edited the title as we don't know that it's when an instance starts. Instance starts are actually incredibly fast. However, we could add to the footer the current instance ID and how long it has been running. You would be surprised by the results. (Typically there are 3-4 instances running at a time.)

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

2 participants