gravitl / netmaker-ui-2 Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
s is null
t@https://[redacted]/assets/index-1ddff8c4.js:832:15556
w5e</cNe</<@https://[redacted]/assets/index-1ddff8c4.js:832:41983
Pb@https://[redacted]/assets/index-1ddff8c4.js:40:24283
nh@https://[redacted]/assets/index-1ddff8c4.js:40:42408
BQ@https://[redacted]/assets/index-1ddff8c4.js:40:41228
nd@https://[redacted]/assets/index-1ddff8c4.js:40:40275
cT@https://[redacted]/assets/index-1ddff8c4.js:40:36885
ku@https://[redacted]/assets/index-1ddff8c4.js:38:3279
oa/<@https://[redacted]/assets/index-1ddff8c4.js:40:34263
I cannot track this one down, but it does happen when I click on a graph, then the network tab.
I suggest shipping source-maps in your production builds so these errors can be tracked down more effectively.
Describe what happened...
Error log:
NotFoundGraphError: Graph.addEdge: target node "5fd04cc5-955e-4f39-be65-d3434245ce1c" not found. { "componentStack": "\n at gRe (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:880:64372)\n at div\n at https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:880:41675\n at div\n at https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:394:7030\n at div\n at https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:394:9006\n at div\n at div\n at https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:377:5627\n at n (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:94:1085)\n at https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:94:5784\n at div\n at div\n at Fpe (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:377:6007)\n at div\n at nme (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:377:20342)\n at EA (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:379:8622)\n at div\n at https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:394:7030\n at div\n at https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:394:9006\n at Ip (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:377:4462)\n at main\n at https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:230:67254\n at L8e (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:889:17925)\n at _Ce (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:592:3878)\n at ACe (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:592:7404)\n at main\n at https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:230:67254\n at section\n at https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:230:67554\n at section\n at https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:230:67554\n at Cw (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:624:277)\n at H4e (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:624:7309)\n at _Ce (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:592:3878)\n at OCe (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:592:3142)\n at DCe (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:592:7053)\n at FCe (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:592:7442)\n at kCe (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:592:6203)\n at aee (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:94:9638)\n at mee (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:94:10901)\n at pp (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:94:13907)\n at div\n at Z8e (https://app.netmaker.io/v0.20.5/assets/index-46330ac4.js:889:115640)" }
Describe what happened...
Error log:
NotFoundGraphError: Graph.addEdge: target node "997cfd9a-daaf-4559-ad0a-d37d44d87689" not found. { "componentStack": "\n at fRe (https://dashboard.vp.benzona.org/assets/index-559417fc.js:880:64372)\n at div\n at https://dashboard.vp.benzona.org/assets/index-559417fc.js:880:41675\n at div\n at https://dashboard.vp.benzona.org/assets/index-559417fc.js:394:7030\n at div\n at https://dashboard.vp.benzona.org/assets/index-559417fc.js:394:9006\n at div\n at div\n at https://dashboard.vp.benzona.org/assets/index-559417fc.js:377:5627\n at n (https://dashboard.vp.benzona.org/assets/index-559417fc.js:94:1085)\n at https://dashboard.vp.benzona.org/assets/index-559417fc.js:94:5784\n at div\n at div\n at kpe (https://dashboard.vp.benzona.org/assets/index-559417fc.js:377:6007)\n at div\n at Qpe (https://dashboard.vp.benzona.org/assets/index-559417fc.js:377:20342)\n at S7 (https://dashboard.vp.benzona.org/assets/index-559417fc.js:379:8622)\n at div\n at https://dashboard.vp.benzona.org/assets/index-559417fc.js:394:7030\n at div\n at https://dashboard.vp.benzona.org/assets/index-559417fc.js:394:9006\n at _p (https://dashboard.vp.benzona.org/assets/index-559417fc.js:377:4462)\n at main\n at https://dashboard.vp.benzona.org/assets/index-559417fc.js:230:67254\n at M8e (https://dashboard.vp.benzona.org/assets/index-559417fc.js:889:17925)\n at sc (https://dashboard.vp.benzona.org/assets/index-559417fc.js:889:79232)\n at CCe (https://dashboard.vp.benzona.org/assets/index-559417fc.js:592:3878)\n at jCe (https://dashboard.vp.benzona.org/assets/index-559417fc.js:592:7404)\n at main\n at https://dashboard.vp.benzona.org/assets/index-559417fc.js:230:67254\n at section\n at https://dashboard.vp.benzona.org/assets/index-559417fc.js:230:67554\n at section\n at https://dashboard.vp.benzona.org/assets/index-559417fc.js:230:67554\n at Fv (https://dashboard.vp.benzona.org/assets/index-559417fc.js:624:269)\n at A4e (https://dashboard.vp.benzona.org/assets/index-559417fc.js:624:28493)\n at CCe (https://dashboard.vp.benzona.org/assets/index-559417fc.js:592:3878)\n at SCe (https://dashboard.vp.benzona.org/assets/index-559417fc.js:592:3142)\n at PCe (https://dashboard.vp.benzona.org/assets/index-559417fc.js:592:7053)\n at kCe (https://dashboard.vp.benzona.org/assets/index-559417fc.js:592:7442)\n at TCe (https://dashboard.vp.benzona.org/assets/index-559417fc.js:592:6203)\n at nee (https://dashboard.vp.benzona.org/assets/index-559417fc.js:94:9630)\n at dee (https://dashboard.vp.benzona.org/assets/index-559417fc.js:94:10893)\n at fp (https://dashboard.vp.benzona.org/assets/index-559417fc.js:94:13899)\n at div\n at q8e (https://dashboard.vp.benzona.org/assets/index-559417fc.js:889:115580)" }
Hi, it´s posible to hide "Hosts" from different networks on dashboard?. I have two (networks/keys/normal users), everyone see only network and key but all "Hosts" from both networks.
UI: v0.20.1
Server: v0.20.1
Thanks!
I believe I was viewing the network interfaces on an unhealth host when it happened.
r.nodes.filter is not a function
U$e/C<@https://[redacted]/assets/index-1ddff8c4.js:583:4923
U$e@https://[redacted]/assets/index-1ddff8c4.js:583:11334
pO@https://[redacted]/assets/index-1ddff8c4.js:38:19538
zD@https://[redacted]/assets/index-1ddff8c4.js:40:44055
AD@https://[redacted]/assets/index-1ddff8c4.js:40:39789
HQ@https://[redacted]/assets/index-1ddff8c4.js:40:39717
x1@https://[redacted]/assets/index-1ddff8c4.js:40:39568
pE@https://[redacted]/assets/index-1ddff8c4.js:40:35933
cT@https://[redacted]/assets/index-1ddff8c4.js:40:36737
ku@https://[redacted]/assets/index-1ddff8c4.js:38:3279
oa/<@https://[redacted]/assets/index-1ddff8c4.js:40:34263
It seems there are a few places this could be: https://github.com/search?q=repo%3Agravitl%2Fnetmaker-ui-2%20.nodes.filter&type=code
I recommend replacing lines like
withconst nodeCount = store.nodes?.filter((node) => node.network === network.netid).length ?? 0;
Not a big deal but in my opinion a security focused application should not be making requests to uncontrolled 3rd parties. This images sources should be served from the dashboard's included assets.
netmaker-ui-2/src/layouts/MainLayout.tsx
Lines 229 to 234 in 5765dc8
Describe what happened...
Error log:
TypeError: s is null { "componentStack": "\nS_e<@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:780:41667\ndiv\nwhe<@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:344:7095\ndiv\nChe<@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:344:8983\ndiv\ndiv\nv7<@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:327:6571\nn@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:94:7616\nnee/r<@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:94:12301\ndiv\ndiv\nGde@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:327:6951\ndiv\ndfe@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:327:21676\nS7@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:329:8898\ndiv\nwhe<@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:344:7095\ndiv\nChe<@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:344:8983\nsp@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:327:5123\nmain\nr3<@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:378:46682\nDTe@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:780:100168\nwCe@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:479:3900\nPCe@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:479:7402\nmain\nr3<@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:378:46682\ndiv\nQge<@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:378:46945\ndiv\nQge<@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:378:46945\nDx@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:524:277\nWIe@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:524:5775\nwCe@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:479:3900\nxCe@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:479:3142\n_Ce@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:479:7064\njCe@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:479:7524\nNCe@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:479:6224\ncee@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:94:16228\nvee@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:94:18029\nYh@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:94:20815\ndiv\nl5e@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:780:249578\ni5e@https://dashboard.netmaker.chuk.dev/assets/index-4c1d51e2.js:780:246632" }
Describe what happened...Error log:TypeError: host.endpointip.my is not a function { "componentStack": "\n at HostDetailsPage (http://localhost:5173/src/pages/hosts/HostDetailsPage.tsx?t=1689641681815:35:7)\n at ProtectedRoute (http://localhost:5173/src/components/ProtectedRoute.tsx?t=1689641681815:21:3)\n at RenderedRoute (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3265:5)\n at Outlet (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3658:26)\n at main\n at http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:26116:16\n at Content\n at section\n at http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:26135:16\n at Layout\n at section\n at http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:26135:16\n at Layout\n at AppErrorBoundary (http://localhost:5173/src/components/AppErrorBoundary.tsx?t=1689641681815:6:5)\n at MainLayout (http://localhost:5173/src/layouts/MainLayout.tsx?t=1689641681815:47:13)\n at RenderedRoute (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3265:5)\n at RenderErrorBoundary (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3225:5)\n at DataRoutes (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3586:5)\n at Router (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3665:15)\n at RouterProvider (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3535:5)\n at MotionWrapper (http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:4502:5)\n at ProviderChildren (http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:4610:5)\n at ConfigProvider (http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:4830:27)\n at div\n at App (http://localhost:5173/src/App.tsx?t=1689641681815:31:17)" }
Currently the modal for DNS entries has a regex allowing only 2 to 6 characters in the TLD of an entry (regexline). This is not a validation that is made on the API itself, only on the frontend.
Based on the tld list maintained by IANA (which i got from ICANN) a TLD currently can have up to 24 characters and has P99 of ~15.48.
Currently i can't manage some of my domains (which are using the .service TLD) via the UI because of that. Can this regex be altered to a value that allow those longer TLDs or even up to 63 characters as per RFC-1123?
Describe what happened...
Error log:
TypeError: host.endpointip.my is not a function { "componentStack": "\n at HostDetailsPage (http://localhost:5173/src/pages/hosts/HostDetailsPage.tsx?t=1689641906175:35:7)\n at ProtectedRoute (http://localhost:5173/src/components/ProtectedRoute.tsx?t=1689641906175:21:3)\n at RenderedRoute (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3265:5)\n at Outlet (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3658:26)\n at main\n at http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:26116:16\n at Content\n at section\n at http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:26135:16\n at Layout\n at section\n at http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:26135:16\n at Layout\n at AppErrorBoundary (http://localhost:5173/src/components/AppErrorBoundary.tsx?t=1689641906175:6:5)\n at MainLayout (http://localhost:5173/src/layouts/MainLayout.tsx?t=1689641906175:47:13)\n at RenderedRoute (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3265:5)\n at RenderErrorBoundary (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3225:5)\n at DataRoutes (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3586:5)\n at Router (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3665:15)\n at RouterProvider (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3535:5)\n at MotionWrapper (http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:4502:5)\n at ProviderChildren (http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:4610:5)\n at ConfigProvider (http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:4830:27)\n at div\n at App (http://localhost:5173/src/App.tsx?t=1689641862603:31:17)" }
Describe what happened...
Error log:
TypeError: host.endpointip.my is not a function { "componentStack": "\n at HostDetailsPage (http://localhost:5173/src/pages/hosts/HostDetailsPage.tsx?t=1689641785691:35:7)\n at ProtectedRoute (http://localhost:5173/src/components/ProtectedRoute.tsx?t=1689641785691:21:3)\n at RenderedRoute (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3265:5)\n at Outlet (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3658:26)\n at main\n at http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:26116:16\n at Content\n at section\n at http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:26135:16\n at Layout\n at section\n at http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:26135:16\n at Layout\n at AppErrorBoundary (http://localhost:5173/src/components/AppErrorBoundary.tsx?t=1689641785691:6:5)\n at MainLayout (http://localhost:5173/src/layouts/MainLayout.tsx?t=1689641785691:47:13)\n at RenderedRoute (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3265:5)\n at RenderErrorBoundary (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3225:5)\n at DataRoutes (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3586:5)\n at Router (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3665:15)\n at RouterProvider (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=e14ac2c2:3535:5)\n at MotionWrapper (http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:4502:5)\n at ProviderChildren (http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:4610:5)\n at ConfigProvider (http://localhost:5173/node_modules/.vite/deps/antd.js?v=7d20e926:4830:27)\n at div\n at App (http://localhost:5173/src/App.tsx?t=1689641785691:31:17)" }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.