Hello, I'm contacting you about the Node.js SDK on Windows. I successfully enrolled using the SDK and init.ziti, but whenever I try to connect to retrieve or send data, I get an error.
Knowing that my identity and the address I'm calling are correct.
I tested with the new version and this time I have something different, but my administrator and I have thoroughly checked my identity permissions, and yet I still have no access.
```
PS C:\Users\doria\Desktop\test> node http-get.mjs C:\Users\doria\Desktop\test\ziti-SDK-dorian.json
on_req entered: { req: 2258314951360 }
Rรฉponse service vide: {"status":-18,"permissions":0}
(1228)[ 0.823] ERROR ziti-sdk:connect.c:1068 connect_reply_cb() conn1.0/VV-AdiL1/Connecting failed to connect, reason=service 6HA0kP9kCW8QyJQpTsMCsG has no terminators for instanceId
(1228)[ 0.823] ERROR ziti-njs:Ziti_https_request.c:704 on_resp() <--------- returning httpsClient [0000020DCE18C180] back to pool due to error: [-24]
on_resp entered: {
req: 2258315621120,
code: -24,
status: 'Unknown system error -24',
headers: {}
}
```
(16:05:58) Eric LEJEUNE: eric@zpix:~$ ziti edge policy-advisor identities -q
OKAY : f1733a21-3ee8-40c0-8b9f-728feea15de3 (1) -> 8889-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : f1733a21-3ee8-40c0-8b9f-728feea15de3 (1) -> 2609-a92ae9fd-ea24-459e-9e92-b8aa1c87f54e (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : f1733a21-3ee8-40c0-8b9f-728feea15de3 (1) -> 8189-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : f1733a21-3ee8-40c0-8b9f-728feea15de3 (1) -> 2612 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : f1733a21-3ee8-40c0-8b9f-728feea15de3 (1) -> 2609-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : f1733a21-3ee8-40c0-8b9f-728feea15de3 (1) -> 3478-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : f1733a21-3ee8-40c0-8b9f-728feea15de3 (1) -> 8889-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : f1733a21-3ee8-40c0-8b9f-728feea15de3 (1) -> 2609-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : winpreprod.vigicloud.z (1) -> RDP-Vigicloud (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : winpreprod.vigicloud.z (1) -> 2611 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : winpreprod.vigicloud.z (1) -> XMPP-serveur01 (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : winpreprod.vigicloud.z (1) -> 2612 (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : winpreprod.vigicloud.z (1) -> HFSQL (1) Common Routers: (1/1) Dial: Y Bind: Y
OKAY : a92ae9fd-ea24-459e-9e92-b8aa1c87f54e.pix (1) -> 2609-a92ae9fd-ea24-459e-9e92-b8aa1c87f54e (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : a92ae9fd-ea24-459e-9e92-b8aa1c87f54e.pix (1) -> 2610 (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : a92ae9fd-ea24-459e-9e92-b8aa1c87f54e.pix (1) -> 2611 (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : a92ae9fd-ea24-459e-9e92-b8aa1c87f54e.pix (1) -> 2612 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : c7337e16-a6e9-40c2-823e-415f5f13c201 (1) -> 8889-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : c7337e16-a6e9-40c2-823e-415f5f13c201 (1) -> 2609-a92ae9fd-ea24-459e-9e92-b8aa1c87f54e (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : c7337e16-a6e9-40c2-823e-415f5f13c201 (1) -> 8189-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : c7337e16-a6e9-40c2-823e-415f5f13c201 (1) -> 2612 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : c7337e16-a6e9-40c2-823e-415f5f13c201 (1) -> 2609-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : c7337e16-a6e9-40c2-823e-415f5f13c201 (1) -> 3478-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : c7337e16-a6e9-40c2-823e-415f5f13c201 (1) -> 8889-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : c7337e16-a6e9-40c2-823e-415f5f13c201 (1) -> 2609-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : PC-Mathis-01 (1) -> 8889-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : PC-Mathis-01 (1) -> 2609-a92ae9fd-ea24-459e-9e92-b8aa1c87f54e (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : PC-Mathis-01 (1) -> 2610 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : PC-Mathis-01 (1) -> 8189-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : PC-Mathis-01 (1) -> 2612 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : PC-Mathis-01 (1) -> 2609-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : PC-Mathis-01 (1) -> 3478-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : PC-Mathis-01 (1) -> 8889-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : PC-Mathis-01 (1) -> 2609-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : 93f4c47e-9a49-41a8-9169-5ae30b54ee73.pix (1) -> 8889-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : 93f4c47e-9a49-41a8-9169-5ae30b54ee73.pix (1) -> 2610 (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : 93f4c47e-9a49-41a8-9169-5ae30b54ee73.pix (1) -> 2611 (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : 93f4c47e-9a49-41a8-9169-5ae30b54ee73.pix (1) -> 8189-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : 93f4c47e-9a49-41a8-9169-5ae30b54ee73.pix (1) -> 2612 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : 93f4c47e-9a49-41a8-9169-5ae30b54ee73.pix (1) -> 2609-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : www.vigicloud.z (1) -> RDP-Vigicloud (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : www.vigicloud.z (1) -> 2611 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : www.vigicloud.z (1) -> XMPP-serveur01 (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : www.vigicloud.z (1) -> 2612 (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : www.vigicloud.z (1) -> HFSQL (1) Common Routers: (1/1) Dial: Y Bind: Y
OKAY : fa2e7f75-6f73-4dd6-b5d8-06357576db33 (1) -> 8889-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : fa2e7f75-6f73-4dd6-b5d8-06357576db33 (1) -> 2609-a92ae9fd-ea24-459e-9e92-b8aa1c87f54e (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : fa2e7f75-6f73-4dd6-b5d8-06357576db33 (1) -> 8189-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : fa2e7f75-6f73-4dd6-b5d8-06357576db33 (1) -> 2612 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : fa2e7f75-6f73-4dd6-b5d8-06357576db33 (1) -> 2609-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : fa2e7f75-6f73-4dd6-b5d8-06357576db33 (1) -> 3478-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : fa2e7f75-6f73-4dd6-b5d8-06357576db33 (1) -> 8889-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : fa2e7f75-6f73-4dd6-b5d8-06357576db33 (1) -> 2609-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : PCdev-Mathis (1) -> 2610 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : d5cde8a5-6d73-40ae-9abc-776d5f63e412 (1) -> 8889-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : d5cde8a5-6d73-40ae-9abc-776d5f63e412 (1) -> 2609-a92ae9fd-ea24-459e-9e92-b8aa1c87f54e (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : d5cde8a5-6d73-40ae-9abc-776d5f63e412 (1) -> 8189-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : d5cde8a5-6d73-40ae-9abc-776d5f63e412 (1) -> 2612 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : d5cde8a5-6d73-40ae-9abc-776d5f63e412 (1) -> 2609-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : d5cde8a5-6d73-40ae-9abc-776d5f63e412 (1) -> 3478-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : d5cde8a5-6d73-40ae-9abc-776d5f63e412 (1) -> 8889-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : d5cde8a5-6d73-40ae-9abc-776d5f63e412 (1) -> 2609-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : e2ac1e0b-e243-4dc7-a41d-702fadd0a329.pix (1) -> 2610 (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : e2ac1e0b-e243-4dc7-a41d-702fadd0a329.pix (1) -> 2611 (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : e2ac1e0b-e243-4dc7-a41d-702fadd0a329.pix (1) -> 2612 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : a9df171a-f5f8-482e-8104-a2db35cae90a.zpix (1) -> 8889-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : a9df171a-f5f8-482e-8104-a2db35cae90a.zpix (1) -> 2609-a92ae9fd-ea24-459e-9e92-b8aa1c87f54e (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : a9df171a-f5f8-482e-8104-a2db35cae90a.zpix (1) -> 8189-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : a9df171a-f5f8-482e-8104-a2db35cae90a.zpix (1) -> 2612 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : a9df171a-f5f8-482e-8104-a2db35cae90a.zpix (1) -> 2609-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : a9df171a-f5f8-482e-8104-a2db35cae90a.zpix (1) -> 3478-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : a9df171a-f5f8-482e-8104-a2db35cae90a.zpix (1) -> 8889-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : a9df171a-f5f8-482e-8104-a2db35cae90a.zpix (1) -> 2609-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : Mac-EL (1) -> 8889-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : Mac-EL (1) -> RDP-Vigicloud (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : Mac-EL (1) -> 2609-a92ae9fd-ea24-459e-9e92-b8aa1c87f54e (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : Mac-EL (1) -> XMPP-serveur01 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : Mac-EL (1) -> 8189-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : Mac-EL (1) -> 2612 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : Mac-EL (1) -> RDP-Eliptec (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : Mac-EL (1) -> 2609-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : Mac-EL (1) -> 3478-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : Mac-EL (1) -> 8889-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : Mac-EL (1) -> 2609-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : cff85897-abee-4f57-b35d-0cf60166c488.pix (1) -> 8889-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : cff85897-abee-4f57-b35d-0cf60166c488.pix (1) -> 2609-a92ae9fd-ea24-459e-9e92-b8aa1c87f54e (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : cff85897-abee-4f57-b35d-0cf60166c488.pix (1) -> 2610 (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : cff85897-abee-4f57-b35d-0cf60166c488.pix (1) -> 2611 (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : cff85897-abee-4f57-b35d-0cf60166c488.pix (1) -> 8189-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : cff85897-abee-4f57-b35d-0cf60166c488.pix (1) -> 2612 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : cff85897-abee-4f57-b35d-0cf60166c488.pix (1) -> 2609-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: Y
OKAY : cff85897-abee-4f57-b35d-0cf60166c488.pix (1) -> 3478-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: Y
OKAY : cff85897-abee-4f57-b35d-0cf60166c488.pix (1) -> 8889-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: Y
OKAY : cff85897-abee-4f57-b35d-0cf60166c488.pix (1) -> 2609-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : 14a0b2a9-4117-4de4-8689-db06a80f1ae3 (1) -> 8889-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : 14a0b2a9-4117-4de4-8689-db06a80f1ae3 (1) -> 2609-a92ae9fd-ea24-459e-9e92-b8aa1c87f54e (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : 14a0b2a9-4117-4de4-8689-db06a80f1ae3 (1) -> 8189-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : 14a0b2a9-4117-4de4-8689-db06a80f1ae3 (1) -> 2612 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : 14a0b2a9-4117-4de4-8689-db06a80f1ae3 (1) -> 2609-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : 14a0b2a9-4117-4de4-8689-db06a80f1ae3 (1) -> 3478-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : 14a0b2a9-4117-4de4-8689-db06a80f1ae3 (1) -> 8889-cff85897-abee-4f57-b35d-0cf60166c488 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : 14a0b2a9-4117-4de4-8689-db06a80f1ae3 (1) -> 2609-93f4c47e-9a49-41a8-9169-5ae30b54ee73 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : pc-devel (1) -> RDP-Vigicloud (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : pc-devel (1) -> XMPP-serveur01 (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : pc-devel (1) -> RDP-Eliptec (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : pc-devel (1) -> HFSQL (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : Pcsdev (1) -> HFSQL (1) Common Routers: (1/1) Dial: Y Bind: N
OKAY : serveur01.eliptec.z (1) -> RDP-Eliptec (1) Common Routers: (1/1) Dial: N Bind: Y
OKAY : portable-NF (1) -> RDP-Eliptec (1) Common Routers: (1/1) Dial: Y Bind: N
ERROR: Admin
- Identity does not have access to any services. Adjust service policies.
eric@zpix:~$
Here is my administrator's response to the command
Ok. Does this output make sense? Do you see an identity that is authorized to bind the service you need access to? Have you verified that identity is online? Have you looked at the logs of the identity that's binding the service? Make sure you are logging at debug level at least.
The identity that's acting as a server is not online or has some other problem (possibly connecting to routers, etc)