: API Design and Fundamentals of Google Cloud's Apigee API Platform -Lab Setup failure

Hello,

I am getting the following error while trying to run node set up

Request prepared for the server ************************** GET https://api.enterprise.apigee.com/v1/organizations/varum-eval/apis/edge-developer-training-idp/deplo... accept: application/json accept-encoding: gzip authorization: Basic [Not shown in log] [INFO] C:\API\lab\setup\edge-developer-training-backend\apiproxy\resources\jsc\ProductAvailability.js [INFO] C:\API\lab\setup\edge-developer-training-backend\apiproxy\resources\jsc\UpdateTargetUrl.js [INFO] [INFO] --- maven-resources-plugin:2.6:copy-resources (default) @ edge-developer-training-backend --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [ERROR] Received fatal alert: handshake_failure [INFO] =============Importing App================

0 4 175
4 REPLIES 4

@Raj Arumugam - looks like you are not able to connect to the Apigee Management host from the network you are executing this script. Can you ping and see if you are able to connect to https://api.enterprise.apigee.com

Thank you for your response. I get a timeout

C:\API\lab\setup>ping google.com Pinging google.com [172.217.10.110] with 32 bytes of data: Reply from 172.217.10.110: bytes=32 time=85ms TTL=128 Reply from 172.217.10.110: bytes=32 time=15ms TTL=128 Reply from 172.217.10.110: bytes=32 time=14ms TTL=128 Ping statistics for 172.217.10.110: Packets: Sent = 3, Received = 3, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 14ms, Maximum = 85ms, Average = 38ms Control-C ^C

C:\API\lab\setup>ping api.enterprise.apigee.com Pinging clb02publicapi-751937004.us-east-1.elb.amazonaws.com [34.238.65.160] with 32 bytes of data: Request timed out.

Looks like your network does not have access to this host. See if you can get an exception or connect to a network that has access to this host.

Thanks Sai for trying to help me.

I tried to curl and I could see the handshake where it fails with 401

:\API\lab\setup>curl -v GET https://api.enterprise.apigee.com/v1/organizations/varu-eval/apis/edge-developer-training-idp/deploy... * Rebuilt URL to: GET/ * Could not resolve host: GET * Closing connection 0 curl: (6) Could not resolve host: GET * Trying 52.20.39.50... * TCP_NODELAY set * Connected to api.enterprise.apigee.com (52.20.39.50) port 443 (#1) * schannel: SSL/TLS connection with api.enterprise.apigee.com port 443 (step 1/3) * schannel: checking server certificate revocation * schannel: sending initial handshake data: sending 190 bytes... * schannel: sent initial handshake data: sent 190 bytes * schannel: SSL/TLS connection with api.enterprise.apigee.com port 443 (step 2/3) * schannel: failed to receive handshake, need more data * schannel: SSL/TLS connection with api.enterprise.apigee.com port 443 (step 2/3) * schannel: encrypted data got 3086 * schannel: encrypted data buffer: offset 3086 length 4096 * schannel: sending next handshake data: sending 126 bytes... * schannel: SSL/TLS connection with api.enterprise.apigee.com port 443 (step 2/3) * schannel: encrypted data got 51 * schannel: encrypted data buffer: offset 51 length 4096 * schannel: SSL/TLS handshake complete * schannel: SSL/TLS connection with api.enterprise.apigee.com port 443 (step 3/3) * schannel: stored credential handle in session cache > GET /v1/organizations/varu-eval/apis/edge-developer-training-idp/deployments HTTP/1.1 > Host: api.enterprise.apigee.com > User-Agent: curl/7.55.1 > Accept: */* > * schannel: client wants to read 102400 bytes * schannel: encdata_buffer resized 103424 * schannel: encrypted data buffer: offset 0 length 103424 * schannel: encrypted data got 157 * schannel: encrypted data buffer: offset 157 length 103424 * schannel: decrypted data length: 128 * schannel: decrypted data added: 128 * schannel: decrypted data cached: offset 128 length 102400 * schannel: encrypted data buffer: offset 0 length 103424 * schannel: decrypted data buffer: offset 128 length 102400 * schannel: schannel_recv cleanup * schannel: decrypted data returned 128 * schannel: decrypted data buffer: offset 0 length 102400 < HTTP/1.1 401 Unauthorized < Date: Sat, 11 May 2019 01:32:36