Comments (4)
Hi @stonezdj, thanks for reporting this. Could you please share a couple of additional details:
- What language/framework is your application written with? Could you maybe share a minimal reproduction of this issue? Meaning a (possibly simplified and reduced) application that you can share with us, where this issue still occurs.
- Are you running with a mirrord configuration file? If yes, could you please share that configuration?
- Could you please share with us the relevant vscode launch configuration?
- Are there no IDE notifications from mirrord with more details about what went wrong?
Thanks!
from mirrord.
1.The language is golang language, application:
https://github.com/goharbor/harbor
Install Harbor via helm chart
helm repo add harbor https://helm.goharbor.io
helm install myrelease harbor/harbor --version=v1.14.0 --set expose.type=ingress
- The mirrord configuration file
{
"target": "deployment/myrelease-harbor-core",
"feature": {
"env": true,
"fs": "read",
"network": true
}
}
- VSCode Launch configuration:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch go debug",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${fileDirname}",
"envFile": "/Users/<user>/Documents/core/env",
"args": []
}
]
}
- when this error happen, the IDE debugger detached
2024/02/02 22:55:59.993 [I] [server.go:281] http server Running on http://:8080
2024-02-02T14:56:00.621869Z ERROR ThreadId(01) mirrord_layer::error: Error occured in Layer >> ProxyError(ConnectionClosed)
2024/02/02 22:56:00.622 [C] [server.go:298] ListenAndServe: listen tcp :8080: listen: invalid argument
Process 75821 has exited with status 0
Detaching
from mirrord.
@stonezdj I highly suspect your cluster VM version doesn't support mirroring, seeing the logs.
Can you set use this json:
{
"agent": {"ttl": 120},
"target": "deployment/myrelease-harbor-core",
"feature": {
"env": true,
"fs": "read",
"network": true
}
}
then obtain agent logs? (using kubectl logs mirrord-agent-GENERATED-RANDOM
)
Also, you can try changing "network": {"incoming": "steal"}
to see if stealing works.
from mirrord.
Yes, the node kernel version is <4.20, after switch to another cluster with kernel version >4.20, it works, thanks!
from mirrord.
Related Issues (20)
- Traffic mirroring not working when uvicorn is reloading on source changes HOT 1
- Add preprocessing to headers before running filter HOT 2
- Layer timeout on intproxy communication (outgoing connect timeout in the agent)
- Error when running mirrord: /usr/local/bin/mirrord: cannot execute: required file not found HOT 1
- mirrord layer/ cli support Alpine/musl
- compatability issue with IDE HOT 5
- possible gRPC streaming issue HOT 2
- Add agent name to operator status
- Web Browsing not working - Segmentation fault with microsocks HOT 1
- Add VSCode extension to codium HOT 1
- Process killed when live-reload quarkus Java application HOT 7
- Authenticate agent connection
- Change port stealing configuration behavior
- Provide explanation before session start HOT 6
- mirrord exec fs-mode local doesn't apply
- Process crashes on DNS timeout
- agent stays when passing mirrord a non-existing executable HOT 2
- mirrord VPN alpha
- Can't override with local postgresql on node
- Install.sh broken for version 3.98.1 HOT 2
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.