Closed deyanp closed 1 year ago
logs of the mirrord pod created:
kl mirrord-agent-4v26rwn3st-vqg76 2023-10-03T11:12:21.761914056Z agent ready - version 3.70.0 2023-10-03T11:12:23.277030953Z 2023-10-03T11:12:23.276957Z WARN ThreadId(06) mirrord_agent::outgoing: interceptor_task -> no messages left 2023-10-03T11:12:23.277051159Z 2023-10-03T11:12:23.276960Z WARN ThreadId(07) mirrord_agent::outgoing::udp: interceptor_task -> no messages left 2023-10-03T11:12:24.618500656Z 2023-10-03T11:12:24.618312Z WARN ThreadId(13) mirrord_agent::outgoing::udp: interceptor_task -> no messages left 2023-10-03T11:12:24.618524572Z 2023-10-03T11:12:24.618310Z WARN ThreadId(12) mirrord_agent::outgoing: interceptor_task -> no messages left 2023-10-03T11:12:31.326261608Z 2023-10-03T11:12:31.326109Z WARN ThreadId(14) mirrord_agent::outgoing: interceptor_task -> Elapsed connect error Elapsed( 2023-10-03T11:12:31.326306688Z (), 2023-10-03T11:12:31.326324188Z )
Thanks for reporting this! Based on similar issues we had in the past, can you check if there's any env being set that might be related to debugging? For example we had - https://github.com/metalbear-co/mirrord-intellij/issues/67
Not sure, do you see anything:
deyan ~ env
SHELL=/bin/bash
LSCOLORS=Gxfxcxdxdxegedabagacad
AZURE_TENANT_ID=ANONYMIZED
SESSION_MANAGER=local/deyan-XPS-17-9700:@/tmp/.ICE-unix/7401,unix/deyan-XPS-17-9700:/tmp/.ICE-unix/7401
QT_ACCESSIBILITY=1
COLORTERM=truecolor
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-xorg:/etc/xdg
SSH_AGENT_LAUNCHER=gnome-keyring
LESS=-R
XDG_MENU_PREFIX=gnome-
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GTK_IM_MODULE=ibus
HISTSIZE=
TERMINATOR_DBUS_PATH=/net/tenshu/Terminator2
MANDATORY_PATH=/usr/share/gconf/ubuntu-xorg.mandatory.path
LC_ADDRESS=en_DK.UTF-8
JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
GNOME_SHELL_SESSION_MODE=ubuntu
LC_NAME=en_DK.UTF-8
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TERMINATOR_UUID=urn:uuid:8dbb35b4-620d-4887-8aff-665b0afcff45
XMODIFIERS=@im=ibus
DESKTOP_SESSION=ubuntu-xorg
LC_MONETARY=en_DK.UTF-8
OSH=/home/deyan/.oh-my-bash
GTK_MODULES=gail:atk-bridge
PWD=/home/deyan
XDG_SESSION_DESKTOP=ubuntu-xorg
LOGNAME=deyan
XDG_SESSION_TYPE=x11
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
SYSTEMD_EXEC_PID=7429
XAUTHORITY=/run/user/1000/gdm/Xauthority
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
WINDOWPATH=2
HOME=/home/deyan
USERNAME=deyan
IM_CONFIG_PHASE=1
LC_PAPER=en_DK.UTF-8
LANG=en_US.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
XDG_CURRENT_DESKTOP=ubuntu:GNOME
VTE_VERSION=6800
COMP_WORDBREAKS=
"'><=;|&(
INVOCATION_ID=2c373a16d0ba4f8e947f20989beae074
TERMINATOR_DBUS_NAME=net.tenshu.Terminator23558193cd9818af7fe4d2c2f5bd9d00f
MANAGERPID=5327
GJS_DEBUG_OUTPUT=stderr
LESSCLOSE=/usr/bin/lesspipe %s %s
XDG_SESSION_CLASS=user
ANDROID_HOME=/home/deyan/Android/Sdk
IBUS_DISABLE_SNOOPER=1
TERM=xterm-256color
LC_IDENTIFICATION=en_DK.UTF-8
AZURE_CLIENT_SECRET=ANONYMIZED
DEFAULTS_PATH=/usr/share/gconf/ubuntu-xorg.default.path
LESSOPEN=| /usr/bin/lesspipe %s
USER=deyan
DISPLAY=:1
SHLVL=1
PAGER=less
LC_TELEPHONE=en_DK.UTF-8
ANDROID_SDK_ROOT=/home/deyan/Android/Sdk
QT_IM_MODULE=ibus
LC_MEASUREMENT=en_DK.UTF-8
AZURE_CLIENT_ID=ANONYMIZED
PAPERSIZE=a4
LC_CTYPE=en_US.UTF-8
XDG_RUNTIME_DIR=/run/user/1000
LC_TIME=en_DK.UTF-8
JOURNAL_STREAM=8:63512
XDG_DATA_DIRS=/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
TimeZoneName_CET=Europe/Berlin
PATH=/home/deyan/.krew/bin:/home/deyan/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/deyan/.dotnet/tools:/home/deyan/.local/bin:/home/deyan/Android/Sdk/emulator:/home/deyan/Android/Sdk/platform-tools:/usr/lib/jvm/java-11-openjdk-amd64/bin
HISTIGNORE=exit:ls:bg:fg:history:clear
GDMSESSION=ubuntu-xorg
HISTFILESIZE=
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
GIO_LAUNCHED_DESKTOP_FILE_PID=10272
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/terminator.desktop
LC_NUMERIC=en_DK.UTF-8
_=/usr/bin/env
Also the mirrord plugin config is the default one:
{
"feature": {
"network": {
"incoming": "mirror",
"outgoing": true
},
"fs": "read",
"env": true
}
}
It looks like the requests are not forwarded to the application instance running in Rider (in debug mode).
Also strange that I get a plugin notification "mirrord starting...", but even though the application starts in debug mode in rider, I do not get another follow-up plugin notification "mirrord started" (not sure if there is such in general)
the notifications flow looks ok - can you check the env in the app post launch? I didn't mean the local env, but rather what's obtained from the remote - on app startup, add a log to print all env or do it on a breakpoint
p.s if you want to join Discord and share screen it'd be easiest to debug that way :)
Thought so ;) Will join discord!
Here the env vars from the application after started debugging in rider with mirrord plugin (initial breakpoint upon start is hit):
[0] = {KeyValuePairs} [Logging__ApplicationInsights__LogLevel__Default]=Information
[1] = {KeyValuePairs} [DEFAULTS_PATH]=/usr/share/gconf/ubuntu-xorg.default.path
[2] = {KeyValuePairs} [MongoDB_ConnectionString]=mongodb://localhost:27017/?readPreference=secondaryPreferred
[3] = {KeyValuePairs} [DBUS_SESSION_BUS_ADDRESS]=unix:path=/run/user/1000/bus
[4] = {KeyValuePairs} [SHLVL]=1
[5] = {KeyValuePairs} [APPNAME]=c2d-test-qryh
[6] = {KeyValuePairs} [SNAP_UID]=1000
[7] = {KeyValuePairs} [AzureDataExplorer_ConnectionString]=ANONYMIZED
[8] = {KeyValuePairs} [XMODIFIERS]=@im=ibus
[9] = {KeyValuePairs} [LC_NUMERIC]=en_DK.UTF-8
[10] = {KeyValuePairs} [JAVA_HOME]=/usr/lib/jvm/java-11-openjdk-amd64
[11] = {KeyValuePairs} [Logging__ApplicationInsights__LogLevel__Microsoft]=Warning
[12] = {KeyValuePairs} [TERM]=xterm-256color
[13] = {KeyValuePairs} [XXX_TEST_QRYH_HTTP_PORT_80_TCP_PROTO]=tcp
[14] = {KeyValuePairs} [SNAP_EUID]=1000
[15] = {KeyValuePairs} [ASPNET_VERSION]=7.0.4
[16] = {KeyValuePairs} [AzureDataExplorer_Database]=XXXDWH
[17] = {KeyValuePairs} [LC_NAME]=en_DK.UTF-8
[18] = {KeyValuePairs} [SNAP_DATA]=/var/snap/rider/408
[19] = {KeyValuePairs} [SNAP_CONTEXT]=Ex7n76TC6c81CqBXa0Ai6lHhb_cOncl5JunpR4B_371kV5xxPeVV
[20] = {KeyValuePairs} [SNAP_INSTANCE_KEY]=
[21] = {KeyValuePairs} [DESKTOP_SESSION]=ubuntu-xorg
[22] = {KeyValuePairs} [LESSCLOSE]=/usr/bin/lesspipe %s %s
[23] = {KeyValuePairs} [KUBERNETES_SERVICE_PORT]=443
[24] = {KeyValuePairs} [GJS_DEBUG_TOPICS]=JS ERROR;JS LOG
[25] = {KeyValuePairs} [XAUTHORITY]=/run/user/1000/gdm/Xauthority
[26] = {KeyValuePairs} [TRAEFIK_PORT_80_TCP]=tcp://10.43.89.186:80
[27] = {KeyValuePairs} [SHELL]=/bin/bash
[28] = {KeyValuePairs} [TRAEFIK_SERVICE_PORT_WEBSECURE]=443
[29] = {KeyValuePairs} [CustomConsoleFormatter_MultiLine_Category_3]=Host.Startup
[30] = {KeyValuePairs} [SNAP_REAL_HOME]=/home/deyan
[31] = {KeyValuePairs} [GJS_DEBUG_OUTPUT]=stderr
[32] = {KeyValuePairs} [TRAEFIK_PORT_443_TCP_PROTO]=tcp
[33] = {KeyValuePairs} [AzureWebJobsStorage]=ANONYMIZED
[34] = {KeyValuePairs} [CustomTelemetryInitializer_Request_Success_StatusCode_Path_1]=500;health-check
[35] = {KeyValuePairs} [XDG_SESSION_CLASS]=user
[36] = {KeyValuePairs} [COMP_WORDBREAKS]= \t\n"'><=;|&(
[37] = {KeyValuePairs} [GNOME_SHELL_SESSION_MODE]=ubuntu
[38] = {KeyValuePairs} [LC_IDENTIFICATION]=en_DK.UTF-8
[39] = {KeyValuePairs} [KUBERNETES_PORT_443_TCP_ADDR]=10.43.0.1
[40] = {KeyValuePairs} [TRAEFIK_PORT_80_TCP_PROTO]=tcp
[41] = {KeyValuePairs} [TRAEFIK_SERVICE_PORT]=80
[42] = {KeyValuePairs} [XDG_DATA_DIRS]=/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
[43] = {KeyValuePairs} [DOTNET_VERSION]=7.0.4
[44] = {KeyValuePairs} [XXX_TEST_QRYH_HTTP_SERVICE_HOST]=10.43.92.124
[45] = {KeyValuePairs} [Logging__ApplicationInsights__LogLevel__Azure]=Warning
[46] = {KeyValuePairs} [TRAEFIK_SERVICE_HOST]=10.43.89.186
[47] = {KeyValuePairs} [ADX_MaxStartedDurationHours]=72
[48] = {KeyValuePairs} [Logging__LogLevel__Default]=Information
[49] = {KeyValuePairs} [TERMINATOR_UUID]=urn:uuid:8dbb35b4-620d-4887-8aff-665b0afcff45
[50] = {KeyValuePairs} [KUBERNETES_SERVICE_PORT_HTTPS]=443
[51] = {KeyValuePairs} [CustomTelemetryProcessor_Request_Exclude_ResultCode_Name_Success_2]=;EventProcessor.Process;
[52] = {KeyValuePairs} [GPG_AGENT_INFO]=/run/user/1000/gnupg/S.gpg-agent:0:1
[53] = {KeyValuePairs} [TERMINATOR_DBUS_NAME]=net.tenshu.Terminator23558193cd9818af7fe4d2c2f5bd9d00f
[54] = {KeyValuePairs} [LC_TELEPHONE]=en_DK.UTF-8
[55] = {KeyValuePairs} [MIRRORD_CONNECT_TCP]=127.0.0.1:46257
[56] = {KeyValuePairs} [LC_TIME]=en_DK.UTF-8
[57] = {KeyValuePairs} [CustomTelemetryProcessor_Trace_Exclude_Message_CustDimName_1]=Trigger Details;
[58] = {KeyValuePairs} [AZURE_CLIENT_ID]=ANONYMIZED
[59] = {KeyValuePairs} [GNOME_DESKTOP_SESSION_ID]=this-is-deprecated
[60] = {KeyValuePairs} [TRAEFIK_PORT_443_TCP_PORT]=443
[61] = {KeyValuePairs} [XDG_CURRENT_DESKTOP]=ubuntu:GNOME
[62] = {KeyValuePairs} [LESS]=-R
[63] = {KeyValuePairs} [CustomTelemetryProcessor_Request_Exclude_ResultCode_Name_Success_1]=200;readiness;
[64] = {KeyValuePairs} [SNAP_LIBRARY_PATH]=/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void
[65] = {KeyValuePairs} [INVOCATION_ID]=2c373a16d0ba4f8e947f20989beae074
[66] = {KeyValuePairs} [CustomTelemetryProcessor_Dependency_Exclude_Type_Name_Data_Success_2]=ANONYMIZED
[67] = {KeyValuePairs} [TRAEFIK_PORT_443_TCP_ADDR]=10.43.89.186
[68] = {KeyValuePairs} [ANDROID_HOME]=/home/deyan/Android/Sdk
[69] = {KeyValuePairs} [_NO_DEBUG_HEAP]=1
[70] = {KeyValuePairs} [Logging__LogLevel__Azure.Core]=Error
[71] = {KeyValuePairs} [HOME]=/home/deyan
[72] = {KeyValuePairs} [OSH]=/home/deyan/.oh-my-bash
[73] = {KeyValuePairs} [KUBERNETES_PORT_443_TCP_PROTO]=tcp
[74] = {KeyValuePairs} [SNAP_USER_COMMON]=/home/deyan/snap/rider/common
[75] = {KeyValuePairs} [StorageQueueConnection]=ANONYMIZED
[76] = {KeyValuePairs} [AZURE_TENANT_ID]=ANONYMIZED
[77] = {KeyValuePairs} [CustomTelemetryProcessor_Dependency_Exclude_Type_Name_Data_Success_3]=InProc | Microsoft.Storage;;;
[78] = {KeyValuePairs} [TRAEFIK_PORT_443_TCP]=tcp://10.43.89.186:443
[79] = {KeyValuePairs} [LC_PAPER]=en_DK.UTF-8
[80] = {KeyValuePairs} [CustomTelemetryInitializer_Request_Success_StatusCode_Path_2]=400,404,409,422;
[81] = {KeyValuePairs} [SSH_AGENT_LAUNCHER]=gnome-keyring
[82] = {KeyValuePairs} [USER]=deyan
[83] = {KeyValuePairs} [SNAP_VERSION]=2023.2.2
[84] = {KeyValuePairs} [HISTSIZE]=
[85] = {KeyValuePairs} [LC_ADDRESS]=en_DK.UTF-8
[86] = {KeyValuePairs} [KUBERNETES_PORT_443_TCP]=tcp://10.43.0.1:443
[87] = {KeyValuePairs} [GTK_MODULES]=gail:atk-bridge
[88] = {KeyValuePairs} [XXX_TEST_QRYH_HTTP_PORT_80_TCP]=tcp://10.43.92.124:80
[89] = {KeyValuePairs} [Logging__ApplicationInsights__LogLevel__Azure.Core]=Error
[90] = {KeyValuePairs} [SNAP_COMMON]=/var/snap/rider/common
[91] = {KeyValuePairs} [KUBERNETES_PORT]=tcp://10.43.0.1:443
[92] = {KeyValuePairs} [CustomTelemetryProcessor_Dependency_Exclude_Type_Name_Data_Success_4]=Azure queue;;;
[93] = {KeyValuePairs} [HISTIGNORE]=exit:ls:bg:fg:history:clear
[94] = {KeyValuePairs} [XDG_MENU_PREFIX]=gnome-
[95] = {KeyValuePairs} [LESSOPEN]=| /usr/bin/lesspipe %s
[96] = {KeyValuePairs} [CustomTelemetryProcessor_Trace_Exclude_Message_CustDimName_2]=Executing;
[97] = {KeyValuePairs} [TRAEFIK_PORT_80_TCP_ADDR]=10.43.89.186
[98] = {KeyValuePairs} [XDG_SESSION_DESKTOP]=ubuntu-xorg
[99] = {KeyValuePairs} [SYSTEMD_EXEC_PID]=7429
[100] = {KeyValuePairs} [SNAP_USER_DATA]=/home/deyan/snap/rider/408
[101] = {KeyValuePairs} [XXX_TEST_QRYH_HTTP_PORT]=tcp://10.43.92.124:80
[102] = {KeyValuePairs} [USERNAME]=deyan
[103] = {KeyValuePairs} [TRAEFIK_PORT]=tcp://10.43.89.186:80
[104] = {KeyValuePairs} [SNAP_NAME]=rider
[105] = {KeyValuePairs} [COLORTERM]=truecolor
[106] = {KeyValuePairs} [APPINSIGHTS_INSTRUMENTATIONKEY]=ANONYMIZED
[107] = {KeyValuePairs} [DISPLAY]=:1
[108] = {KeyValuePairs} [PAGER]=less
[109] = {KeyValuePairs} [Location_ApiPrefix]=/test-service/
[110] = {KeyValuePairs} [SNAP_ARCH]=amd64
[111] = {KeyValuePairs} [ADX_MaxStoppedDurationHours]=72
[112] = {KeyValuePairs} [WINDOWPATH]=2
[113] = {KeyValuePairs} [PATH]=/home/deyan/.krew/bin:/home/deyan/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/deyan/.dotnet/tools:/home/deyan/.local/bin:/home/deyan/Android/Sdk/emulator:/home/deyan/…
[114] = {KeyValuePairs} [CustomConsoleFormatter_Exclude_1]=/api/v1/readiness
[115] = {KeyValuePairs} [OLDPWD]=/home/deyan/gitw/Main/code
[116] = {KeyValuePairs} [HISTFILESIZE]=
[117] = {KeyValuePairs} [LSCOLORS]=Gxfxcxdxdxegedabagacad
[118] = {KeyValuePairs} [DOTNET_RUNNING_IN_CONTAINER]=true
[119] = {KeyValuePairs} [SSH_AUTH_SOCK]=/run/user/1000/keyring/ssh
[120] = {KeyValuePairs} [AzureDataExplorer_AppClientId]=ANONYMIZED
[121] = {KeyValuePairs} [ASPNETCORE_URLS]=http://*:7187/
[122] = {KeyValuePairs} [CustomConsoleFormatter_MultiLine_Category_1]=Microsoft.Azure.WebJobs.Hosting.OptionsLoggingService
[123] = {KeyValuePairs} [TERMINATOR_DBUS_PATH]=/net/tenshu/Terminator2
[124] = {KeyValuePairs} [LD_PRELOAD]=/tmp/2750839994432042582-libmirrord_layer.so
[125] = {KeyValuePairs} [CustomTelemetryProcessor_Dependency_Exclude_Type_Name_Data_Success_1]=Azure blob;;webjobs;
[126] = {KeyValuePairs} [MIRRORD_IGNORE_DEBUGGER_PORTS]=37935
[127] = {KeyValuePairs} [XDG_RUNTIME_DIR]=/run/user/1000
[128] = {KeyValuePairs} [XDG_CONFIG_DIRS]=/etc/xdg/xdg-ubuntu-xorg:/etc/xdg
[129] = {KeyValuePairs} [SNAP_INSTANCE_NAME]=rider
[130] = {KeyValuePairs} [PWD]=/home/deyan/gitw/Main/code/TestService
[131] = {KeyValuePairs} [TRAEFIK_SERVICE_PORT_WEB]=80
[132] = {KeyValuePairs} [MIRRORD_CONFIG_FILE]=/home/deyan/gitw/Main/code/TestService/.idea/.idea.TestService/.mirrord/mirrord.json
[133] = {KeyValuePairs} [MIRRORD_IMPERSONATED_TARGET]=pod/xxx-test-qryh-5c79575c56-2xkr4
[134] = {KeyValuePairs} [Logging__LogLevel__Azure]=Warning
[135] = {KeyValuePairs} [_]=/snap/bin/rider
[136] = {KeyValuePairs} [MANDATORY_PATH]=/usr/share/gconf/ubuntu-xorg.mandatory.path
[137] = {KeyValuePairs} [GIO_LAUNCHED_DESKTOP_FILE_PID]=10272
[138] = {KeyValuePairs} [XDG_SESSION_TYPE]=x11
[139] = {KeyValuePairs} [LC_MEASUREMENT]=en_DK.UTF-8
[140] = {KeyValuePairs} [GIO_LAUNCHED_DESKTOP_FILE]=/usr/share/applications/terminator.desktop
[141] = {KeyValuePairs} [XXX_TEST_QRYH_HTTP_PORT_80_TCP_PORT]=80
[142] = {KeyValuePairs} [LC_CTYPE]=en_US.UTF-8
[143] = {KeyValuePairs} [LANG]=en_US.UTF-8
[144] = {KeyValuePairs} [LS_COLORS]=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;3…
[145] = {KeyValuePairs} [ANDROID_SDK_ROOT]=/home/deyan/Android/Sdk
[146] = {KeyValuePairs} [MANAGERPID]=5327
[147] = {KeyValuePairs} [SNAP_REEXEC]=
[148] = {KeyValuePairs} [VTE_VERSION]=6800
[149] = {KeyValuePairs} [ADX_StartScheduleCrontab]=0 7 * * 1-5
[150] = {KeyValuePairs} [QT_ACCESSIBILITY]=1
[151] = {KeyValuePairs} [QT_IM_MODULE]=ibus
[152] = {KeyValuePairs} [GDMSESSION]=ubuntu-xorg
[153] = {KeyValuePairs} [XXX_TEST_QRYH_HTTP_PORT_80_TCP_ADDR]=10.43.92.124
[154] = {KeyValuePairs} [AzureDataExplorer_AppKey]=ANONYMIZED
[155] = {KeyValuePairs} [CustomConsoleFormatter_MultiLine_Category_2]=Host.Triggers.Timer
[156] = {KeyValuePairs} [DOTNET_ENVIRONMENT]=Development
[157] = {KeyValuePairs} [LC_MONETARY]=en_DK.UTF-8
[158] = {KeyValuePairs} [TRAEFIK_PORT_80_TCP_PORT]=80
[159] = {KeyValuePairs} [SNAP_COOKIE]=Ex7n76TC6c81CqBXa0Ai6lHhb_cOncl5JunpR4B_371kV5xxPeVV
[160] = {KeyValuePairs} [SESSION_MANAGER]=local/deyan-XPS-17-9700:@/tmp/.ICE-unix/7401,unix/deyan-XPS-17-9700:/tmp/.ICE-unix/7401
[161] = {KeyValuePairs} [GTK_IM_MODULE]=ibus
[162] = {KeyValuePairs} [IM_CONFIG_PHASE]=1
[163] = {KeyValuePairs} [TimeZoneName_CET]=Europe/Berlin
[164] = {KeyValuePairs} [ADX_StopScheduleCrontab]=0 18 * * 1-5
[165] = {KeyValuePairs} [IBUS_DISABLE_SNOOPER]=1
[166] = {KeyValuePairs} [KUBERNETES_PORT_443_TCP_PORT]=443
[167] = {KeyValuePairs} [AZURE_CLIENT_SECRET]=ANONYMIZED
[168] = {KeyValuePairs} [JOURNAL_STREAM]=8:63512
[169] = {KeyValuePairs} [HOSTNAME]=xxx-test-qryh-5c79575c56-2xkr4
[170] = {KeyValuePairs} [SNAP]=/snap/rider/408
[171] = {KeyValuePairs} [XXX_TEST_QRYH_HTTP_SERVICE_PORT]=80
[172] = {KeyValuePairs} [LOGNAME]=deyan
[173] = {KeyValuePairs} [Logging__LogLevel__Microsoft.AspNetCore.Routing.EndpointMiddleware]=Warning
[174] = {KeyValuePairs} [PAPERSIZE]=a4
[175] = {KeyValuePairs} [SNAP_REVISION]=408
[176] = {KeyValuePairs} [KUBERNETES_SERVICE_HOST]=10.43.0.1
The issue was launchSettings.json
of app in debug mode was on different port, leading to not receiving traffic.
Bug Description
Trying to debug a .NET application (F#) with mirrord plugin for Rider. Breakpoint is hit upon starting the debug session, but when an https call is made to the pod no breakpoint is hit.
If mirrord is started on the command line (against the same pod, and starting the same dotnet dll) breakpoints are hit when an https call to the pod is made.
Extract from Rider details:
JetBrains Rider 2023.2.2 Build #RD-232.9921.83, built on September 24, 2023 Runtime version: 17.0.8+7-b1000.22 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Linux 6.2.0-33-generic .NET Core v7.0.7 x64 (Server GC)
Non-Bundled Plugins: com.metalbear.mirrord (3.55.0)
Current Desktop: ubuntu:GNOME
Steps to Reproduce
Backtrace
No response
Relevant Logs
No response
Your operating system and version
Ubuntu 22.04
Local process
n/a
Local process version
No response
Additional Info
mirrord exec --target pod/c2d-test-qryh-54879dbd74-jrhzs dotnet bin/Debug/net7.0/TestService.QueryHandling.dll
works fine from the command line, breakpoints are hit when https call is made to the pod in k3d