metalbear-co / mirrord

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

Mirrord often exits during debugging #2652

Open izturn opened 1 month ago

izturn commented 1 month ago

Bug Description

when debug with vsc, the mirrord often exits during debugging with output likes this: Proxy error, connectivity issue or a bug. You may report it to us on https://github.com/metalbear-co/mirrord/issues/new?assignees=&labels=bug&projects=&template=bug_report.yml io failed: Resource temporarily unavailable (os error 11)

the config likes:

{
    "feature": {
        "network": {
            "incoming": {
                "mode": "steal"
              }
        },
        "fs": "read",
        "env": true
    },

    "use_proxy": false,
    "kubeconfig": "~/.kube/config",
    "target": {
        "path": {
            "pod": "xx-59b69f96b5-7bp9v",
            "container": "xx-container"
        },
       "namespace": "xx-system"
      },
    "internal_proxy": {
        "idle_timeout": 180,
        "log_destination": "/tmp/internal_proxy.log",
        "log_level": "mirrord=trace"
    },
    "agent": {
        "log_level": "mirrord=trace,debug,warn",
        "namespace": "default",
        "image": "ghcr.io/metalbear-co/mirrord:latest"
    }
}

Steps to Reproduce

  1. just run the app in mode: debug with mirrord attached.
  2. sometime past, the debugged process is exited as above.

Backtrace

No response

Relevant Logs

2024-08-14T06:56:11.212235Z TRACE handle_agent_read{read=Ok(DaemonRead { connection_id: 51, bytes (length): 20635 }) protocol=Stream}: mirrord_intproxy::proxies::outgoing: outgoing interceptor 51-STREAM does not exist, received data for connection that is already closed
2024-08-14T06:56:11.212249Z TRACE handle_agent_read{read=Ok(DaemonRead { connection_id: 51, bytes (length): 12381 }) protocol=Stream}: mirrord_intproxy::proxies::outgoing: outgoing interceptor 51-STREAM does not exist, received data for connection that is already closed
2024-08-14T06:56:11.212260Z TRACE handle_agent_read{read=Ok(DaemonRead { connection_id: 51, bytes (length): 3956 }) protocol=Stream}: mirrord_intproxy::proxies::outgoing: outgoing interceptor 51-STREAM does not exist, received data for connection that is already closed
2024-08-14T06:56:11.212405Z TRACE handle_agent_message{NewConnection(NewTcpConnection { connection_id: 55, remote_address: 127.0.0.6, destination_port: 8081, source_port: 34281, local_address: 127.0.0.1 })}: mirrord_intproxy::proxies::incoming: received a new connection for port 8081 that is no longer mirrored
2024-08-14T06:56:11.212438Z TRACE handle_agent_message{NewConnection(NewTcpConnection { connection_id: 56, remote_address: 127.0.0.6, destination_port: 8081, source_port: 41491, local_address: 127.0.0.1 })}: mirrord_intproxy::proxies::incoming: received a new connection for port 8081 that is no longer mirrored
2024-08-14T06:56:11.212448Z TRACE handle_agent_message{Data(TcpData { connection_id: 55, bytes (length): 137 })}: mirrord_intproxy::proxies::incoming: received new data for connection 55 that is already closed
2024-08-14T06:56:11.212458Z TRACE handle_agent_message{Data(TcpData { connection_id: 56, bytes (length): 138 })}: mirrord_intproxy::proxies::incoming: received new data for connection 56 that is already closed
2024-08-14T06:56:11.212465Z TRACE handle_agent_message{Data(TcpData { connection_id: 56, bytes (length): 0 })}: mirrord_intproxy::proxies::incoming: received new data for connection 56 that is already closed
2024-08-14T06:56:11.212473Z TRACE handle_agent_message{Data(TcpData { connection_id: 55, bytes (length): 0 })}: mirrord_intproxy::proxies::incoming: received new data for connection 55 that is already closed
2024-08-14T06:56:11.212498Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.212531Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.212548Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.212593Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.212612Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.212636Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.212653Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.212671Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.212695Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.212713Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.212731Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.212753Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.212768Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.212790Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.212805Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.212838Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.212858Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.212893Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.212929Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.212953Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.212969Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.212991Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.213007Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213028Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.213044Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213065Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.213080Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213101Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.213118Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213139Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.213154Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213175Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.213190Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213212Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.213227Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213249Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.213285Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213302Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213324Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.213339Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213360Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.213377Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213398Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.213414Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213444Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.213459Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213485Z TRACE mirrord_intproxy::proxies::incoming::interceptor: incoming interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213510Z TRACE mirrord_intproxy::proxies::incoming::interceptor: incoming interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213532Z TRACE mirrord_intproxy::proxies::incoming::interceptor: incoming interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213555Z TRACE mirrord_intproxy::proxies::incoming::interceptor: incoming interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213576Z TRACE mirrord_intproxy::proxies::incoming::interceptor: incoming interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213599Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 3-STREAM finished: Err(Error(Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" }))
2024-08-14T06:56:11.213615Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 24-STREAM finished: Ok(())
2024-08-14T06:56:11.213622Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 62-STREAM finished: Ok(())
2024-08-14T06:56:11.213628Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 32-STREAM finished: Err(Error(Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" }))
2024-08-14T06:56:11.213635Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 61-STREAM finished: Ok(())
2024-08-14T06:56:11.213641Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 63-STREAM finished: Ok(())
2024-08-14T06:56:11.213647Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 15-STREAM finished: Ok(())
2024-08-14T06:56:11.213653Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 55-STREAM finished: Ok(())
2024-08-14T06:56:11.213659Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 21-STREAM finished: Ok(())
2024-08-14T06:56:11.213664Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 18-STREAM finished: Ok(())
2024-08-14T06:56:11.213670Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 57-STREAM finished: Ok(())
2024-08-14T06:56:11.213675Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 23-STREAM finished: Ok(())
2024-08-14T06:56:11.213681Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 68-STREAM finished: Ok(())
2024-08-14T06:56:11.213687Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 28-STREAM finished: Ok(())
2024-08-14T06:56:11.213692Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 20-STREAM finished: Ok(())
2024-08-14T06:56:11.213699Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 29-STREAM finished: Ok(())
2024-08-14T06:56:11.213705Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 26-STREAM finished: Ok(())
2024-08-14T06:56:11.213710Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 56-STREAM finished: Ok(())
2024-08-14T06:56:11.213716Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 1-STREAM finished: Ok(())
2024-08-14T06:56:11.213723Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 12-STREAM finished: Ok(())
2024-08-14T06:56:11.213729Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 66-STREAM finished: Err(Error(Os { code: 107, kind: NotConnected, message: "Transport endpoint is not connected" }))
2024-08-14T06:56:11.213735Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 2-STREAM finished: Ok(())
2024-08-14T06:56:11.213742Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 7-STREAM finished: Ok(())
2024-08-14T06:56:11.213756Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 27-STREAM finished: Ok(())
2024-08-14T06:56:11.213762Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 11-STREAM finished: Ok(())
2024-08-14T06:56:11.213781Z TRACE handle_agent_message{TcpOutgoing(Close(43))}: mirrord_intproxy: return=Ok(())
2024-08-14T06:56:11.213792Z TRACE handle_agent_message{TcpSteal(Data(TcpData { connection_id: 4, bytes (length): 0 }))}: mirrord_intproxy: return=Ok(())
2024-08-14T06:56:11.213800Z TRACE handle_agent_message{TcpSteal(Data(TcpData { connection_id: 53, bytes (length): 0 }))}: mirrord_intproxy: return=Ok(())
2024-08-14T06:56:11.213819Z TRACE handle_agent_message{Data(TcpData { connection_id: 53, bytes (length): 0 })}: mirrord_intproxy::proxies::incoming: received new data for connection 53 that is already closed
2024-08-14T06:56:11.213828Z TRACE mirrord_intproxy::proxies::outgoing::interceptor: outgoing interceptor -> no more messages from the agent, exiting
2024-08-14T06:56:11.213847Z TRACE mirrord_intproxy::proxies::incoming::interceptor: incoming interceptor -> agent shutdown, shutting down connection with layer
2024-08-14T06:56:11.213877Z TRACE mirrord_intproxy::proxies::outgoing: outgoing interceptor 43-STREAM finished: Ok(())
2024-08-14T06:56:31.157996Z TRACE mirrord_intproxy::ping_pong: sending ping
2024-08-14T06:56:31.158090Z TRACE send_agent_message{msg=Ping}: mirrord_intproxy::agent_conn: return=Ok(())
2024-08-14T06:56:31.403064Z TRACE handle_agent_message{Pong}: mirrord_intproxy: return=Ok(())
2024-08-14T06:56:31.403112Z TRACE mirrord_intproxy::ping_pong: agent responded to ping
2024-08-14T06:57:01.157836Z TRACE mirrord_intproxy::ping_pong: sending ping
2024-08-14T06:57:01.157926Z TRACE send_agent_message{msg=Ping}: mirrord_intproxy::agent_conn: return=Ok(())
2024-08-14T06:57:01.199548Z TRACE handle_agent_message{Pong}: mirrord_intproxy: return=Ok(())
2024-08-14T06:57:01.199596Z TRACE mirrord_intproxy::ping_pong: agent responded to ping
2024-08-14T06:57:31.159740Z TRACE mirrord_intproxy::ping_pong: sending ping
2024-08-14T06:57:31.159910Z TRACE send_agent_message{msg=Ping}: mirrord_intproxy::agent_conn: return=Ok(())
2024-08-14T06:57:31.204481Z TRACE handle_agent_message{Pong}: mirrord_intproxy: return=Ok(())
2024-08-14T06:57:31.204554Z TRACE mirrord_intproxy::ping_pong: agent responded to ping
2024-08-14T06:58:01.157416Z TRACE mirrord_intproxy::ping_pong: sending ping
2024-08-14T06:58:01.157552Z TRACE send_agent_message{msg=Ping}: mirrord_intproxy::agent_conn: return=Ok(())
2024-08-14T06:58:01.199925Z TRACE handle_agent_message{Pong}: mirrord_intproxy: return=Ok(())
2024-08-14T06:58:01.199999Z TRACE mirrord_intproxy::ping_pong: agent responded to ping
2024-08-14T06:58:31.158080Z TRACE mirrord_intproxy::ping_pong: sending ping
2024-08-14T06:58:31.158186Z TRACE send_agent_message{msg=Ping}: mirrord_intproxy::agent_conn: return=Ok(())
2024-08-14T06:58:31.204150Z TRACE handle_agent_message{Pong}: mirrord_intproxy: return=Ok(())
2024-08-14T06:58:31.204221Z TRACE mirrord_intproxy::ping_pong: agent responded to ping
2024-08-14T06:59:01.157851Z TRACE mirrord_intproxy::ping_pong: sending ping
2024-08-14T06:59:01.157933Z TRACE send_agent_message{msg=Ping}: mirrord_intproxy::agent_conn: return=Ok(())
2024-08-14T06:59:01.201119Z TRACE handle_agent_message{Pong}: mirrord_intproxy: return=Ok(())
2024-08-14T06:59:01.201176Z TRACE mirrord_intproxy::ping_pong: agent responded to ping
2024-08-14T06:59:31.160718Z TRACE mirrord_intproxy::ping_pong: sending ping
2024-08-14T06:59:31.160878Z TRACE send_agent_message{msg=Ping}: mirrord_intproxy::agent_conn: return=Ok(())
2024-08-14T06:59:31.496875Z TRACE handle_agent_message{Pong}: mirrord_intproxy: return=Ok(())
2024-08-14T06:59:31.496924Z TRACE mirrord_intproxy::ping_pong: agent responded to ping
2024-08-14T07:00:01.157327Z TRACE mirrord_intproxy::ping_pong: sending ping
2024-08-14T07:00:01.157418Z TRACE send_agent_message{msg=Ping}: mirrord_intproxy::agent_conn: return=Ok(())
2024-08-14T07:00:01.202562Z TRACE handle_agent_message{Pong}: mirrord_intproxy: return=Ok(())
2024-08-14T07:00:01.202613Z TRACE mirrord_intproxy::ping_pong: agent responded to ping
2024-08-14T07:00:31.158313Z TRACE mirrord_intproxy::ping_pong: sending ping
2024-08-14T07:00:31.158407Z TRACE send_agent_message{msg=Ping}: mirrord_intproxy::agent_conn: return=Ok(())
2024-08-14T07:00:31.206033Z TRACE handle_agent_message{Pong}: mirrord_intproxy: return=Ok(())
2024-08-14T07:00:31.206098Z TRACE mirrord_intproxy::ping_pong: agent responded to ping
2024-08-14T07:01:01.158330Z TRACE mirrord_intproxy::ping_pong: sending ping
2024-08-14T07:01:01.158470Z TRACE send_agent_message{msg=Ping}: mirrord_intproxy::agent_conn: return=Ok(())
2024-08-14T07:01:01.197876Z TRACE handle_agent_message{Pong}: mirrord_intproxy: return=Ok(())
2024-08-14T07:01:01.197930Z TRACE mirrord_intproxy::ping_pong: agent responded to ping
2024-08-14T07:01:31.157705Z TRACE mirrord_intproxy::ping_pong: sending ping
2024-08-14T07:01:31.157786Z TRACE send_agent_message{msg=Ping}: mirrord_intproxy::agent_conn: return=Ok(())
2024-08-14T07:01:31.201136Z TRACE handle_agent_message{Pong}: mirrord_intproxy: return=Ok(())
2024-08-14T07:01:31.201216Z TRACE mirrord_intproxy::ping_pong: agent responded to ping
2024-08-14T07:02:01.158123Z TRACE mirrord_intproxy::ping_pong: sending ping
2024-08-14T07:02:01.158285Z TRACE send_agent_message{msg=Ping}: mirrord_intproxy::agent_conn: return=Ok(())
2024-08-14T07:02:01.200047Z TRACE handle_agent_message{Pong}: mirrord_intproxy: return=Ok(())
2024-08-14T07:02:01.200088Z TRACE mirrord_intproxy::ping_pong: agent responded to ping
2024-08-14T07:02:31.158387Z TRACE mirrord_intproxy::ping_pong: sending ping
2024-08-14T07:02:31.158481Z TRACE send_agent_message{msg=Ping}: mirrord_intproxy::agent_conn: return=Ok(())
2024-08-14T07:02:31.225835Z TRACE handle_agent_message{Pong}: mirrord_intproxy: return=Ok(())
2024-08-14T07:02:31.225908Z TRACE mirrord_intproxy::ping_pong: agent responded to ping
2024-08-14T07:03:01.158105Z TRACE mirrord_intproxy::ping_pong: sending ping
2024-08-14T07:03:01.158193Z TRACE send_agent_message{msg=Ping}: mirrord_intproxy::agent_conn: return=Ok(())
2024-08-14T07:03:01.201524Z TRACE handle_agent_message{Pong}: mirrord_intproxy: return=Ok(())
2024-08-14T07:03:01.201593Z TRACE mirrord_intproxy::ping_pong: agent responded to ping

Your operating system and version

os: Ubuntu 22.04.4 LTS k8s: v1.27.5 go: go1.22.0 linux/amd64

Local process

__debug_bin....

Local process version

No response

Additional Info

No response

aviramha commented 1 month ago

Thanks for reporting this. Does this happen when you have a breakpoint?

izturn commented 1 month ago

Thanks for reporting this. Does this happen when you have a breakpoint?

yes, and It will appear very frequently.

aviramha commented 1 month ago

Thanks for reporting this. Does this happen when you have a breakpoint?

yes, and It will appear very frequently.

Does that happen while the breakpoint is hit? I believe that might happen because all threads are stuck hence we get a timeout. @Razz4780 perhaps we should consider removing timeouts from layer, wdyt?

izturn commented 1 month ago

Thanks for reporting this. Does this happen when you have a breakpoint?

yes, and It will appear very frequently.

Does that happen while the breakpoint is hit? I believe that might happen because all threads are stuck hence we get a timeout. @Razz4780 perhaps we should consider removing timeouts from layer, wdyt?

Very likely, but I'm not sure because when I was debugging, for example, when I send an HTTP request from RestfulAPI client and returned to VSCode, I found that the program had already exited.

Razz4780 commented 1 month ago

@Razz4780 perhaps we should consider removing timeouts from layer, wdyt?

We've already seen some problems originating from these timeouts, I think we can remove them

aviramha commented 1 month ago

Do you think we can make it a flag or it would be too annoying code-wise? (so we can easily "rollback"..)

Razz4780 commented 2 weeks ago

Do you think we can make it a flag or it would be too annoying code-wise? (so we can easily "rollback"..)

It's just a matter of setting write/read timeouts om tcp socket, very small