[bug] Network Monitor Not Working when using VPN (Cisco)
chigarow opened this issue Β· comments
Make sure there's no open issue for the same bug before submit.
Describe the Bug
I. Precondition:
- Eul Menu Bar display Network only
II. How to Reproduce:
- Connect VPN to any server on Cisco AnyConnect
- Check on Eul Menu Bar, the network always show 0 KB/s for upload and download
Expected Behavior
The network monitor should show the speed of upload and download, because some apps are working with the network.
Screenshots
Context
- eul version: 1.5.16
- macOS version: 10.15.7
- Device model: MacBook Pro 2019 (16-inch)
Debug Output
βοΈ loaded data from user defaults preference {
"checkStatusItemVisibility" : false,
"showCPUTopActivities" : true,
"cpuMenuDisplay" : "usagePercentage",
"language" : "en",
"showIcon" : true,
"smcRefreshRate" : 3,
"appearance" : "auto",
"temperatureUnit" : "celius",
"textDisplay" : "compact",
"upgradeMethod" : "showInStatusBar",
"fontDesign" : "default",
"showNetworkTopActivities" : true,
"networkRefreshRate" : 1,
"showRAMTopActivities" : true
}
π battery info 100 100 0 0 true false good acPower
π battery info 100 100 0 0 true false good acPower
βοΈ loaded data from user defaults EulComponent {
"availableComponents" : [
"GPU",
"Disk"
],
"showComponents" : true,
"activeComponents" : [
"CPU",
"Memory",
"Fan",
"Network",
"Battery"
]
}
βοΈ loaded data from user defaults EulMenuComponent {
"availableComponents" : [
"Disk",
"Bluetooth"
],
"activeComponents" : [
"CPU",
"GPU",
"Fan",
"Memory",
"Network",
"Battery"
],
"showComponents" : true
}
shell with ["system_profiler SPDisplaysDataType -xml"]
shell with ["route get 0.0.0.0 | grep interface | awk \'{print $2}\'"]
π statistics ["Device Utilization % at cur p-state": 2, "orphanedNonReusableVidMemoryCount": 0, "finish2DWaitTime": 0, "surfaceCopyOutWaitTime": 0, "surfaceCopyInWaitTime": 0, "orphanedReusableVidMemoryHitRate": 0, "orphanedReusableSysMemoryCount": 1899, "surfaceBufferPageInBytes": 0, "context2DCount": 1, "bufferSwapCount": 0, "dataBytesPerSample": 0, "Device Unit 2 Utilization %": 0, "bufferFlipCount": 0, "stdTexturePageInBytes": 0, "orphanedNonReusableSysMemoryBytes": 0, "oolTextureCreationCount": 0, "vramEvictionWaitTime": 0, "clientSharedAllocatedBytes": 3981312, "gartMapInBytesPerSample": 0, "orphanedReusableSysMemoryBytes": 2710261760, "gartSizeBytes": 7516192768, "hardwareSubmitWaitTime": 0, "textureReadOutBytes": 0, "orphanedReusableSysMemoryHitRate": 19, "surfaceBufferPageOutBytes": 0, "gartFreeBytes": 5965692928, "surfaceSetShapeIdleWaitTime": 0, "ioSurfaceReadOutBytes": 0, "finishGLWaitTime": 0, "contextCLCount": 0, "ioSurfacePageInBytes": 0, "freeDataBufferWaitTime": 0, "Device Unit 3 Utilization %": 0, "recoveryCount": 0, "volatileSurfaceCount": 0, "finishVideoWaitTime": 0, "swapComplete2DWaitTime": 0, "stdTextureCreationCount": 0, "textureCount": 8557, "orphanedNonReusableVidMemoryBytes": 0, "stdTextureCreationBytes": 0, "iosurfaceTextureCreationBytes": 0, "gartMapOutBytesPerSample": 0, "surfaceCount": 15, "iosurfaceTextureCreationCount": 0, "textureVolunteerUnloadBytes": 0, "agpTextureCreationBytes": 4194304, "agprefTextureCreationCount": 0, "contextVideoCount": 6, "inUseSysMemoryBytes": -1159761920, "contextGLCount": 7, "freeSurfaceSwapBufferWaitTime": 0, "swapBytesPerSample": 0, "orphanedReusableVidMemoryBytes": 0, "clientGLWaitTime": 0, "freeToAllocGPUAddressWaitTime": 0, "surfaceBufferReadOutBytes": 0, "dataBufferCount": 0, "Device Unit 0 Utilization %": 2, "gartUsedBytes": 1550499840, "hardwareWaitTime": 0, "surfaceTextureCreationCount": 0, "gartCacheBytes": 268435456, "surfaceReadLockIdleWaitTime": 0, "swapCompleteGLWaitTime": 0, "agpTextureCreationCount": 2, "agprefTextureCreationBytes": 0, "finishAll2DWaitTime": 0, "oolTexturePageInBytes": 0, "Device Unit 1 Utilization %": 0, "oolTextureCreationBytes": 0, "surfaceWriteLockIdleWaitTime": 0, "surfaceBufferTextureCreationCount": 0, "orphanedReusableVidMemoryCount": 0, "orphanedNonReusableSysMemoryCount": 0, "texturePageOutBytes": 0, "swapCompleteVideoWaitTime": 0, "inUseVidMemoryBytes": 0, "finishCLWaitTime": 0, "ioSurfacePageOutBytes": 0, "Device Utilization %": 0, "freeSurfaceBackingWaitTime": 0]
shell with ["netstat -bI utun2"]
βοΈ loaded data from user defaults componentConfig {
"converted" : true,
"configs" : [
{
"diskSelection" : "",
"showGraph" : false,
"showIcon" : false,
"component" : "CPU"
},
{
"diskSelection" : "",
"showGraph" : false,
"showIcon" : false,
"component" : "Fan"
},
{
"diskSelection" : "",
"showGraph" : false,
"showIcon" : false,
"component" : "Network"
},
{
"diskSelection" : "",
"showGraph" : false,
"showIcon" : false,
"component" : "Battery"
},
{
"diskSelection" : "",
"showGraph" : false,
"showIcon" : false,
"component" : "Memory"
},
{
"diskSelection" : "",
"showGraph" : false,
"showIcon" : false,
"component" : "GPU"
},
{
"diskSelection" : "",
"showGraph" : false,
"showIcon" : false,
"component" : "Disk"
}
]
}
βοΈ loaded data from user defaults CpuTextComponent {
"availableComponents" : [
"loadAverage1Min",
"loadAverage5Min",
"loadAverage15Min"
],
"showComponents" : false,
"activeComponents" : [
"usagePercentage",
"temperature"
]
}
βοΈ loaded data from user defaults GpuTextComponent {
"showComponents" : false,
"availableComponents" : [
"temperature"
],
"activeComponents" : [
"usagePercentage"
]
}
βοΈ loaded data from user defaults MemoryTextComponent {
"showComponents" : false,
"availableComponents" : [
"total",
"usagePercentage",
"temperature"
],
"activeComponents" : [
"free",
"usage"
]
}
βοΈ loaded data from user defaults NetworkTextComponent {
"activeComponents" : [
"upload",
"download"
],
"availableComponents" : [
],
"showComponents" : true
}
βοΈ loaded data from user defaults BatteryTextComponent {
"showComponents" : false,
"availableComponents" : [
"mah",
"timeRemaining"
],
"activeComponents" : [
"percentage"
]
}
βοΈ loaded data from user defaults DiskTextComponent {
"showComponents" : false,
"availableComponents" : [
"total",
"usagePercentage"
],
"activeComponents" : [
"free",
"usage"
]
}
βοΈ loaded data from user defaults FanTextComponent {
"showComponents" : false,
"availableComponents" : [
{
"id" : -1
}
],
"activeComponents" : [
{
"id" : 0
},
{
"id" : 1
}
]
}
π battery info 100 100 0 0 true false good acPower
π statistics ["Device Unit 0 Utilization %": 43, "dataBufferCount": 0, "orphanedReusableSysMemoryHitRate": 19, "contextCLCount": 0, "agprefTextureCreationCount": 0, "Device Unit 3 Utilization %": 0, "contextGLCount": 7, "orphanedNonReusableVidMemoryCount": 0, "context2DCount": 1, "surfaceCopyOutWaitTime": 0, "textureCount": 8503, "orphanedReusableVidMemoryBytes": 0, "surfaceCount": 15, "bufferFlipCount": 0, "oolTextureCreationBytes": 63561728, "recoveryCount": 0, "orphanedReusableSysMemoryBytes": 2708148224, "dataBytesPerSample": 0, "inUseVidMemoryBytes": 0, "ioSurfacePageInBytes": 0, "swapBytesPerSample": 0, "gartMapOutBytesPerSample": 0, "orphanedReusableSysMemoryCount": 1897, "surfaceBufferTextureCreationCount": 0, "orphanedReusableVidMemoryHitRate": 0, "Device Utilization %": 15, "finish2DWaitTime": 0, "hardwareWaitTime": 0, "volatileSurfaceCount": 0, "texturePageOutBytes": 0, "surfaceTextureCreationCount": 0, "swapComplete2DWaitTime": 0, "surfaceBufferPageOutBytes": 0, "gartSizeBytes": 7516192768, "oolTextureCreationCount": 6, "iosurfaceTextureCreationBytes": 0, "iosurfaceTextureCreationCount": 0, "agprefTextureCreationBytes": 0, "oolTexturePageInBytes": 127541248, "finishVideoWaitTime": 0, "swapCompleteGLWaitTime": 0, "Device Unit 2 Utilization %": 0, "inUseSysMemoryBytes": -1154310144, "freeDataBufferWaitTime": 0, "Device Unit 1 Utilization %": 8, "Device Utilization % at cur p-state": 52, "finishGLWaitTime": 0, "orphanedNonReusableSysMemoryBytes": 0, "hardwareSubmitWaitTime": 0, "surfaceWriteLockIdleWaitTime": 0, "gartMapInBytesPerSample": 0, "gartUsedBytes": 1553838080, "freeToAllocGPUAddressWaitTime": 0, "surfaceBufferPageInBytes": 0, "surfaceSetShapeIdleWaitTime": 0, "stdTextureCreationCount": 0, "agpTextureCreationCount": 4, "finishCLWaitTime": 0, "freeSurfaceBackingWaitTime": 0, "freeSurfaceSwapBufferWaitTime": 0, "surfaceReadLockIdleWaitTime": 0, "agpTextureCreationBytes": 172032, "orphanedNonReusableSysMemoryCount": 0, "clientGLWaitTime": 0, "orphanedNonReusableVidMemoryBytes": 0, "gartCacheBytes": 268435456, "stdTextureCreationBytes": 0, "bufferSwapCount": 0, "ioSurfaceReadOutBytes": 0, "surfaceCopyInWaitTime": 0, "surfaceBufferReadOutBytes": 0, "stdTexturePageInBytes": 0, "gartFreeBytes": 5962354688, "ioSurfacePageOutBytes": 0, "swapCompleteVideoWaitTime": 0, "textureVolunteerUnloadBytes": 0, "orphanedReusableVidMemoryCount": 0, "clientSharedAllocatedBytes": 3981312, "vramEvictionWaitTime": 0, "contextVideoCount": 6, "textureReadOutBytes": 0, "finishAll2DWaitTime": 0]
shell with ["route get 0.0.0.0 | grep interface | awk \'{print $2}\'"]
shell with ["netstat -bI utun2"]
π΅π¦· state update 4
shell with ["route get 0.0.0.0 | grep interface | awk \'{print $2}\'"]
shell with ["netstat -bI utun2"]
shell with ["route get 0.0.0.0 | grep interface | awk \'{print $2}\'"]
shell with ["netstat -bI utun2"]
Is Related to a Crash?
No
thanks, taking a look now
oh this one may take one little bit more time - need to switch to another laptop to test under VPN. give me 2-3 more days
take ur time @gao-sun , really appriciate your work
thankyouuu
finally found a solution and i'm working on it. should be available tmw.
waaw thanks a lot!! @gao-sun
please try the latest release (v1.5.20, homebrew pr Homebrew/homebrew-cask#106636). should be good now. lmk if it doesn't work
Seems like it selects lo0
if you don't have the VPN. Which gives 0KB/s most of the time.
hello @gao-sun
it works perfectly now with the latest version
can close this issue
thankyouuu!!
glad it works!
@xeron i changed the way of active interface detection. maybe it causes another issue in your case. Will take a look tonight.
Actually I can't reproduce this anymore⦠somehow it's fixed now and seems like it's using en0
.