Comments (12)
Thanks for reporting this - Are you using the operator?
I suspect that the remote pod you're targeting had a restart, which leads to mirrord failing to access it's Linux namespace.
Can you verify if the container you target had a restart? Sometimes this happens due to health checks failing (timeout) so we recommend using a HTTP filter to avoid stealing the health checks.
from mirrord.
hi,
that is correct, we are not using the operator for now and the pod restarts. it does not usually restart when mirrored it is not being executed. what should I do?
thank you in advance
from mirrord.
thanks for the clarification - this means you're using mirrord OSS and not enterprise :)
Can you check what's the reason for the restart?
from mirrord.
The pod exits with code 0 and status completed
which is weird, I am trying this with another service and it works perfectly without issues
from mirrord.
I mean the reason for the restart of the target pod - your service.
P.S if you'd like we can do a screenshare session to debug it.
from mirrord.
after the mirrord connection, I am seeing this:
│ app {"level":40,"time":1716896956775,"msg":"[app] [http] SIGTERM received stopping server..."} │
from mirrord.
I would like you to describe the app's pod, and see if there's any kubernetes event saying restart / health check failed etc
from mirrord.
What I did not understand is why the other service works perfectly and not this one. Both have the same checks
from mirrord.
You can probably run the application with a debugger - put a breakpoint into health and see where it hangs
Also - do they have the same timeouts?
from mirrord.
No, locally acts in the same way as the service that is working, it logs the endpoint call:
from mirrord.
Would you like to debug it over a call?
from mirrord.
Issue was health checks being stolen and not answered in a timely manner.
from mirrord.
Related Issues (20)
- Possible issues with stack HOT 4
- I want debug java application but use mirrord plugin in IntelliJ IDEA occur network error HOT 18
- Ability to use remote trusted CA certs HOT 4
- Flake readyforlogs
- use upstream kube-rs
- Merge WIP VPN PR HOT 1
- Make port-forwarding stable
- Mark `mirrord container ...` as unstable
- Failed to make API calls to external services HOT 5
- Failed to parse config when `incoming` type is `mirror`
- The release 3.113.0 failed HOT 2
- Mirrord often exits during debugging HOT 6
- go1.22.0 crash when executing a command (Linux) HOT 2
- Python http.server - illegal hardware instruction HOT 1
- Update go version in CI
- schema issue on "incoming" (and probably others) HOT 1
- Extend GitHub bug report template
- Make containers stable
- SQS E2E tests
- Always resolve our host
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mirrord.