Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connection Timeout - Get Request

I created a web page that finds the latitude and longitude of an address. It had worked with no issues for weeks, until yesterday, when I started getting a "Connection Timeout" error when using the API script.

I tried the same script on a different server, and it works with no problems.

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

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

When I plug this URL into a browser, it works fine. I just can't use the HTTP Get request any more.

Any help would be appreciated.

Thank you

like image 615
user2498546 Avatar asked Nov 02 '22 20:11

user2498546


1 Answers

You are probably over the request limit (cf. https://developers.google.com/maps/faq?hl=en#usagelimits). Try registering a an API key.

like image 132
StandByUkraine Avatar answered Nov 15 '22 06:11

StandByUkraine