how to sample inbound-mongodb #33422
Labels
lifecycle/automatically-closed
Indicates a PR or issue that has been closed automatically.
lifecycle/stale
Indicates a PR or issue hasn't been manipulated by an Istio team member for a while
Hello,
I have a application with mongodb. The application runs in ts own pod and is istio sidecar enabled, by injection the following snippet in the app's deployment
It connects to the MongoDB which runs in another pod in the same namespace and in same cluster.
When the main app comes up it shows in the log that connection to Mongodb is established.
But when a api request is sent via the gateway using virtual service, seem like request doesn reach the mongodb pod.
The mongodb deployment also has
sidecar.istio.io/inject: "true"
sidecar.istio.io/rewriteAppHTTPProbers: "true"
The error msg seen in
Caused by: com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=myapp-mongo-wrapper.e-dev-mgr.svc:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoInterna
lException: The reply message length 1347703880 is greater than the maximum message length 33554432}}]
I am not sure what other istio serivce mesh configuration should be performend so that App pod can communicate the Mongo pod via sidecar(Envoy proxy)
Could you please give some hint of sight out in the sample how this can be acheived.
Best Ragards
Sanjeev
The text was updated successfully, but these errors were encountered: