You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/10/25 19:12:23 UTC

[GitHub] aslom opened a new issue #171: Creating openwhisk_apigateway_1 fails with ERROR Read timed out. (read timeout=60)

aslom opened a new issue #171: Creating openwhisk_apigateway_1 fails with ERROR Read timed out. (read timeout=60)
URL: https://github.com/apache/incubator-openwhisk-devtools/issues/171
 
 
   
   ```
   Creating openwhisk_apigateway_1      ...
   ............
   ERROR: for openwhisk_apigateway_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
   
   ERROR: for apigateway  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
   ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
   ```
   
   full log:
   
   
   ```
   [git:master] incubator-openwhisk-devtools $ cd docker-compose/
   [git:master] docker-compose $ make quick-start
   Downloading source tar ball master....
     % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                    Dload  Upload   Total   Spent    Left  Speed
   100   134    0   134    0     0   1080      0 --:--:-- --:--:-- --:--:--  1089
   100 10.4M    0 10.4M    0     0  12.5M      0 --:--:-- --:--:-- --:--:-- 20.9M
   Unpacking tarball.
   downloading the CLI tool ...
   downloading cli for mac
     % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                    Dload  Upload   Total   Spent    Left  Speed
   100   624    0   624    0     0   3565      0 --:--:-- --:--:-- --:--:--  3545
   100 3353k  100 3353k    0     0  4293k      0 --:--:-- --:--:-- --:--:-- 4293k
   Archive:  wsk.zip
     inflating: wsk
     inflating: NOTICE.txt
     inflating: README.md
     inflating: LICENSE.txt
   pulling the docker images short list...
   Using default tag: latest
   latest: Pulling from openwhisk/controller
   4fe2ade4980c: Pull complete
   932858db6d53: Pull complete
   67726ed84b62: Pull complete
   cb6572005645: Pull complete
   49c70df87db8: Pull complete
   72b14fbcac86: Pull complete
   b414a08be91c: Pull complete
   aaf1487bb317: Pull complete
   6e4d2d35b7df: Pull complete
   86273b372a70: Pull complete
   08c214d85a3e: Pull complete
   b24a7cbc15a7: Pull complete
   3c6b667b90d0: Pull complete
   Digest: sha256:5777edaba4afa313d3bae2dd97373c051fddcdaec19b4ce07b8c05b8d84f6de5
   Status: Downloaded newer image for openwhisk/controller:latest
   Using default tag: latest
   latest: Pulling from openwhisk/invoker
   4fe2ade4980c: Already exists
   932858db6d53: Already exists
   67726ed84b62: Already exists
   cb6572005645: Already exists
   49c70df87db8: Already exists
   72b14fbcac86: Already exists
   b414a08be91c: Already exists
   aaf1487bb317: Already exists
   9cf27d72046a: Pull complete
   6ec4cc5f74ce: Pull complete
   d5be2bf2f623: Pull complete
   b6f424a28ef8: Pull complete
   2ae6e8ede09d: Pull complete
   ae06e29c2bd1: Pull complete
   Digest: sha256:56181bdc9630f4ad5c147e8feb253b96cebef8d15681458144ba39c159be66e3
   Status: Downloaded newer image for openwhisk/invoker:latest
   Using default tag: latest
   latest: Pulling from openwhisk/nodejs6action
   027274c8e111: Pull complete
   d3f9339a1359: Pull complete
   872f75707cf4: Pull complete
   dd5eed9f50d5: Pull complete
   28f71e00156f: Pull complete
   b586ff8c1612: Pull complete
   a7ce12aa77d3: Pull complete
   1ec0ff8dc6f1: Pull complete
   2105c237566b: Pull complete
   d1ea0a350c88: Pull complete
   21062afbd7ad: Pull complete
   7b88a6316d40: Pull complete
   55aecf564e7a: Pull complete
   Digest: sha256:c53bc0e497e86c46d6e9250ff979de956df498a42f91c23c23714cbe9faf30b6
   Status: Downloaded newer image for openwhisk/nodejs6action:latest
   Using default tag: latest
   latest: Pulling from openwhisk/dockerskeleton
   4fe2ade4980c: Already exists
   7cf6a1d62200: Pull complete
   f0d690b9e495: Pull complete
   fac5d45ad062: Pull complete
   dd9b067ef6fd: Pull complete
   e17bb9963585: Pull complete
   347ec26c5686: Pull complete
   f804386cecf1: Pull complete
   5043ddf0f462: Pull complete
   8c0fc41f88a0: Pull complete
   befcbdc5ef0b: Pull complete
   Digest: sha256:d0c71307b85f0145b0ca20cd600e10cffa42ffd508bdd45152a08403c1001c36
   Status: Downloaded newer image for openwhisk/dockerskeleton:latest
   host ip address: 9.74.15.196
   checking required ports ...
    ... OK
   cat: /Users/aslom/tmp/openwhisk/local.env: No such file or directory
   cat: /Users/aslom/tmp/openwhisk/local.env: No such file or directory
   cat: /Users/aslom/tmp/openwhisk/local.env: No such file or directory
     ... preparing api-gateway configuration
   pinging minio...
   WARNING: The DOCKER_COMPOSE_HOST variable is not set. Defaulting to a blank string.
   Creating network "openwhisk_default" with the default driver
   Pulling minio (minio/minio:RELEASE.2018-07-13T00-09-07Z)...
   Creating openwhisk_minio_1 ... done
    ... OK
   Unable to find image 'openwhisk/apigateway:latest' locally
   latest: Pulling from openwhisk/apigateway
   4fe2ade4980c: Already exists
   df84659dad53: Downloading [=====>                                             ]  10.78MB/9df84659dad53: Pull complete
   de930eab1f4b: Pull complete
   b4ef9a7dcce9: Pull complete
   8e9cfee2d374: Pull complete
   c3037cdd248d: Pull complete
   3f992ce7989e: Pull complete
   bfd8f54d3167: Pull complete
   39087626b62c: Pull complete
   70814d9aad51: Pull complete
   8b6622eeb649: Pull complete
   b6678daed082: Pull complete
   Digest: sha256:5c77ab46beb2093a4bec89cc845f16478d4dfff6be9be1ff4ccca2a77c2902b0
   Status: Downloaded newer image for openwhisk/apigateway:latest
   generating server certificate request
   generating self-signed password-less server certificate
   Signature ok
   subject=/C=US/ST=NY/L=Yorktown/O=OpenWhisk/CN=9.74.15.196
   Getting Private key
   generate keystore
   waiting for the database to come up ... on 9.74.15.196
   Pulling db (apache/couchdb:2.1)...
   Pulling zookeeper (zookeeper:3.4)...
   Pulling kafka (wurstmeister/kafka:0.11.0.1)...
   Pulling redis (redis:2.8)...
   .Pulling kafka-rest (confluentinc/cp-kafka-rest:3.3.1)...
   Pulling kafka-topics-ui (landoop/kafka-topics-ui:0.9.3)...
   openwhisk_minio_1 is up-to-date
   Creating openwhisk_zookeeper_1 ... done
   Creating openwhisk_redis_1     ... done
   Creating openwhisk_db_1        ... done
   Creating openwhisk_kafka_1     ... done
   Creating openwhisk_kafka-rest_1 ... done
   Creating openwhisk_controller_1      ... done
   Creating openwhisk_invoker_1         ... done
   Creating openwhisk_kafka-topics-ui_1 ... done
   Creating openwhisk_apigateway_1      ...
   ............
   ERROR: for openwhisk_apigateway_1  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
   
   ERROR: for apigateway  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
   ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
   If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).
   ........Exception in thread Thread-4:
   Traceback (most recent call last):
     File "site-packages/urllib3/connectionpool.py", line 386, in _make_request
     File "<string>", line 2, in raise_from
     File "site-packages/urllib3/connectionpool.py", line 382, in _make_request
     File "http/client.py", line 1331, in getresponse
     File "http/client.py", line 297, in begin
     File "http/client.py", line 258, in _read_status
     File "socket.py", line 586, in readinto
   socket.timeout: timed out
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "site-packages/requests/adapters.py", line 440, in send
     File "site-packages/urllib3/connectionpool.py", line 649, in urlopen
     File "site-packages/urllib3/util/retry.py", line 357, in increment
     File "site-packages/urllib3/packages/six.py", line 686, in reraise
     File "site-packages/urllib3/connectionpool.py", line 600, in urlopen
     File "site-packages/urllib3/connectionpool.py", line 388, in _make_request
     File "site-packages/urllib3/connectionpool.py", line 308, in _raise_timeout
   urllib3.exceptions.ReadTimeoutError: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "threading.py", line 916, in _bootstrap_inner
     File "threading.py", line 864, in run
     File "compose/cli/log_printer.py", line 213, in watch_events
     File "compose/project.py", line 434, in events
     File "compose/container.py", line 45, in from_id
     File "site-packages/docker/utils/decorators.py", line 19, in wrapped
     File "site-packages/docker/api/container.py", line 728, in inspect_container
     File "site-packages/docker/utils/decorators.py", line 46, in inner
     File "site-packages/docker/api/client.py", line 198, in _get
     File "site-packages/requests/sessions.py", line 521, in get
     File "site-packages/requests/sessions.py", line 508, in request
     File "site-packages/requests/sessions.py", line 618, in send
     File "site-packages/requests/adapters.py", line 521, in send
   requests.exceptions.ReadTimeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
   
   ............^Cmake: *** [init-couchdb] Interrupt: 2
   
   [git:master] docker-compose $ ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
   If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).
   
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services