View Issue Details

IDProjectCategoryView StatusLast Update
0001464GeoSetterUser Interfacepublic2017-06-19 23:43
Reportersjmcmurray Assigned ToFriedemann  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformWindowsOSWindows 10OS Version
Product Version3.4.16 beta 
Target VersionFixed in Version 
Summary0001464: The google map doesnt display and shows an error message
DescriptionThere is no map in the map window
TagsNo tags attached.

Relationships

duplicate of 0001466 closedFriedemann Something in the map 
has duplicate 0001465 confirmedFriedemann Karte scheint nicht auf 
has duplicate 0001467 closedFriedemann Google Maps wurde auf dieser Seite nicht richtig geladen. 

Activities

sjmcmurray

2017-05-16 07:44

reporter  

aaa.pdf (44,044 bytes)

Stoffel

2017-05-16 08:08

reporter   ~0002492

Last edited: 2017-05-16 08:16

View 3 revisions

Exactly the same for me (running Windows 8.1)

Map File: http://www.geosetter.de/map_google.html

Friedemann

2017-05-16 08:54

administrator   ~0002493

Last edited: 2017-05-16 09:18

View 3 revisions

Yes, I can confirm this problem. There's an error message which says:

You have exceeded your daily request quota for this API. We recommend enabling billing to get a higher quota: https://developers.google.com/maps/documentation/javascript/usage

And it's true, as I see there were over 100.000 requests today with my Google key. Normally it's about 15.000 requests per day. The maximum of free requests is 25.000. Each 1.000 request exceeding will cost 50 Cent. Fortunately I didn't enable this feature :-)

I really hope that this won't occur each day now. Of course I could change the Google key (I hope), but I will wait now to see what will happen today...

I apologize for the inconvenience!!! :-(

Friedemann

2017-05-16 18:19

administrator   ~0002498

An additional note: As I first noticed today, GeoSetter's key was not secure, it was possible to be used by everybody. I changed it now, it should now only possible to use it when called by geosetter.de. But I don't know at the moment, where the massive amount of requests came from. I really hope, that it didn't come from GeoSetter.exe itself. I assume and hope that somebody grabbed my Google key and used it for his own. By now, there are 344.982 request today!!! The limit for free request ist 25.000. As I said already, normally I have between 10.000 and 15.000 request per day.

We will see tomorrow...

Regards
Friedemann

Suedlicht

2017-05-16 18:31

reporter   ~0002499

Thank you very much for these statements, Friedemann. From time to time I'm a quite heavy user. I remember a message of geonames.org about my quota of 2000 per hour to be exhaustet - when I had about 800 photos and I ran it several times.
Sometimes I want the references to be very exact, so I run the whole thing two times: One time with the local windows setting, and then once again with a point on the map - which I could choose after the first run. I do so mostly when I had pictures taken out of a moving vehicle.
Knowing of the problem I will change this and do the first run just with a single photo.

Regards
S.

Friedemann

2017-05-16 18:35

administrator   ~0002500

> Knowing of the problem I will change this and do the first run just with a single photo.

I think you can register your own GeoNames user. 2.000 requests is not so much and reached quickly. For GeoNames each request counts. But for Google Maps a request is only the first opening of the map. It doesn't matter how much then the map will be moved etc. So the free limit of 25.000 request per day should be enough by now - normally :-/

Friedemann

2017-05-16 18:36

administrator   ~0002501

BTW: I work very hard on GeoSetter right now to release a new major version in a few weeks. Maybe months, it's difficult to say at the moment :-)

Suedlicht

2017-05-16 19:24

reporter   ~0002502

Thanks again, Friedemann. I have my own account on Geonames - 2000 may be the limit for free accounts. Thank you very, very much for your work!

othmarmarti

2017-05-16 20:22

reporter   ~0002503

Dear Friedemann,
I noticed that the Google address is called even if the map is set to Openstreetmap.org. Is there a possibility to use OSM without having to call Google? That would be a way to reduce the load. Google is nice, but I often use OSM
Thanks for the great program!

Friedemann

2017-05-16 21:46

administrator   ~0002504

No, regardless which map is used, GeoSetter uses the Google Maps API for all the functionalety of the map, showing markers etc. That dioesn't have anything to do with the background map itself. An alternative would be OpenLayers. Then it would be possible for example to use it all offline without an internet connection by installing a local map server. Maybe I will do it in the future. but by now, I'm very happy with Google Maps...

othmarmarti

2017-05-16 21:51

reporter   ~0002505

Thanks for the clarification. Google works well - if there were not those floods of requests :_(

sjmcmurray

2017-05-17 01:40

reporter   ~0002509

Thanks for the reply - your software is amazing and is one of the easiest to use geotagging programs around. Thanks for your hardwork.

It seems that the user base is quite large as I still cannot get it too load up the Google map image so that I can geotag my imagery

Stoffel

2017-05-17 05:55

reporter   ~0002512

Many thanks, Friedemann. Unfortunately the same error occurs also today.

Friedemann

2017-05-17 07:42

administrator   ~0002513

The day ends at 0 o'clock Pacific Time, which will be 9 o'clock here in Europe. I attached an image where you can see the amount of requests in the last days :-/

Friedemann

2017-05-17 07:44

administrator  

google_maps_loads.jpg (101,401 bytes)
google_maps_loads.jpg (101,401 bytes)

Stoffel

2017-05-17 09:10

reporter   ~0002516

9:06 (Central European Summer Time) - Nothing changed. Still (or already again) the same error. :-(

Friedemann

2017-05-17 09:45

administrator   ~0002517

Yes, by now it's not working :-(

To fix it for yourself, you could register your own Google Maps API key here: https://developers.google.com/maps/documentation/javascript/get-api-key

Then you can download the map files of GeoSetter here http://download.friedemann.info/geosetter_map.zip and unpack them somewhere on your harddisk and put in your Google key in the HTML file. After changing the map file now in GeoSetter settings, it should work again.

Of course this is not a good solution, but it should work for now...

kh1234567890

2017-05-17 10:29

reporter  

download.png (29,229 bytes)
download.png (29,229 bytes)

kh1234567890

2017-05-17 10:30

reporter   ~0002520

I've tried using my own key etc. Unless I'm doing something wrong - I'm no expert at the API - Geosetter appears to generate many requests to my brand new key (1000+ in a short interval). Any ideas ?

Friedemann

2017-05-17 10:39

administrator   ~0002521

Really??? A request should only count when opening the map, for example by starting GeoSetter. That's 1 request... Ok, then something with the map file seems to be wrong and I have to care about in the evening after work. I will remove it now...

sipeoutdoor

2017-05-17 10:42

reporter   ~0002522

Good morning, was done as suggested, I downloaded the files and inserted the Google api key, but there are some errors in the code inspection:

Google Maps API warning: RetiredVersion https://developers.google.com/maps/documentation/javascript/error-messages#retired-version

Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required

also as in other posts, i confirm that are generated by Geosetter many requests, in the span of a few seconds. the api key went from 0 to 1465 requests.

Any ideas ?

Friedemann

2017-05-17 10:48

administrator   ~0002523

I didn't change the code for a long time now. Maybe it crashes somewhere since yesterday and always created a new instance of the map? That would maybe explain the high amount of requests. I will care about after closing time...

kh1234567890

2017-05-17 10:54

reporter   ~0002524

Thanks Friedemann, Geosetter is such an incredibly useful program. Hopefully it will be fixable.

denis1807

2017-05-17 11:38

reporter   ~0002525

I have the same extact problem, 1068 requess in less then 2 minutes.
I really hope you can solve this problem quickly, I'm really in trouble without Geosetter.
Thanks a lot for your works Mr. Friedmann, I really appreciate your works!!!

sipeoutdoor

2017-05-17 12:17

reporter   ~0002526

I did some tests in the code that refers to the API KEY, I removed the version and tried to handle it all on a host that does not need the Key (here are the explanations about inserting the api key https: //www.latecnosfera.com/2016/06/google-maps-api-error-missingkeymaperror-risolto.html), everything seems to work, but the map does not show because geosetter continues to make requests, most likely there is a Error in compiling the code.

Malcolm_Ferguson

2017-05-17 12:43

reporter   ~0002528

Last edited: 2017-05-17 12:46

View 3 revisions

Glad to hear an update is coming. I like your software so much that I use it in a virtual machine, despite my workflow all being in Lightroom on a Mac.

I'm seeing the same problems in 2.4.53 (build 2170) BETA, and I'm also seeing the retired API message in the Java script console using the maps URL in Safari

I right-clicked on the map pane to bring up the context menu and chose "properties". This gave me the URL "http://www.geosetter.de/map_google.html", which I copied in to Safari. Plus of course the expected error now that you've locked your API key down to the application:

[Warning] Google Maps API warning: RetiredVersion https://developers.google.com/maps/documentation/javascript/error-messages#retired-version (util.js, line 210)
[Warning] Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required (util.js, line 210)
[Error] Google Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
Your site URL to be authorized: http://www.geosetter.de/map_google.html
    kb (js:34:336)
    (anonymous function) (common.js:53:462)
    (anonymous function) (common.js:194:173)
    c (common.js:49:407)
    Global Code (AuthenticationService.Authenticate:1)

Friedemann

2017-05-17 12:50

administrator   ~0002529

> [Error] Google Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error messages#referer-not-allowed-map-error
> Your site URL to be authorized: http://www.geosetter.de/map_google.html

yes, that's new and I did it yesterday. It prevents that anybody else uses my Google key, except the map file on geosetter.de.

gabiandrone

2017-05-17 12:50

reporter   ~0002530

I suspected the problem was due to the new version of java so I uninstalled it and installed an older version. I tested on my own map file (with the two warnings fixed) with my key, and there are still a lot of requests. In conclusion, the problem is not from the java update.

Friedemann

2017-05-17 12:52

administrator   ~0002531

> In conclusion, the problem is not from the java update.

no, it isn't! It's my part now ;-) I think you can't do anything now, many thanks! You simply have to wait. I'll care about it after closing time...

Friedemann

2017-05-17 12:57

administrator   ~0002532

@Malcolm_Ferguson: Thanks! It was my mistake, I secured the key with "geosetter.de", but it has to be "http://www.geosetter.de/*". I changed it now. But I think the main problem still does exist...

Malcolm_Ferguson

2017-05-17 13:17

reporter   ~0002533

Last edited: 2017-05-17 13:21

View 2 revisions

That's certainly made a change, but after re-starting the app it seems to be stuck in a loop constantly reloading the map pane. I have to kill it using Task Manager. WireShark shows it repeatedly requesting: /maps/api/js/QuotaService.RecordEvent?[...]

I can post the whole Wireshark trace if it will help

Workaround: start the app with the network interface disabled. Re-enable it later, and I can still use interlet lookups for timezone and location. I've already added GPS locations in Lightroom, so I suppose this won't be helpful for all people.

Friedemann

2017-05-17 13:19

administrator   ~0002534

It worked for a short time. Now the requests exceed again my free amount. So there's definetely a problem in the code. Maybe the reloads you are talking about are causing the problem. As I said, I will see in the afternoon. I created a new GMail adress and a new key for testing :-)

Friedemann

2017-05-17 13:21

administrator   ~0002535

> I can post the whole Wireshark trace if it will help

oh yes please, you can also send it per mail to me (support@geosetter.de). Thanks!

Malcolm_Ferguson

2017-05-17 13:22

reporter   ~0002536

Yeah maybe there was an API change (behaviour, not necessarily interface) on the Google side, and it's confusing the app.

Friedemann

2017-05-17 13:24

administrator   ~0002537

I found this:

> The QuotaService will count things that are affected by
> usage-limits(e.g. Map-loads)

so it is ok. But why it will be called so much times, this is the question. And I'm pretty sure there's an answer to it ;-) Many thanks to you by now!

Friedemann

2017-05-17 18:22

administrator   ~0002538

I found the problem :-) It really was GeoSetter itself. To whom it may concern: In GeoSetter.exe there's code which will be called on DocumentComplete from within the EXE file. In this code a function of the map file (JavaScript) will be called which initializes the map. This initialization is what counts as a request for Google. Unfortunately since yesterday, this code has been called again and again. In the map file I added the code "if (map) { return }" right at the beginning. With this change it works.

As I said, I'm working a lot at the moment on a new major version of GeoSetter. A few weeks ago, I've nearly totally rewritten also the map file. The new version doesn't have this problem. I think I will finish it in about 2 months, I will see. Maybe 3...

To all of you, who were in trouble with this problem, I apologize for the inconvenience this may have caused. I really thought that someone else have stolen my Google API key for doing bad things.

The map still doesn't work as the free requests still are exceeded for today. So we have to wait until 0:00 o'clock Pacific Time (9:00 o'clock here in Germany) to see if it all works again. But I just tested it with another API key and it works well again.

Best regards
Friedemann

Stoffel

2017-05-17 19:18

reporter   ~0002540

Wonderful news! :-) and many thanks to you, Friedemann.
Hopefully everything will be fine again tomorrow.

And I am quite excited for the new Geosetter version.

With kind regards.

kh1234567890

2017-05-17 19:25

reporter   ~0002541

Great !

Could you repost the changed map file zip so that I could try running it with my own key until Google count resets ?

zava

2017-05-17 21:51

reporter   ~0002543

Thank you Friedemann for fixing it so fast!
Very exciting that a new version of GS will be issued, although I can't really see how much better it may get!

gabiandrone

2017-05-17 22:08

reporter   ~0002544

I used my own api key and the program works!
Many thanks, Friedemann!
I look forward to the new version of the program.
All the best!

Friedemann

2017-05-17 22:22

administrator   ~0002545

@kh1234567890: In showMap3() you have to insert

if (map) {
  return;
}

at the beginning.

BTW: I didn't know JavaScript when I wrote this code, that's why there are showMap1, showMap2 and showMap3 ;-)

andrew

2017-05-17 23:51

reporter   ~0002546

Is this why Geosetter displays Los Angeles in top left corner for a moment then disappears and says "Sorry! Something went wrong - The page didn't load Google Maps correctly. See the JavaScript console for technical details"
 - or is that a separate error?

samfares

2017-05-18 02:46

reporter   ~0002547

Hi
When i try to download the zip file it state file not found

naneyoo

2017-05-18 03:50

reporter   ~0002548

me too cant find the file..help

mantis

2017-05-18 07:22

reporter   ~0002549

Registered an account here just to say thank you to Friedemann!

Stoffel

2017-05-18 09:03

reporter   ~0002550

9:01 (Central European Summer Time): Perfect! :-) It seems to work and the map is loading correctly again. Thanks a lot!

obetz

2017-05-18 09:09

reporter   ~0002551

the map doesn't work correctly with a copy on my hosting account:

I downloaded http://www.geosetter.de/map_google.html, inserted my own Google API key, uploaded it to my own web site and changed the path in config.ini to my own URL.

Now it shows the map and the track, but not the image locations and viewing directions/angles.

What did I miss?

After all, the map on geosetter.de seems to work now, but if I can, I want to put the load on my own key and site.

DenisPac

2017-05-18 10:14

reporter   ~0002552

@obetz, you don't need this workaround anymore since the regular map file is working just fine since this morning.

denis1807

2017-05-18 10:27

reporter   ~0002554

Thanks a lot, for your works Friedemann, now works flawlessly!!!

Friedemann

2017-05-18 10:35

administrator   ~0002555

Yesterday I removed the zip file from my server as it still did contain the wrong map file. I didn't replace it. When using your own API key with your own copy of the map file, then you won't notice any changes I do maybe on the map. It's not very often I do it, but sometimes I will. Do I maybe have to consider this in the next version of GeoSetter, maybe a versioning functionalety and automatic download of all needed files for using it with your private key?

@obetz:

> Now it shows the map and the track, but not the image locations
> and viewing directions/angles.

yes, of course, there are some images which will be referenced. And BTW, you don't have to upload it to any server, you can simply put the files in a folder located on your harddisk, for example into a subfolder of your GeoSetter folder.

Jonesthemap

2017-05-18 11:53

reporter   ~0002556

I'm newly registered, great software, been using for some years. I ended up removing the software because of problems in the last few days. Can you explain how I can re-install and get going again? I'm afraid I'm not savvy with regard to making programme changes, do I need to wait for an upgrade? Thanks

Friedemann

2017-05-18 12:07

administrator   ~0002557

@Jonesthemap: No, you don't have to wait. Simply reinstall it. I recommend the "beta" version (http://www.geosetter.de/geosetter_setup.exe) which contains some changes from the last years. You can see some changes here: http://www.geosetter.de/mantis/changelog_page.php

It looks a bit strange, the "beta" now exists for about 6 years. I simply didn't release it as an official version because of all the things I had to do then, changing the website etc.. As I said already I'm just working on a new major version. But until then, I recommend the beta version which runs as stable as the officiual version 3.4.16 does...

naneyoo

2017-05-18 12:12

reporter   ~0002558

Thank you.. the map is working now..

Malcolm_Ferguson

2017-05-18 12:58

reporter   ~0002559

Vielen Dank Friedemann. It's working well again.

Jonesthemap

2017-05-20 13:46

reporter   ~0002562

Friedemann thank you so much for your prompt reply, I'm up and running again! It's a great piece of software. Cheers

arvid

2017-06-01 09:20

reporter   ~0002575

Friedemann, it show the file:
http://download.friedemann.info/geosetter_map.zip
not found!

Issue History

Date Modified Username Field Change
2017-05-16 07:44 sjmcmurray New Issue
2017-05-16 07:44 sjmcmurray File Added: aaa.pdf
2017-05-16 08:08 Stoffel Note Added: 0002492
2017-05-16 08:08 Stoffel Note Edited: 0002492 View Revisions
2017-05-16 08:16 Stoffel Note Edited: 0002492 View Revisions
2017-05-16 08:54 Friedemann Note Added: 0002493
2017-05-16 08:55 Friedemann Assigned To => Friedemann
2017-05-16 08:55 Friedemann Status new => assigned
2017-05-16 08:55 Friedemann Status assigned => confirmed
2017-05-16 08:56 Friedemann Note Edited: 0002493 View Revisions
2017-05-16 09:18 Friedemann Relationship added has duplicate 0001465
2017-05-16 09:18 Friedemann Note Edited: 0002493 View Revisions
2017-05-16 14:12 Friedemann Relationship added duplicate of 0001466
2017-05-16 16:21 Friedemann Relationship added has duplicate 0001467
2017-05-16 18:19 Friedemann Note Added: 0002498
2017-05-16 18:31 Suedlicht Note Added: 0002499
2017-05-16 18:35 Friedemann Note Added: 0002500
2017-05-16 18:36 Friedemann Note Added: 0002501
2017-05-16 19:24 Suedlicht Note Added: 0002502
2017-05-16 20:22 othmarmarti Note Added: 0002503
2017-05-16 21:46 Friedemann Note Added: 0002504
2017-05-16 21:51 othmarmarti Note Added: 0002505
2017-05-17 01:40 sjmcmurray Note Added: 0002509
2017-05-17 05:55 Stoffel Note Added: 0002512
2017-05-17 07:42 Friedemann Note Added: 0002513
2017-05-17 07:44 Friedemann File Added: google_maps_loads.jpg
2017-05-17 09:10 Stoffel Note Added: 0002516
2017-05-17 09:45 Friedemann Note Added: 0002517
2017-05-17 10:29 kh1234567890 File Added: download.png
2017-05-17 10:30 kh1234567890 Note Added: 0002520
2017-05-17 10:39 Friedemann Note Added: 0002521
2017-05-17 10:42 sipeoutdoor Note Added: 0002522
2017-05-17 10:48 Friedemann Note Added: 0002523
2017-05-17 10:54 kh1234567890 Note Added: 0002524
2017-05-17 11:38 denis1807 Note Added: 0002525
2017-05-17 12:17 sipeoutdoor Note Added: 0002526
2017-05-17 12:43 Malcolm_Ferguson Note Added: 0002528
2017-05-17 12:44 Malcolm_Ferguson Note Edited: 0002528 View Revisions
2017-05-17 12:46 Malcolm_Ferguson Note Edited: 0002528 View Revisions
2017-05-17 12:50 Friedemann Note Added: 0002529
2017-05-17 12:50 gabiandrone Note Added: 0002530
2017-05-17 12:52 Friedemann Note Added: 0002531
2017-05-17 12:57 Friedemann Note Added: 0002532
2017-05-17 13:17 Malcolm_Ferguson Note Added: 0002533
2017-05-17 13:19 Friedemann Note Added: 0002534
2017-05-17 13:21 Malcolm_Ferguson Note Edited: 0002533 View Revisions
2017-05-17 13:21 Friedemann Note Added: 0002535
2017-05-17 13:22 Malcolm_Ferguson Note Added: 0002536
2017-05-17 13:24 Friedemann Note Added: 0002537
2017-05-17 18:22 Friedemann Note Added: 0002538
2017-05-17 19:18 Stoffel Note Added: 0002540
2017-05-17 19:25 kh1234567890 Note Added: 0002541
2017-05-17 21:51 zava Note Added: 0002543
2017-05-17 22:08 gabiandrone Note Added: 0002544
2017-05-17 22:22 Friedemann Note Added: 0002545
2017-05-17 23:51 andrew Note Added: 0002546
2017-05-18 02:46 samfares Note Added: 0002547
2017-05-18 03:50 naneyoo Note Added: 0002548
2017-05-18 07:22 mantis Note Added: 0002549
2017-05-18 09:03 Stoffel Note Added: 0002550
2017-05-18 09:09 obetz Note Added: 0002551
2017-05-18 10:14 DenisPac Note Added: 0002552
2017-05-18 10:27 denis1807 Note Added: 0002554
2017-05-18 10:35 Friedemann Note Added: 0002555
2017-05-18 11:53 Jonesthemap Note Added: 0002556
2017-05-18 12:07 Friedemann Note Added: 0002557
2017-05-18 12:12 naneyoo Note Added: 0002558
2017-05-18 12:58 Malcolm_Ferguson Note Added: 0002559
2017-05-20 13:46 Jonesthemap Note Added: 0002562
2017-06-01 09:20 arvid Note Added: 0002575
2017-06-19 23:43 Friedemann Status confirmed => resolved
2017-06-19 23:43 Friedemann Resolution open => fixed