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's gravatar image

Rajavelu_M
253454858
accept rate: 33%

edited 20 Jul '18, 16:58

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?

(21 Jul '18, 13:31) scai ♦

@scai : This connection timeout always occuring. Sorry i am not familiar with wireshark or tcpdump.

(22 Jul '18, 08:38) Rajavelu_M

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.

(22 Jul '18, 11:20) scai ♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×560
×167
×30

question asked: 20 Jul '18, 12:55

question was seen: 649 times

last updated: 22 Jul '18, 11:20

powered by OSQA