metalbear-co / mirrord-intellij

Connect your local process and your cloud environment, and run local code in cloud conditions.
https://mirrord.dev
MIT License
11 stars 9 forks source link

Not closing the agent and not mirroring/stealing the traffic #281

Open sandeepcmsm opened 6 days ago

sandeepcmsm commented 6 days ago

Bug Description

After updating to latest goland version, mirror agent stopping terminating the agent job running on k8s. i have tried this in run and debug mode. i can see lot of mirrord deamon process keep running on my mac os. so i manually keep killing them so it will close the jobs.

after the process started, i dont see mirror of the http traffic happening.

then i tried the same with visual studio code, everything works fine there.

mirrord version: 3.116.3

my k8s cluster does not have sidecars. i'm connected to my office vpn using openvpn from home network. k8s cluster can be accessed using only whitelisted vpn ip.

Goland configuration as fallows: GoLand 2024.2.1.1 Build #GO-242.21829.220, built on September 8, 2024 Licensed to Sandeep CS Subscription is active until December 5, 2024. Runtime version: 21.0.3+13-b509.11 x86_64 (JCEF 122.1.9) VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Toolkit: sun.lwawt.macosx.LWCToolkit macOS 14.6.1 GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation Memory: 4096M Cores: 16 Metal Rendering is ON Registry: ide.balloon.shadow.size=0 editor.focus.mode.color.light=777777 editor.focus.mode.color.dark=777777 debugger.new.tool.window.layout=true ide.completion.variant.limit=500 suggest.all.run.configurations.from.context=TRUE ide.new.editor.tabs.vertical.borders=true ide.experimental.ui=true ide.editor.tab.selection.animation=true i18n.locale= terminal.new.ui=true Non-Bundled Plugins: com.intellij.tasks (242.20224.204) com.fobgochod (2022.3.5) com.mroche.JsonHelper (1.3.2) com.markskelton.one-dark-theme (5.11.0) net.sjrx.intellij.plugins.systemdunitfiles (223.240904.242) String Manipulation (9.14.1) color.scheme.Panda Syntax (0.4) ChatGPT (3.3.6-241.242) org.toml.lang (242.20224.155) com.intellij.ml.llm (242.21829.196) org.jetbrains.plugins.vagrant (242.20224.159) com.intellij.nativeDebug (242.21829.165) com.nasmlanguage (0.6-beta.1) com.metalbear.mirrord (3.61.2) com.ypwang.plugin.go-linter (1.6.6)

Steps to Reproduce

install GoLand 2024.2.1.1 install latest mirrord plugin. debug the any sample go program.

Backtrace

No response

Relevant Logs

No response

Your operating system and version

mac os 14.6.1

Local process

golang process: using delve and normal process run name is qbs

Local process version

No response

Additional Info

No response

aviramha commented 6 days ago

Thanks for reporting. I will try to reproduce.

aviramha commented 6 days ago

Can't reproduce. I'm not sure what is going on. Would you like to schedule a support session to share screen?

aviramha commented 5 days ago

Waiting for your input

sandeepcmsm commented 5 days ago

We can connect at 9 30 PM IST. I can show you.

On Fri, 13 Sept, 2024, 5:14 pm Aviram Hassan, @.***> wrote:

Waiting for your input

— Reply to this email directly, view it on GitHub https://github.com/metalbear-co/mirrord-intellij/issues/281#issuecomment-2348758152, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQB2OTPSRIZCMZ6YN4NEBLZWLFX5AVCNFSM6AAAAABODBAVASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBYG42TQMJVGI . You are receiving this because you authored the thread.Message ID: @.***>

aviramha commented 5 days ago

@sandeepcmsm I can do one hour later (10:30 PM IST) if you'd like - share your email so I can send an invite.

sandeepcmsm commented 5 days ago

sandeep.cmsm@gmail.com

aviramha commented 5 days ago

When downgrading to previous version, debug failed due to the delve patch - we should probably make this patch only if go plugin version is old The patch didn't help the new version though go 1.23, delve latest,