Grpc python retry example logs sometimes get ignored in the server.

31 views
Skip to first unread message

habib ammar

unread,
Aug 1, 2025, 2:33:59 PMAug 1
to grpc.io
https://github.com/grpc/grpc/tree/master/examples/python/retry

in the laky_server.py file
this line is sometimes ignored :
```
        logging.info("Successfully responding to RPC from %s", context.peer())
```
it sometimes does not log the success
i even added some more code to it:
```
        logger.info("Successfully responding to RPC from %s", context.peer())
        await asyncio.sleep(1)
        print("I love grpc")
        request.name="habib"
```
And all of it get ignored (sometimes not in every request)
it feels like it immediately send a response, like it's cashed or something.
Reply all
Reply to author
Forward
0 new messages