-
Notifications
You must be signed in to change notification settings - Fork 965
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?]: ERROR Function "" was not found. #10501
Comments
It's usually bots that try to crawl the API url. I also saw a lot of: I don't think anything needs to be done except maybe return a more accurate HTTP code and perhaps not log this as an error? |
Thanks for the quick response @simoncrypta ! I am, however, only seeing this error upon a deploy and server start... consistently. Thus, I don't believe it would be a bot. Maybe there's a unique render.com thing that happens? Thanks! |
Thanks for the issue report Curtis 🙏 I don't have any good guesses on what could be causing this right now. And seeing as this isn't a critical issue unfortunately we're going to have to give this one a pretty low priority for now. |
Thanks, @Tobbe! There's no problem with assigning this low priority. At least it's logged, and if anyone else sees the issue, they have a place to add their info as well. |
Maybe the health check path points to the root ? I also recommended using the built-in health path from GraphQL, so that way you don't only check if your server can respond, but also check if GraphQL can respond correctly. |
@cjreimer Actually, maybe you're right, we get between 10 and 100 We are at V6.0.7 with RW |
Interesting! I hadn't noticed it before V7 of RW... but we hadn't updated the server for a while before this. I believe we were sitting at RW v6.6.1 before this upgrade yesterday. Note that as of yet (~1 day), our experience is that we only get these errors on a server start. Interesting idea to change the health to the graphQL health function... we may need to look into that. The health function we have is getting hit every 5 seconds or so by render.com, so as of right now we've kept it as lightweight as possible. Out of curiosity, are you hosting on render.com as well, or another service? |
Yes, we are on render.com. I did some tests, and you're right about this getting on every server start. I inspected the RW code and nothing seems to trigger this. Not only that, but I also didn't experience this with build/serve locally. I'm pretty sure that it's triggered by render.com as part of the graceful start. |
What's not working?
We are seeing the following error twice, when starting the server on render.com.
We have not seen the error on local development yet, or when running
yarn rw serve api
locally.Believe this is a redwood V7.x.x issue. We just finally updated the render server to redwood V7.4.x, and were previously running V6.x.
Note:
I've taken a brief look into the Redwood codebase, and it is clear that the error comes from
lambdaRequestHandler
; however, why it is being passed an emptyrouteName
is not clear to me.How do we reproduce the bug?
No response
What's your environment? (If it applies)
No response
Are you interested in working on this?
The text was updated successfully, but these errors were encountered: