Hi,
Still I met connection timeout error while executing update.php --init-updates
https://github.com/openstreetmap/Nominatim/issues/1083
Also tried after disabled ipv6, still met the same(https://stackoverflow.com/questions/4189973/file-get-contents-connection-timed-out ).
Check my outputs:
php -r 'echo file_get_contents("https://download.geofabrik.de/europe/andorra-updates/state.txt");'
Warning: file_get_contents(https://download.geofabrik.de/europe/andorra-updates/state.txt): failed to open stream: Connection timed out in Command line code on line1
curl "https://download.geofabrik.de/europe/andorra-updates/state.txt" original OSM minutely replication sequence number 3065501 timestamp=2018-07-19T20\:00\:02Z sequenceNumber=1948
php -m
[PHP Modules] Core ctype date dom ereg fileinfo filter hash iconv intl json libxml openssl pcre PDO pdo_pgsql pdo_sqlite pgsql Phar posix Reflection session SimpleXML SPL sqlite3 standard tokenizer xml xmlreader xmlwriter
[Zend Modules]
@mtmail
asked 20 Jul '18, 12:55

Rajavelu_M
253●45●48●58
accept rate: 33%
Does the connection timeout always occur or just sometimes? Are you familiar enough with wireshark or tcpdump to compare the failing php connection request against the succeeding curl connection request?
@scai : This connection timeout always occuring. Sorry i am not familiar with wireshark or tcpdump.
Sounds like a problem caused by PHP. I guess you will find more help at StackOverflow. Specifically ask about the php command
file_get_contents()
from your question.