GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Connection timeout when calling Java Api and Rest Api twice  XML
Forum Index -> General
Author Message
ilya.kaygorodov



Joined: 26/12/2018 08:48:48
Messages: 1
Offline

Hi team, would you please help with the following problem:

I have created a free account for the service and implemented two variants of the client in Java code:
1) Using Geonames Java API
2) Using Geonames REST API and Spring RestTemplate

In both versions of clients I'm getting the data in a first request without any issues, but on a second attemtp (for example, when I'm restarting app) with the same request URL or Query (when using Java API) I'm getting "connect timed out". And I have to waite for 10-15 minutes for APIs to start working again. And then the story repeats.

At the same time I'm getting all information using browser from the same PC without any issues, even when I'm refreshing page multiple times.

Probably some intruding detection system is blocking my requests?
Account names is "citeck".

PS I've also tries to set the same HTTP headers that Firefox would normaly send, also with no luck at all.
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team