Opened 3 months ago
Last modified 2 weeks ago
#22795 needinfo defect
Mapbox and Maxar imagery not working due to invalid API keys
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core imagery | Version: | tested |
Keywords: | template_report | Cc: |
Description
For the past 2 months, I couldn't have Mapbox and Maxar imageries work due to invalid API keys. How do I fix this problem?
Mapbox- https://i.imgur.com/xQnq6p9.png
Maxar- https://i.imgur.com/8MSCSnQ.png
Revision:18678 Build-Date:2023-03-02 13:34:23 Identification: JOSM/1.5 (18678 en) Windows 10 64-Bit OS Build number: Windows 10 Home Single Language 2009 (19045) Memory Usage: 1960 MB / 1960 MB (40 MB allocated, but free) Java version: 17.0.6+10-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920×1080 (scaling 1.50×1.50) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→48×48, 32×32→48×48 System property file.encoding: Cp1252 System property sun.jnu.encoding: Cp1252 Locale info: en_MY Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=1.5.18678, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe] Dataset consistency test: No problems found Plugins: + AddrInterpolation (36011) + Create_grid_of_ways (35976) + CustomizePublicTransportStop (35976) + FastDraw (36057) + ImproveOsm (235) + MakeParallel (v1.1.0) + Mapillary (2.1.1) + OpeningHoursEditor (35924) + SimplifyArea (35978) + alignways (36011) + apache-commons (36034) + apache-http (35924) + buildings_tools (36011) + contourmerge (v0.1.9) + damn (0.9.1) + gridify (1606242219) + jaxb (35952) + jna (36005) + josm_magic_wand (1.1.0) + mapwithai (787) + microdata_scraping (1608227152) + routes (35893) + shrinkwrap (v1.0.4) + terracer (35978) + utilsplugin2 (36011) + wikipedia (605) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/pedestrian_crossings_in_DE&zip=1 Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1 Last errors/warnings: - 04730.280 W: Unable to find supported projection for layer Lantmäteriet terrängskuggning. Using EPSG:3857. - 04742.494 E: Failed to locate image 'https://vbk.lansstyrelsen.se/Content/images/logo.png' - 04766.323 E: Failed to locate image 'https://vbk.lansstyrelsen.se/Content/images/logo.png' - 04774.990 E: Failed to locate image 'https://vbk.lansstyrelsen.se/Content/images/logo.png' - 04783.107 E: Failed to locate image 'https://vbk.lansstyrelsen.se/Content/images/logo.png' - 04784.033 W: Unable to find supported projection for layer Lantmäteriet ortofoto. Using EPSG:3857. - 04784.035 W: Unable to find supported projection for layer Lantmäteriet ortofoto. Using EPSG:3857. - 04797.113 E: Failed to locate image 'https://vbk.lansstyrelsen.se/Content/images/logo.png' - 04841.588 E: Failed to locate image 'https://vbk.lansstyrelsen.se/Content/images/logo.png' - 04895.822 E: Failed to locate image 'https://vbk.lansstyrelsen.se/Content/images/logo.png'
Attachments (0)
Change History (8)
comment:1 follow-up: 4 Changed 3 months ago by
Owner: | changed from team to anonymous |
---|---|
Status: | new → needinfo |
comment:2 follow-up: 5 Changed 3 months ago by
Version: | latest → tested |
---|
How do you open the imagery layers? Do you use the default entries or something else like a session or customized entries?
For the default entries an update (button in the middle of imagery preferences) might do the job.
comment:3 Changed 3 months ago by
An implementation note for the API keys: they are downloaded and then stored in memory. At this time, the only way to "clear" or "reset" them is to restart JOSM. Clearing the tile cache might help if the cache is misbehaving and storing error tiles, but should do nothing.
If they are using a session file, then they should be able to remove the image entries and readd them, then save the session again.
comment:4 Changed 3 months ago by
Replying to Klumbumbus: Sorry, this didn't work.
Please clear your tile cache to see if that fixes the problem.
wiki:/Help/Preferences/Imagery#Cache
comment:5 Changed 3 months ago by
Replying to skyper: I use the default entries. Unfortunately, updating the entries didn't work.
How do you open the imagery layers? Do you use the default entries or something else like a session or customized entries?
For the default entries an update (button in the middle of imagery preferences) might do the job.
comment:6 Changed 3 months ago by
You aren't the only one this has happened to. On discord(?), I think someone said that they had success after removing the problematic entries from the default imagery list and then re-adding them. If you are able, we would appreciate the current imagery settings so that we can hopefully reproduce.
If you have Expert Mode
enabled, can you go to JOSM Preferences -> Advanced Preferences
-> do a search for imagery
-> select all of the entries (select one + ctrl
+a
should do it) -> Export selected items. Please check and make certain that you are not uploading any private information.
comment:7 follow-up: 8 Changed 2 months ago by
Maxar and Mapbox entries stop working after changing their Menu Name.
However, reverting back to original, default name, doesn't help. One needs to remove and readd these entries from default imagery list to fix this.
comment:8 Changed 2 weeks ago by
Thank you. Mapbox and Maxar now work in JOSM.
Replying to maraf:
Maxar and Mapbox entries stop working after changing their Menu Name.
However, reverting back to original, default name, doesn't help. One needs to remove and readd these entries from default imagery list to fix this.
Please clear your tile cache to see if that fixes the problem.
wiki:/Help/Preferences/Imagery#Cache