Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to sample inbound-mongodb #33422

Closed
vyom-soft opened this issue Jun 14, 2021 · 1 comment
Closed

how to sample inbound-mongodb #33422

vyom-soft opened this issue Jun 14, 2021 · 1 comment
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

Comments

@vyom-soft
Copy link

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

    sidecar.istio.io/inject: "true"
    sidecar.istio.io/rewriteAppHTTPProbers: "true"

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

@istio-policy-bot istio-policy-bot added the lifecycle/stale Indicates a PR or issue hasn't been manipulated by an Istio team member for a while label Sep 13, 2021
@istio-policy-bot
Copy link

🚧 This issue or pull request has been closed due to not having had activity from an Istio team member since 2021-06-14. If you feel this issue or pull request deserves attention, please reopen the issue. Please see this wiki page for more information. Thank you for your contributions.

Created by the issue and PR lifecycle manager.

@istio-policy-bot istio-policy-bot added the lifecycle/automatically-closed Indicates a PR or issue that has been closed automatically. label Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants