简体   繁体   English

后端不响应 HTTP 请求

[英]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.

相关问题 Apache HTTP Server端口不响应 - Apache HTTP Server port doesn't respond iOS 7 Web应用程序中的HTTP身份验证无响应 - HTTP authentication in iOS 7 web apps doesn't respond 为什么该线程池不能同时执行HTTP请求? - Why doesn't this thread pool execute HTTP requests simultaneously? Angular 2 http delete不会发出网络请求 - Angular 2 http delete doesn't make network requests 使用 cURL 的 HTTP 请求有效,但在 Python 请求中无效 - HTTP request using cURL works but doesn't work in Python requests HTTP发布请求在生产环境中不响应(与Tomcat服务器作战) - HTTP post request doesn't respond on production environment (war with tomcat server) AngularJS服务器后端处理传入的HTTP请求 - AngularJS Server Backend Handle Incoming HTTP Requests ASP.NET Core 2.0:HTTP请求超时,但是HTTPS请求没有 - ASP.NET Core 2.0: HTTP requests timeout, but HTTPS requests doesn't mqtt async 等待并发消息,然后响应相应的 http post 请求 - mqtt async wait for concurrent messages then respond to respective http post requests 确定 HTTP 是否从 Android App 请求? 然后适当地回应 - Identify whether HTTP requests from Android App or not? and then respond appropriately
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM