Category: Programming

Connection timeout to sts.amazonaws.com: pecularity of AWS STS PrivateLink Integration Issue with Lambda & Boto3

STS timeout error

I have a Python-based Lambda function in VPC with an VPC endpoint creates for Amazon STS. However I could not connect to STS with timeout error:

Continue reading

How to upload a file to remote FTPS with cURL and PHP

You may need to upload a file to remote FTP or FTPS in a number of cases. In this article I’m going to show you how to upload file with cURL from Linux shell and using cURL in PHP.

Continue reading

Asterisk Phone Inventory / Useragent List

I need to find out whether all Cisco phones in organization use the latest firmware. As SPA series phones show firmware version in “Useragent” string it would be great to display all useragents in Asterisk. In order to get this string from all Asterisk peers we need to go through each peer and display the …

Continue reading

Unable to set php_value soap.wsdl_cache_dir

I php-fpm access.log we can see the following: [18-Jan-2018 15:03:38] WARNING: [pool www] child 2148 said into stderr: “ERROR: Unable to set php_value ‘soap.wsdl_cache_dir’” By default this parameter looks like the following: php_value[soap.wsdl_cache_dir] = /var/lib/php/wsdlcache

Continue reading