Giter Club home page Giter Club logo

Comments (4)

t4lz avatar t4lz commented on June 27, 2024

Hi @stonezdj, thanks for reporting this. Could you please share a couple of additional details:

  1. 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.
  2. Are you running with a mirrord configuration file? If yes, could you please share that configuration?
  3. Could you please share with us the relevant vscode launch configuration?
  4. Are there no IDE notifications from mirrord with more details about what went wrong?

Thanks!

from mirrord.

stonezdj avatar stonezdj commented on June 27, 2024

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 
  1. The mirrord configuration file
{
    "target": "deployment/myrelease-harbor-core",
    "feature": {
      "env": true,
      "fs": "read",
      "network": true
    }
  }
  1. 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": []
        }
    ]
}
  1. 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.

aviramha avatar aviramha commented on June 27, 2024

@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.

stonezdj avatar stonezdj commented on June 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.