[Troubleshooting] Node.js app on App Engine Flex / Nginx connection reset by peer while proxying upgraded connection
€30-250 EUR
Closed
Posted over 2 years ago
€30-250 EUR
Paid on delivery
We have a nodejs app using websocket that works perfectly fine in local development environment. After deploying the app to google app engine (flex environment), it works fine with a low number of requests but when the number of requests becomes important, the stream is closed and I get the following error :
```
"recv() failed (104: Connection reset by peer) while proxying upgraded connection, client: 142...212, server: , request: "GET /media HTTP/1.1", upstream: "http://..0.1:8080/media", host: "************.[login to view URL]".
```
I think it's not a code problem (since it works fine in local environment). My first thought is that it is due to the reverse proxy (nginx, which is used by default with Google).
I have tried changing many parameters' values in the [login to view URL] file (put worker_connections to 16384 ...) but I still get the same error.
The nginx config is given here [login to view URL]
hey mate,
I'm certified solution architect with over 10 years experience in cloud platform AWS Azure GCP and DevOps automation using ansible chef terraform etc
Let's chat to solve your use-case
⭐️Hi There⭐️
I am confident for the project
⭐️GUARANTEE:-
WORK DONE OR FULL REFUND
⭐️WHY ME :-
I have 100% complete rate because I have good Respect for clients and i always try to make good communication to clear things and provide work update also I newer leave any project in mid-way and always deliver satisfied work done .
⭐️SURETY :-
I can guarantee 101% work delivery If you choose me .
⭐️REVIEWS AND RATING :-
You can see yourself by visit my profile https://www.freelancer.com/u/NextYoo what previous clients think, when they work with me .
Thanks