Connection Timeout - Receive Request

I created a web page that finds the latitude and longitude of the address. It worked without problems for several weeks, until yesterday, when I started getting the "Connection timeout" error when using the API script.

I tried the same script on another server and it works without problems.

I am trying to "get" an HTTP request with a sample URL

http://maps.googleapis.com/maps/api/geocode/xml?address=500+Main+Street,+Carmel,IN&sensor=false

When I plug in this url in the browser, it works fine. I just can't use the HTTP Get request anymore.

Any help would be appreciated.

thanks

+4
source share
1 answer

You have probably exceeded the request limit (see https://developers.google.com/maps/faq?hl=en#usagelimits ). Try registering the API key.

+2
source

Source: https://habr.com/ru/post/1486919/


All Articles