| 21 | **Content of error.log** |
| 22 | |
| 23 | {{{ |
| 24 | 2021/07/30 13:08:05 [error] 23372#21368: *44 upstream timed out (10060: Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat) while sending request to upstream, client: 127.0.0.1, server: , request: "POST /greet.Greeter/SayHello HTTP/2.0", upstream: "grpcs://127.0.0.1:5001", host: "localhost:5002" |
| 25 | |
| 26 | }}} |
| 27 | |
| 28 | |
| 29 | |
| 30 | The repository does only contain a simplified version, but with the same end results. |
| 31 | Please have a look at my sample project, wich should include everything you'd need. |
| 32 | |
| 33 | - Github Repository with samples https://github.com/xTeare/GrpcAndNGINX |
| 34 | |
| 35 | - nginx.conf https://github.com/xTeare/GrpcAndNGINX/blob/master/nginx-1.21.1/conf/nginx.conf |
| 36 | |
| 37 | **Debug logs** |
| 38 | - for the working request with 500 entries https://pastebin.com/q54T55vR |
| 39 | - for the not working request 1000 entries https://pastebin.com/6vnxiNax |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
27 | | Github Repository with sample projects https://github.com/xTeare/GrpcAndNGINX |
28 | | |
29 | | |
30 | | Other Resources : |
31 | | |
32 | | Stackoverflow Question https://stackoverflow.com/questions/68547210/c-sharp-nginx-upstream-timed-out |
33 | | 2nd Stackoverflow Question (with Java) https://stackoverflow.com/questions/68708438/grpc-communication-stucks-using-nginx |
34 | | /r/nginx https://www.reddit.com/r/nginx/comments/otwhma/c_grpc_with_nginx_does_not_work/ |
35 | | /r/csharp https://old.reddit.com/r/csharp/comments/otwgta/grpc_with_nginx_does_not_work/ |
| 49 | - Stackoverflow Question https://stackoverflow.com/questions/68547210/c-sharp-nginx-upstream-timed-out |
| 50 | - 2nd Stackoverflow Question (with Java) https://stackoverflow.com/questions/68708438/grpc-communication-stucks-using-nginx |
| 51 | - /r/nginx https://www.reddit.com/r/nginx/comments/otwhma/c_grpc_with_nginx_does_not_work/ |
| 52 | - /r/csharp https://old.reddit.com/r/csharp/comments/otwgta/grpc_with_nginx_does_not_work/ |