https://github.com/swuecho/hello_grpc
https://github.com/swuecho/hello_grpc
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/swuecho/hello_grpc
- Owner: swuecho
- Created: 2019-06-18T16:20:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-18T18:14:41.000Z (almost 6 years ago)
- Last Synced: 2025-01-22T15:46:18.123Z (3 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
the server port is 50052 and client port is 50051
grpc-dump should forward client request from 50051 to 50052
```
grpc-dump --port=50051 --destination=localhost:50052 | jq .
```python client get picky? in those 4 command, only the last one works (grpc_dump can dump the request/response)
```
✗ http_proxy=localhost:12345 python greeter_client.py
E0619 00:36:52.389945000 4728600000 http_proxy.cc:62] 'localhost' scheme not supported in proxy URI
Greeter client received: Hello, you!
✗ HTTP_PROXY=localhost:12345 python greeter_client.py
Greeter client received: Hello, you!
✗ HTTP_PROXY=http://localhost:12345 python greeter_client.py
Greeter client received: Hello, you!✗ http_proxy=http://localhost:12345 python greeter_client.py
Greeter client received: Hello, you!
```