Comments (8)
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.
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.
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.
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.
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.
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.
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.
@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.
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)
- [Bug?]: `web/src/auto-imports.d.ts` file generated after running `yarn rw storybook-vite` HOT 4
- [Bug?]: Pre-render does not work HOT 7
- [Bug?]: Flaky Testing with Prisma migrations failing HOT 5
- [Bug]: Docs search is broken HOT 3
- [Bug?]: yarn rw upgrade for 7.7.1 error HOT 6
- [Bug]: Scenario files in a __tests__ directory throws error in Jest HOT 3
- [Bug?]: Docker compose errors with graphql fragments HOT 8
- [Bug?]: Dev server builds break after multiple consecutive filesystem saves HOT 5
- [RFC]: Remove default UserExample model in newly generated Redwood app
- [Background jobs] Generators
- [Bug?]: Trusted Documents does not work with Realtime. HOT 7
- [Feature]: ESLint flat config support for @redwoodjs/eslint-config HOT 2
- [Bug?]: corepack enable does nothing on fresh clone (yarn stays on v1.x) HOT 1
- [Feature]: ESLint flat config support for @redwoodjs/eslint-plugin HOT 1
- [Bug?]: Deploy to Vercel breaks all server functions (500 errors with cryptic messages) HOT 9
- [Bug?]: yarn rw setup server-file fails with js but works with ts HOT 5
- Multiple RW apps all use the same debug port HOT 2
- Syntax check `package.json` for dual ESM+CJS support in `@redwoodjs/auth`
- [Bug?]: cannot set bodyLimit using server.ts HOT 2
- [Bug?]: Clarify impact on database file location with prisma multi file schema HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redwood.