Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Network Monitor Not Working when using VPN (Cisco) #198

Closed
chigarow opened this issue Apr 21, 2021 · 12 comments
Closed

[bug] Network Monitor Not Working when using VPN (Cisco) #198

chigarow opened this issue Apr 21, 2021 · 12 comments
Labels
bug Something isn't working

Comments

@chigarow
Copy link

chigarow commented Apr 21, 2021

Make sure there's no open issue for the same bug before submit.

Describe the Bug
I. Precondition:

  1. Eul Menu Bar display Network only

II. How to Reproduce:

  1. Connect VPN to any server on Cisco AnyConnect
  2. 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

image

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

@gao-sun
Copy link
Owner

gao-sun commented Apr 24, 2021

thanks, taking a look now

@gao-sun
Copy link
Owner

gao-sun commented Apr 24, 2021

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

@gao-sun gao-sun added the bug Something isn't working label Apr 24, 2021
@chigarow
Copy link
Author

chigarow commented Apr 24, 2021

take ur time @gao-sun , really appriciate your work
thankyouuu

@gao-sun
Copy link
Owner

gao-sun commented May 30, 2021

finally found a solution and i'm working on it. should be available tmw.

@chigarow
Copy link
Author

waaw thanks a lot!! @gao-sun

@gao-sun
Copy link
Owner

gao-sun commented May 31, 2021

please try the latest release (v1.5.20, homebrew pr Homebrew/homebrew-cask#106636). should be good now. lmk if it doesn't work

@xeron
Copy link

xeron commented Jun 1, 2021

Seems like it selects lo0 if you don't have the VPN. Which gives 0KB/s most of the time.

@chigarow
Copy link
Author

chigarow commented Jun 2, 2021

hello @gao-sun
it works perfectly now with the latest version
can close this issue

thankyouuu!!

@gao-sun
Copy link
Owner

gao-sun commented Jun 2, 2021

glad it works!

@gao-sun
Copy link
Owner

gao-sun commented Jun 2, 2021

@xeron i changed the way of active interface detection. maybe it causes another issue in your case. Will take a look tonight.

@xeron
Copy link

xeron commented Jun 2, 2021

Actually I can't reproduce this anymore… somehow it's fixed now and seems like it's using en0.

@gao-sun
Copy link
Owner

gao-sun commented Jun 9, 2021

@xeron glad to hear. i'll close this one then. feel free to re-open if you can reproduce

@gao-sun gao-sun closed this as completed Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants