openziti / ziti

The parent project for OpenZiti. Here you will find the executables for a fully zero trust, application embedded, programmable network @OpenZiti
https://openziti.io
Apache License 2.0
2.69k stars 153 forks source link

hasEdgeRouterConnection is false, even though my endpoint is online and able to access services #1093

Closed tburtchell closed 1 year ago

tburtchell commented 1 year ago

Environment:

OS: Mac Ventura Processor: Apple M2 Edge: Desktop Edge for Mac version 2.31 (482)

Network is MOP hosted Mattermost network. Ziti version 0.27.9.

Issue: I am able to connect via the desktop edge and pass traffic to mattermost just fine.
Ziti is reporting that my identity has an api session, but does not have an edge router connection

What I've tried:

Ziti report of my identity: ze list identities 'name="mattermost.tod.burtchell.mac"' -j

{
    "data": [
        {
            "_links": {
                "auth-policies": {
                    "href": "./auth-policies/default"
                },
                "authenticators": {
                    "href": "./identities/5NM2Thiq5h/authenticators"
                },
                "edge-router-policies": {
                    "href": "./identities/5NM2Thiq5h/edge-router-policies"
                },
                "edge-routers": {
                    "href": "./identities/5NM2Thiq5h/edge-routers"
                },
                "enrollments": {
                    "href": "./identities/5NM2Thiq5h/enrollments"
                },
                "failed-service-requests": {
                    "href": "./identities/5NM2Thiq5h/failed-service-requests"
                },
                "posture-data": {
                    "href": "./identities/5NM2Thiq5h/posture-data"
                },
                "self": {
                    "href": "./identities/5NM2Thiq5h"
                },
                "service-configs": {
                    "href": "./identities/5NM2Thiq5h/service-configs"
                },
                "service-policies": {
                    "href": "./identities/5NM2Thiq5h/service-policies"
                },
                "services": {
                    "href": "./identities/5NM2Thiq5h/services"
                }
            },
            "createdAt": "2023-03-07T20:39:09.120Z",
            "id": "5NM2Thiq5h",
            "tags": {},
            "updatedAt": "2023-04-19T17:09:37.442Z",
            "appData": {},
            "authPolicy": {
                "_links": {
                    "self": {
                        "href": "./auth-policies/default"
                    }
                },
                "entity": "auth-policies",
                "id": "default",
                "name": "Default"
            },
            "authPolicyId": "default",
            "authenticators": {
                "cert": {
                    "fingerprint": "c83f1b73d1511b2e6e015aa6155b6a6fd6852a87",
                    "id": "Vu32T2XqB"
                }
            },
            "defaultHostingCost": 0,
            "defaultHostingPrecedence": "default",
            "disabled": false,
            "enrollment": {},
            "envInfo": {
                "arch": "arm64",
                "os": "Darwin",
                "osRelease": "22.4.0",
                "osVersion": "Darwin Kernel Version 22.4.0: Mon Mar  6 20:59:58 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6020"
            },
            "externalId": null,
            "hasApiSession": true,
            "hasEdgeRouterConnection": false,
            "isAdmin": false,
            "isDefaultAdmin": false,
            "isMfaEnabled": false,
            "name": "mattermost.tod.burtchell.mac",
            "roleAttributes": [
                "client"
            ],
            "sdkInfo": {
                "appId": "io.netfoundry.ZitiPacketTunnel.PacketTunnelProvider",
                "appVersion": "2.31 (482)",
                "branch": "HEAD",
                "revision": "68c3a76",
                "type": "ziti-sdk-c",
                "version": "0.31.4"
            },
            "serviceHostingCosts": {},
            "serviceHostingPrecedences": {},
            "type": {
                "_links": {
                    "self": {
                        "href": "./identity-types/Device"
                    }
                },
                "entity": "identity-types",
                "id": "Device",
                "name": "Device"
            },
            "typeId": "Device"
        }
    ],
    "meta": {
        "filterableFields": [
            "id",
            "createdAt",
            "updatedAt",
            "tags",
            "isSystem",
            "name",
            "externalId",
            "type",
            "isAdmin",
            "roleAttributes",
            "authPolicyId",
            "isDefaultAdmin"
        ],
        "pagination": {
            "limit": 10,
            "offset": 0,
            "totalCount": 1
        }
    }
}
NetFoundry-Zendesk commented 1 year ago
Comment from Zendesk:
Zendesk: 10903 linked successfully.
NetFoundry-Zendesk commented 1 year ago
Comment from Zendesk:
Zendesk: 10921 linked successfully.