[英]Backend doesn't respond to HTTP requests
I know that the information that follows is most certainly not enough to solve my problem and I may specify what is needed when and if needed.我知道接下来的信息肯定不足以解决我的问题,如果需要,我可能会指定需要什么。
The situation is the following.情况如下。 I was programming normally and, as I did, I made a PUT request to my application backend.
我正在正常编程,并且像我一样,我向我的应用程序后端发出了 PUT 请求。 The browser tab suddenly logged many (like, many) errors concerning different information which I cannot remember due to the fact that it closed itself soon after.
浏览器选项卡突然记录了很多(比如很多)关于不同信息的错误,我不记得了,因为它很快就自行关闭了。 Almost at the same time, both VSCode windows I had open and running the backend and frontend of the application closed themselves.
几乎同时,VSCode windows 我打开并运行应用程序的后端和前端都自行关闭。
Since then, the backend does not appear to answer any HTTP request made to it.从那时起,后端似乎没有回答任何 HTTP 请求。 It doesn't get to the point in which the code of the controllers run, for I have put a console.log there and nothing is logged.
它没有达到控制器代码运行的程度,因为我在那里放置了一个 console.log 并且没有记录任何内容。 Similarly, no errors are shown in the console when the request is made.
同样,发出请求时,控制台中也不会显示任何错误。 It still connects to an MQTT broker, as it was supposed to.
它仍然像预期的那样连接到 MQTT 代理。
The Insomnia request loads forever unless I cancel it, and, Insomnia still notices when the connection is reset, giving the Insomnia 请求将永远加载,除非我取消它,并且 Insomnia 仍然会在连接重置时注意到,给出
Failure when receiving data from the peer
error.错误。
Lastly, the frontend created a debug.log file in the project's folder that contain 21 lines that read最后,前端在项目文件夹中创建了一个 debug.log 文件,其中包含 21 行读取
[0624/203732.834:ERROR:crash_report_database_win.cc(428)] unexpected header
with the only difference being the numbers in the start, and, also created a yarn-error.log, a very long log with a line that caught my eye (because it had the word "Error" in it) that reads, among other things,唯一的区别是开头的数字,并且还创建了一个 yarn-error.log,一个很长的日志,其中一行引起了我的注意(因为其中包含“错误”一词),其中包括事物,
Trace: Error: EBUSY: resource busy or locked...
I have no clue what happened or what I should do.我不知道发生了什么或我应该做什么。
Run the following:运行以下命令:
npm install express
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.