问题
I am getting "Failed to load resource: net::ERR_EMPTY_RESPONSE"
error for my api calls if console is not opened. However if console is opened, the api calls work fine. Angular2 is used on frontend side and NodeJS for backend.Can someone please help?
回答1:
It may be linked to this issue : Failed to load resource: net::ERR_EMPTY_RESPONSE
For him, the problem came from Avast Antivirus
来源:https://stackoverflow.com/questions/47153569/failed-to-load-resource-neterr-empty-response-when-console-not-opened