zend-patterns / ZendServerSDK

Pure ZF2 CLI for zpk creation and webapi client.
BSD 3-Clause "New" or "Revised" License
22 stars 17 forks source link

Read timed out after 10 seconds #85

Open plmsprd opened 8 years ago

plmsprd commented 8 years ago

We are using a Zend Cache folder inside of the deployment folder. The files are created by user "apache" with permissions 700 (no rwx for group or others). Zend Server which is using user "zend" would not be able to remove old deployments completely because of this remaining temp folder. This seems to be related to the pretty consistent error message of ZS client after exactly 10 seconds. Zend Server (8.5.3) still continues with the deployment, but ZS client stops with a read time out:

The application has thrown an exception!

Zend\Http\Client\Adapter\Exception\TimeoutException Read timed out after 10 seconds

plmsprd commented 8 years ago

We will fix the permission issue for Zend Cache, but ZS client should react differently. We are using --safe, --wait and --http="timeout=120"

slaff commented 8 years ago

@plmsprd Can you send me [slavey (at) zend.com ] sample zpk so that I can reproduce the issue? Also logs from Zend Server will be helpful.