gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.4k stars 547 forks source link

[Bug]: The network graph section is broken #2417

Closed rehanone closed 1 year ago

rehanone commented 1 year ago

Contact Details

netmaker@rehan.appaddy.uk

What happened?

The network graph section shows this error after the latest update:

Unexpected Application Error!
s is null

t@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:829:15571
X6e</<@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:829:41998
_b@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40:24270
th@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40:42395
tQ@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40:41215
Zu@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40:40262
GI@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40:36872
_u@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:38:3279
ea/<@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40:34250

Version

v0.20.2

What OS are you using?

Linux

Relevant log output

WebGL warning: <Create>: AllowWebgl2:false restricts context creation on this system. index-b9d9119e.js:829:16799
Failed to create WebGL context: WebGL creation failed: 
* AllowWebgl2:false restricts context creation on this system. () index-b9d9119e.js:829:16799
WebGL warning: <Create>: WebglAllowWindowsNativeGl:false restricts context creation on this system. index-b9d9119e.js:829:16830
Failed to create WebGL context: WebGL creation failed: 
* WebglAllowWindowsNativeGl:false restricts context creation on this system. ()
* Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS) index-b9d9119e.js:829:16830
WebGL warning: <Create>: WebglAllowWindowsNativeGl:false restricts context creation on this system. index-b9d9119e.js:829:16861
Failed to create WebGL context: WebGL creation failed: 
* WebglAllowWindowsNativeGl:false restricts context creation on this system. ()
* Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS) index-b9d9119e.js:829:16861
WebGL warning: <Create>: AllowWebgl2:false restricts context creation on this system. index-b9d9119e.js:829:16799
Failed to create WebGL context: WebGL creation failed: 
* AllowWebgl2:false restricts context creation on this system. () index-b9d9119e.js:829:16799
WebGL warning: <Create>: WebglAllowWindowsNativeGl:false restricts context creation on this system. index-b9d9119e.js:829:16830
Failed to create WebGL context: WebGL creation failed: 
* WebglAllowWindowsNativeGl:false restricts context creation on this system. ()
* Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS) index-b9d9119e.js:829:16830
WebGL warning: <Create>: WebglAllowWindowsNativeGl:false restricts context creation on this system. index-b9d9119e.js:829:16861
Failed to create WebGL context: WebGL creation failed: 
* WebglAllowWindowsNativeGl:false restricts context creation on this system. ()
* Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS) index-b9d9119e.js:829:16861
WebGL warning: <Create>: AllowWebgl2:false restricts context creation on this system. index-b9d9119e.js:829:16799
Failed to create WebGL context: WebGL creation failed: 
* AllowWebgl2:false restricts context creation on this system. () index-b9d9119e.js:829:16799
WebGL warning: <Create>: WebglAllowWindowsNativeGl:false restricts context creation on this system. index-b9d9119e.js:829:16830
Failed to create WebGL context: WebGL creation failed: 
* WebglAllowWindowsNativeGl:false restricts context creation on this system. ()
* Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS) index-b9d9119e.js:829:16830
WebGL warning: <Create>: WebglAllowWindowsNativeGl:false restricts context creation on this system. index-b9d9119e.js:829:16861
Failed to create WebGL context: WebGL creation failed: 
* WebglAllowWindowsNativeGl:false restricts context creation on this system. ()
* Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS) index-b9d9119e.js:829:16861
TypeError: s is null
    t https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:829
    X6e https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:829
    _b https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    th https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    tQ https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    Zu https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    GI https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    _u https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:38
    ea https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    ea https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    ks https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    LZ https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:38
    a https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:159
    S https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:161
    n https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:161
    ge https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:338
    onClick https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:338
    C https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:338
    onClick https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:338
    xq https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    Sq https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    Cq https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    vI https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    gj https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    WS https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    u3 https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    zM https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    WS https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    L4 https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    Fq https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
index-b9d9119e.js:40:161
React Router caught the following error during render TypeError: s is null
    t https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:829
    X6e https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:829
    _b https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    th https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    tQ https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    Zu https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    GI https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    _u https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:38
    ea https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    ea https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    ks https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    LZ https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:38
    a https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:159
    S https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:161
    n https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:161
    ge https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:338
    onClick https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:338
    C https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:338
    onClick https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:338
    xq https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    Sq https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    Cq https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    vI https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    gj https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    WS https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    u3 https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    zM https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    WS https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    L4 https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    Fq https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37

Object { componentStack: "\nX6e<@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:829:41667\ndiv\nwhe<@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:355:6610\ndiv\nChe<@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:355:8528\ndiv\ndiv\nuL<@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:338:6506\nn@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:159:9234\nfne/r<@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:159:9503\ndiv\ndiv\nzde@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:338:6886\ndiv\nnfe@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:338:21119\nPu@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:340:8113\ndiv\nwhe<@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:355:6610\ndiv\nChe<@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:355:8528\nnp@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:338:5035\nmain\nlO<@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:233:8736\nvx/</<@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:233:8539\nt8e@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:838:3748\nBl@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:838:60445\nhCe@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:542:4291\nwCe@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:542:6772\nmain\nlO<@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:233:8736\nvx/</<@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:233:8539\nsection\nQse<@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:233:8933\nvx/</<@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:233:8539\nsection\nQse<@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:233:8933\nvx/</<@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:233:8539\nb4e@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:573:41746\nhCe@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:542:4291\nfCe@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:542:3683\nECe@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:542:7425\nCCe@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:542:6928\nbCe@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:542:5890\nLte@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:105:2010\nWee@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:65:46718\nQb\ndiv\nv8e@https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:838:95985" }
index-b9d9119e.js:542:3970
    componentDidCatch https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:542
    callback https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    _I https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:38
    WI https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    uk https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    qZ https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    tQ https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    Zu https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    GI https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    _u https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:38
    ea https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    (Async: VoidFunction)
    ea https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    ks https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    LZ https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:38
    a https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:159
    S https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:161
    n https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:161
    ge https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:338
    onClick https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:338
    C https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:338
    onClick https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:338
    xq https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    Sq https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    Cq https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    vI https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    gj https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    WS https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    u3 https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:40
    zM https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    WS https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    L4 https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37
    Fq https://dashboard.netmaker.example.com/assets/index-b9d9119e.js:37

​

Contributing guidelines

Aceix commented 1 year ago

this bug is due to an edge case. needs fixing

Aceix commented 1 year ago

this bug is due to an adge case. needs fixing

Aceix commented 1 year ago

@rehanone can you reproduce this?

rehanone commented 1 year ago

@Aceix I can no longer replicate it under v0.20.3.