Coder Social home page Coder Social logo

Comments (8)

simoncrypta avatar simoncrypta commented on August 15, 2024 2

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.

from redwood.

cjreimer avatar cjreimer commented on August 15, 2024 1

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.

from redwood.

simoncrypta avatar simoncrypta commented on August 15, 2024

It's usually bots that try to crawl the API url.

I also saw a lot of:
ERROR Function "wp-admin" was not found.
And
ERROR Function ".env" was not found.
That's definitely bots that try to execute commons WordPress vulnerability.

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?

from redwood.

cjreimer avatar cjreimer commented on August 15, 2024

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!

from redwood.

Tobbe avatar Tobbe commented on August 15, 2024

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.

from redwood.

simoncrypta avatar simoncrypta commented on August 15, 2024

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!

Maybe the health check path points to the root ?
You can check this on the setting tab of your api service.

image

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.

from redwood.

simoncrypta avatar simoncrypta commented on August 15, 2024

@cjreimer Actually, maybe you're right, we get between 10 and 100 Function "" was not found by day, but I can't find any pattern that could be caused by render, RW, or even our users. It could be plenty of bots, but I'm not sure how common it's.

We are at V6.0.7 with RW

from redwood.

cjreimer avatar cjreimer commented on August 15, 2024

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?

from redwood.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.