Closed mcondarelli closed 5 years ago
Hi, it looks much like this issue... have you followed this ticket? https://github.com/key-networks/ztncui/issues/7
Hi, I had seen that, but:
https://zt1:3001/controller/network/7122698ebdeb0534
:
mcon@zt1:~$ curl -H "X-ZT1-Auth:$(sudo cat /var/lib/zerotier-one/authtoken.secret)" http://localhost:9993/controller/network/7122698ebdeb0534
{
"authTokens": [
null
],
"capabilities": [],
"creationTime": 1551951576417,
"enableBroadcast": true,
"id": "7122698ebdeb0534",
"ipAssignmentPools": [
{
"ipRangeEnd": "192.168.200.253",
"ipRangeStart": "192.168.200.2"
}
],
"mtu": 2800,
"multicastLimit": 32,
"name": "TestNet",
"nwid": "7122698ebdeb0534",
"objtype": "network",
"private": true,
"remoteTraceLevel": 0,
"remoteTraceTarget": null,
"revision": 5,
"routes": [
{
"target": "192.168.200.0/24",
"via": null
}
],
"rules": [
{
"type": "ACTION_ACCEPT"
}
],
"tags": [],
"v4AssignMode": {
"zt": false
},
"v6AssignMode": {
"6plane": false,
"rfc4193": false,
"zt": false
}
}mcon@zt1:~$
GET /bscss/bootstrap.min.css 304 2.089 ms - -
GET /stylesheets/style.css 304 3.851 ms - -
GET /bsjs/bootstrap.min.js 304 4.286 ms - -
GET /images/key-logo.svg 304 0.659 ms - -
POST /controller/network/create 302 2.780 ms - 84
GET /controller/networks 200 28.175 ms - 2597
GET /bscss/bootstrap.min.css 304 1.838 ms - -
GET /stylesheets/style.css 304 1.117 ms - -
GET /bsjs/bootstrap.min.js 304 1.844 ms - -
GET /images/key-logo.svg 304 0.419 ms - -
TypeError: /home/mcon/Projects/ztncui/src/views/controller_layout.pug:21
19| .collapse.navbar-collapse(id='BarNav')
20| ul.nav.navbar-nav
> 21| li(class=(nav.active === 'controller_home'? 'active' : ''))
22| a(href='/controller') Home
23| li(class=(nav.active === 'users'? 'active' : ''))
24| a(href='/users') Users
Cannot read property 'active' of undefined
at eval (eval at wrap (/home/mcon/Projects/ztncui/src/node_modules/pug-runtime/wrap.js:6:10),
- I also installed `elinks` locally on VM running ztncui and accessed it locally, with identical results.
- Of course ZT1 controller won't answer to external address, but locally it seems to work OK.
Are You suggesting I install from .deb?
I did not see any really useful advice in #7
I am available to perform any needed test.
Many Thanks in Advance
Try Zerotier-one 1.2.12 installed as per https://zerotier.com/download.shtml and ztncui installed as per https://key-networks.com/ztncui/#installation
Hi, trying to access network details (e.g.:
https://zt1:3001/controller/network/7122698ebdeb0534
) I consistently get the following error:my javascript proficiency is way too low to attempt fixing, but I'm available for further testing, if directed.
If it matters: I am testing on a headless VirtualBox machine (
Linux zt1 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64 GNU/Linux
) with self-signed certificates (for testing) and accessing it over local LAN (actually from VBox host) withhttps://
.TiA!