机器人阻止Meteor服务器在Meteor Up上部署在Digital Ocean上 [英] Bots preventing Meteor server from deploying on Digital Ocean with Meteor Up
问题描述
当我使用Meteor Up将我的应用程序部署到Digital Ocean Droplet时,我在日志中收到以下错误,阻止了该应用程序的部署.我在不同的Droplet上具有完全相同的部署,没有这样的问题.根据我的在线研究,这是已知问题,是由机器人尝试获取GET引起的服务器上的请求,显然是尝试将服务器用作代理.
When I am using Meteor Up to deploy my app to a Digital Ocean Droplet, I am receiving the following error in the logs preventing the app from deploying. I have the exact same deployment on a different Droplet with no such issue. According to my research online, this is a known issue caused by bots trying to make a GET request on the server, apparently attempting to use the server as a proxy.
为了明确起见,由于先前的成功部署,我的应用程序在浏览器中的加载情况很好.当我想将更新部署到现有应用程序时,会发生此问题.
To clarify, my app loads in the browser just fine due to a previous successful deploy. This issue occurs when I want to deploy updates to the existing app.
我的问题如下:
- 机器人如何开始对此特定的Droplet进行操作,而不是我的 其他Droplet?我想防止他们将来这样做.
- 他们是否在服务器上不断发出GET请求?如果没有,我 不攻击时应该能够部署?
- 机器人上的行为是否损害了我的应用及其数据?如果我做 最终成功部署,他们仍然会攻击我 服务器,对吧?
-
鉴于其中一个问题已经存在,我该如何解决该问题 飞沫?我试图编辑我的mup.json以使用其他端口, 例如108而不是80,但这无济于事.根据我对GitHub,StackOverflow等的在线研究,没有人能解决这个问题.
- How did the bots start acting on this specific Droplet, and not my other Droplet? I'd like to prevent them from doing so in the future.
- Are they continuously issuing GET requests on the server? If not, I should be able to deploy when they are not attacking?
- Are the actions on the bot harming my app and its data? If I do eventually deploy successfully, they'll still be attacking my server, right?
How do I fix the problem given it already exists on one of my Droplets? I have tried to edit my mup.json to use a different port, e.g. 108 instead of 80, but that doesn't help. No one else has solved the problem, according to my online research on GitHub, StackOverflow, etc.
错误:URL必须是相对URL: http://httpheader.net 在_.extend.classify(packages/routepolicy/routepolicy.js:103) 在appUrl(packages/fast-render/lib/server/inject.js:94) 在Object.RouteController [作为句柄](packages/fast-render/lib/server/inject.js:108) 在下一个(/opt/musichunt/app/programs/server/npm/webapp/main/node_modules/connect/lib/proto.js:190:15) 在Object.cookieParser [作为句柄](/opt/musichunt/app/programs/server/npm/fast-render/main/node_modules/connect/lib/middleware/cookieParser.js:65:5) 在下一个(/opt/musichunt[107.170.235.251]/app/programs/server/npm/webapp/main/node_modules/connect/lib/proto.js:190:15) 在Object.Package [作为句柄](packages/spiderable/spiderable.js:126) 在下一个(/opt/musichunt/app/programs/server/npm/webapp/main/node_modules/connect/lib/proto.js:190:15) 在中间件上(packages/oauth/oauth_server.js:72) 在packages/oauth/oauth_server.js:61
Error: url must be a relative URL: http://httpheader.net at _.extend.classify (packages/routepolicy/routepolicy.js:103) at appUrl (packages/fast-render/lib/server/inject.js:94) at Object.RouteController [as handle] (packages/fast-render/lib/server/inject.js:108) at next (/opt/musichunt/app/programs/server/npm/webapp/main/node_modules/connect/lib/proto.js:190:15) at Object.cookieParser [as handle] (/opt/musichunt/app/programs/server/npm/fast-render/main/node_modules/connect/lib/middleware/cookieParser.js:65:5) at next (/opt/musichunt[107.170.235.251] /app/programs/server/npm/webapp/main/node_modules/connect/lib/proto.js:190:15) at Object.Package [as handle] (packages/spiderable/spiderable.js:126) at next (/opt/musichunt/app/programs/server/npm/webapp/main/node_modules/connect/lib/proto.js:190:15) at middleware (packages/oauth/oauth_server.js:72) at packages/oauth/oauth_server.js:61
推荐答案
这不应阻止您的应用启动.虽然这是一个错误和已知的错误,但仅显示在日志&不会崩溃或停止您的Meteor应用.
This shouldn't stop your app from starting. While it is an error and known bug, it only shows up in the logs & does not crash or stop your Meteor app.
有点麻烦,这些漫游器会扫描整个IP块以查找开放代理.除了您的日志中的错误外,它们不会造成任何伤害.
Its a bit of a nuisance, these bots scan entire IP blocks for open proxies. They don't cause any harm besides the error in your logs.
这篇关于机器人阻止Meteor服务器在Meteor Up上部署在Digital Ocean上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!