Opened 4 years ago

Last modified 4 years ago

#22007 closed defect

java.util.zip.ZipException: Corrupt GZIP trailer for https://api.openstreetmap.org/api/0.6/user/details — at Initial Version

Reported by: Mongenet Owned by: team
Priority: normal Milestone:
Component: Core Version: tested
Keywords: Cc:

Description

This error appeared about 2 weeks ago on my Arch Linux system. I tried with a fresh Unix user account, with another Java version, but always the same error.
On the same computer, I tried with a Manjaro live DVD and with Windows, both work OK.

$ java -jar josm-tested.jar --debug
2022-04-10 14:47:08.911 INFO: Log level is at FINE (FINE, 500)
2022-04-10 14:47:08.927 FINE: lsb_release -i -s
2022-04-10 14:47:09.221 FINE: System property 'http.agent' set to 'JOSM/1.5 (18427 en) Linux Arch Linux'. Old value was 'null'
2022-04-10 14:47:09.221 FINE: System property 'user.language' set to . Old value was 'en'
2022-04-10 14:47:09.222 FINE: System property 'sun.net.http.retryPost' set to 'false'. Old value was 'null'
2022-04-10 14:47:09.222 FINE: System property 'java.security.manager' set to 'allow'. Old value was 'null'
2022-04-10 14:47:10.148 FINE: System property 'java.protocol.handler.pkgs' set to 'org.openstreetmap.josm.io.protocols'. Old value was 'null'
2022-04-10 14:47:10.272 FINE: Determining plugins to load...
2022-04-10 14:47:10.273 FINE: Plugins list initialized to []
2022-04-10 14:47:10.273 FINE: Removing deprecated plugins...
2022-04-10 14:47:10.273 FINE: Removing unmaintained plugins...
2022-04-10 14:47:10.274 FINE: Plugins list is finally set to []
2022-04-10 14:47:10.279 FINE: Reading local plugin information..
2022-04-10 14:47:10.290 FINE:
2022-04-10 14:47:10.298 FINE: Loading plugins ...
2022-04-10 14:47:10.299 FINE: Checking plugin preconditions...
2022-04-10 14:47:10.631 FINE: System property 'java.net.preferIPv6Addresses' set to 'true'. Old value was 'null'
2022-04-10 14:47:10.632 INFO: Detected usable IPv6 network, preferring IPv6 over IPv4 after next restart.
2022-04-10 14:47:10.742 FINE: Initializing
2022-04-10 14:47:10.744 FINE: Determining plugins to load...
2022-04-10 14:47:10.745 FINE: Plugins list initialized to []
2022-04-10 14:47:10.745 FINE: Removing deprecated plugins...
2022-04-10 14:47:10.745 FINE: Removing unmaintained plugins...
2022-04-10 14:47:10.746 FINE: Plugins list is finally set to []
2022-04-10 14:47:10.746 FINE: Reading local plugin information..
2022-04-10 14:47:10.811 FINE: Installing updated plugins
2022-04-10 14:47:10.812 FINE: Loading early plugins
2022-04-10 14:47:10.812 FINE: Loading plugins ...
2022-04-10 14:47:10.813 FINE: Checking plugin preconditions...
2022-04-10 14:47:10.813 FINE: Setting defaults
2022-04-10 14:47:11.125 FINE: Creating main GUI
2022-04-10 14:47:11.149 FINE: Initializing coordinate format
2022-04-10 14:47:11.160 FINE: Initializing coordinate format completed in 9 ms
2022-04-10 14:47:11.160 FINE: Starting file watcher
2022-04-10 14:47:11.167 FINE: Starting file watcher completed in 6 ms
2022-04-10 14:47:11.168 FINE: Executing platform startup hook
2022-04-10 14:47:11.171 FINE: Executing platform startup hook completed in 1 ms
2022-04-10 14:47:11.171 FINE: Building main menu
2022-04-10 14:47:11.177 FINE: File watcher thread started
2022-04-10 14:47:11.489 FINE: VM arguments: []
2022-04-10 14:47:12.250 FINE:
2022-04-10 14:47:12.250 FINE: Reading user info ...
2022-04-10 14:47:12.253 FINE: Starting SAX parsing of org.xml.sax.InputSource@10dc7d6 using org.openstreetmap.josm.io.Capabilities$CapabilitiesParser@4f668f29
2022-04-10 14:47:12.255 FINE: SAX parsing completed in 2 ms
2022-04-10 14:47:12.290 FINE: Contacting Server...
2022-04-10 14:47:12.291 FINE: REQUEST HEADERS: {Accept=application/xml, */*;q=0.8, Accept-Encoding=gzip, deflate, Authorization=OAuth oauth_consumer_key="F7zPYlVCqE2BUH9Hr4SsWZSOnrKjpug1EgqkbsSb", oauth_nonce="-468653792018358418", oauth_signature="IxJuJZVSU34xC88GRhDi9DIHhAE%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1649594832", oauth_token="aDiJvA2HRhfONElasB3g9NM4ARaOq7ExpQNunVYk", oauth_version="1.0"}
2022-04-10 14:47:12.541 INFO: GET https://api.openstreetmap.org/api/0.6/user/details -> HTTP/1.1 200 (249 ms; 444 B)
2022-04-10 14:47:12.541 FINE: RESPONSE HEADERS: {null=[HTTP/1.1 200 OK], Server=[Apache/2.4.41 (Ubuntu)], X-Runtime=[0.040640], X-Permitted-Cross-Domain-Policies=[none], Upgrade=[h2,h2c], X-Frame-Options=[sameorigin], Referrer-Policy=[strict-origin-when-cross-origin], Strict-Transport-Security=[max-age=31536000; includeSubDomains; preload], Content-Security-Policy=[default-src 'self'; child-src 'self'; connect-src 'self' piwik.openstreetmap.org; font-src 'none'; form-action 'self'; frame-ancestors 'self'; frame-src 'self'; img-src 'self' data: www.gravatar.com *.wp.com tile.openstreetmap.org *.tile.openstreetmap.org *.tile.thunderforest.com tileserver.memomaps.de *.openstreetmap.fr piwik.openstreetmap.org https://openstreetmap-user-avatars.s3.dualstack.eu-west-1.amazonaws.com https://openstreetmap-gps-images.s3.dualstack.eu-west-1.amazonaws.com; manifest-src 'self'; media-src 'none'; object-src 'self'; script-src 'self' piwik.openstreetmap.org; style-src 'self'; worker-src 'none'], Content-Encoding=[gzip], Set-Cookie=[], Content-Length=[444], X-XSS-Protection=[1; mode=block], Content-Type=[application/xml; charset=utf-8], X-Powered-By=[Phusion Passenger(R) 6.0.13], Keep-Alive=[timeout=5, max=100], Status=[200 OK], X-Request-Id=[YlLR0FqP4PtnB6rj5QQxCwAAAVk], X-Content-Type-Options=[nosniff], Connection=[Keep-Alive], X-Download-Options=[noopen], Date=[Sun, 10 Apr 2022 12:47:12 GMT], Cache-Control=[max-age=0, private, must-revalidate], ETag=[W/"a7846516b9bee7a7f4e0c628364e1169-gzip"], Vary=[Origin,Accept-Encoding], Expect-CT=[max-age=0, report-uri="https://openstreetmap.report-uri.com/r/d/ct/reportOnly"]}
2022-04-10 14:47:12.542 FINE: Downloading data...
2022-04-10 14:47:12.547 FINE: Starting DOM parsing of java.util.zip.GZIPInputStream@3b920bdc
2022-04-10 14:47:12.557 SEVERE: org.openstreetmap.josm.io.OsmTransferException: java.util.zip.ZipException: Corrupt GZIP trailer. Cause: java.util.zip.ZipException: Corrupt GZIP trailer
org.openstreetmap.josm.io.OsmTransferException: java.util.zip.ZipException: Corrupt GZIP trailer

at org.openstreetmap.josm.io.OsmServerReader.fetchData(OsmServerReader.java:430)
at org.openstreetmap.josm.io.OsmServerUserInfoReader.fetchUserInfo(OsmServerUserInfoReader.java:170)
at org.openstreetmap.josm.io.OsmServerUserInfoReader.fetchUserInfo(OsmServerUserInfoReader.java:158)
at org.openstreetmap.josm.data.UserIdentityManager.initFromOAuth(UserIdentityManager.java:239)
at org.openstreetmap.josm.data.UserIdentityManager.getInstance(UserIdentityManager.java:74)
at org.openstreetmap.josm.gui.MainFrame.initialize(MainFrame.java:118)
at org.openstreetmap.josm.gui.MainApplication.initializeMainWindow(MainApplication.java:416)
at org.openstreetmap.josm.spi.lifecycle.InitializationTask.call(InitializationTask.java:33)
at org.openstreetmap.josm.spi.lifecycle.Lifecycle.runInitializationTasks(Lifecycle.java:103)
at org.openstreetmap.josm.spi.lifecycle.Lifecycle.initialize(Lifecycle.java:71)
at org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:954)
at org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:282)
at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:742)

Caused by: java.util.zip.ZipException: Corrupt GZIP trailer

at java.base/java.util.zip.GZIPInputStream.readTrailer(GZIPInputStream.java:225)
at java.base/java.util.zip.GZIPInputStream.read(GZIPInputStream.java:119)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:3063)
at java.xml/com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:303)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1699)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipSpaces(XMLEntityScanner.java:1459)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$TrailingMiscDriver.next(XMLDocumentScannerImpl.java:1374)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:542)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:247)
at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:342)
at java.xml/javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:122)
at org.openstreetmap.josm.tools.XmlUtils.parseSafeDOM(XmlUtils.java:91)
at org.openstreetmap.josm.io.OsmServerReader.fetchData(OsmServerReader.java:425)
... 12 more

2022-04-10 14:47:12.813 FINE: Building main menu completed in 1.6 s
2022-04-10 14:47:12.813 FINE: Updating user interface
2022-04-10 14:47:12.825 FINE: Contacting Server...
2022-04-10 14:47:12.826 FINE: Updating user interface completed in 12 ms
2022-04-10 14:47:12.826 FINE: REQUEST HEADERS: {Accept=*/*, Accept-Encoding=gzip, deflate}
2022-04-10 14:47:12.827 FINE: Initializing internal boundaries data
2022-04-10 14:47:12.860 FINE: Prepare OSM data...
2022-04-10 14:47:12.861 FINE: Parsing OSM data...
2022-04-10 14:47:13.130 FINE: Preparing data set...
2022-04-10 14:47:13.165 INFO: GET https://josm.openstreetmap.de/wiki/StartupPage -> HTTP/1.1 200 (339 ms)
2022-04-10 14:47:13.166 FINE: RESPONSE HEADERS: {Transfer-Encoding=[chunked], Keep-Alive=[timeout=5, max=100], null=[HTTP/1.1 200 Ok], Server=[Apache/2.4.29 (Ubuntu)], Connection=[Keep-Alive], Date=[Sun, 10 Apr 2022 12:47:12 GMT], Strict-Transport-Security=[max-age=16070400; includeSubDomains], Cache-Control=[must-revalidate], Content-Encoding=[gzip], Vary=[Accept-Encoding], Set-Cookie=[, ], Expires=[Fri, 01 Jan 1999 00:00:00 GMT], X-Clacks-Overhead=[GNU Terry Pratchett], Content-Type=[text/html;charset=utf-8]}
2022-04-10 14:47:13.167 FINE: Downloading data...
2022-04-10 14:47:13.171 WARNING: Failed to read MOTD. Exception was: java.util.zip.ZipException: Corrupt GZIP trailer: java.util.zip.ZipException: Corrupt GZIP trailer
2022-04-10 14:47:13.283 FINE: Post-processing data set...
2022-04-10 14:47:13.284 FINE: Rendering data set...
2022-04-10 14:47:13.523 FINE: Skipping null because inner part of United Kingdom
2022-04-10 14:47:13.524 FINE: Skipping null because inner part of United Kingdom
2022-04-10 14:47:13.746 FINE: Skipping Lesotho because inner part of South Africa
2022-04-10 14:47:13.801 FINE: Retaining boundaries.osm to allow editing via advanced preferences
2022-04-10 14:47:13.843 FINE: Initializing internal boundaries data completed in 1.0 s
2022-04-10 14:47:13.862 FINE: Initializing OSM API
2022-04-10 14:47:13.863 FINE: Initializing OSM API completed in 0 ms
2022-04-10 14:47:13.864 FINE: Initializing validator
2022-04-10 14:47:13.878 FINE: Initializing presets
2022-04-10 14:47:13.885 FINE: Initializing Tag2Link rules
2022-04-10 14:47:13.885 FINE: Initializing map styles
2022-04-10 14:47:13.886 FINE: Reading presets from resource://data/defaultpresets.xml
2022-04-10 14:47:13.896 INFO: Obtained 82 Tag2Link rules from resource://META-INF/resources/webjars/tag2link/2021.3.21/index.json
2022-04-10 14:47:13.896 FINE: Initializing Tag2Link rules completed in 10 ms
2022-04-10 14:47:13.897 FINE: Loading imagery preferences
2022-04-10 14:47:13.972 FINE: Initializing validator completed in 107 ms
2022-04-10 14:47:13.991 FINE: Contacting Server...
2022-04-10 14:47:13.991 FINE: REQUEST HEADERS: {Accept=null, Accept-Encoding=gzip, deflate}
2022-04-10 14:47:14.050 INFO: GET https://josm.openstreetmap.de/maps?ids=Bing%2CEsriWorldImagery%2CEsriWorldImageryClarity%2CMapbox%2CMaxar-Premium%2Cstandard -> HTTP/1.1 200 (58 ms)
2022-04-10 14:47:14.051 FINE: RESPONSE HEADERS: {Transfer-Encoding=[chunked], Keep-Alive=[timeout=5, max=99], null=[HTTP/1.1 200 OK], Strict-Transport-Security=[max-age=16070400; includeSubDomains], Server=[Apache/2.4.29 (Ubuntu)], Connection=[Keep-Alive], Content-Encoding=[gzip], Vary=[Accept-Encoding], Last-Modified=[Tue, 05 Apr 2022 22:36:16 GMT], X-Clacks-Overhead=[GNU Terry Pratchett], Date=[Sun, 10 Apr 2022 12:47:14 GMT], Content-Type=[text/xml;charset=utf-8]}
2022-04-10 14:47:14.051 FINE: Downloading data...
2022-04-10 14:47:14.374 FINE: Initializing map style resource://styles/standard/elemstyles.mapcss completed in 461 ms
2022-04-10 14:47:14.465 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.465 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.465 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.466 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.466 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.466 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.466 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.467 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.467 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.467 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.515 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.537 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.537 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.537 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.538 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.538 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.538 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.539 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.539 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.539 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.540 INFO: Defaults for clr.mappaint.New basic style.node_selected differ: mappaint, New basic style, node_selected != mappaint, New basic style, node_selected
2022-04-10 14:47:14.590 FINE: Initializing map styles completed in 703 ms
2022-04-10 14:47:15.124 SEVERE: java.util.zip.ZipException: Corrupt GZIP trailer
2022-04-10 14:47:15.158 FINE: Loading imagery preferences completed in 1.3 s
2022-04-10 14:47:17.069 FINE: Reading presets completed in 3.2 s
2022-04-10 14:47:17.294 FINE: Initializing presets completed in 3.4 s
2022-04-10 14:47:17.326 FINE: Updating user interface
2022-04-10 14:47:17.327 FINE: Initializing validator tests
2022-04-10 14:47:17.329 FINE: Adding resource://data/validator/addresses.mapcss to tag checker
2022-04-10 14:47:17.336 FINE: Adding resource://data/validator/combinations.mapcss to tag checker
2022-04-10 14:47:17.362 FINE: Updating user interface completed in 35 ms
2022-04-10 14:47:17.363 FINE: Loading plugins
2022-04-10 14:47:17.363 FINE: Loading plugins ...
2022-04-10 14:47:17.364 FINE: Checking plugin preconditions...
2022-04-10 14:47:17.407 FINE: Adding resource://data/validator/deprecated.mapcss to tag checker
2022-04-10 14:47:17.486 FINE: Instance is null, returning unconfigured instance
2022-04-10 14:47:17.490 FINE: Adding resource://data/validator/geometry.mapcss to tag checker
2022-04-10 14:47:17.504 FINE: Adding resource://data/validator/highway.mapcss to tag checker
2022-04-10 14:47:17.525 FINE: Adding resource://data/validator/multiple.mapcss to tag checker
2022-04-10 14:47:17.539 FINE: Adding resource://data/validator/numeric.mapcss to tag checker
2022-04-10 14:47:17.570 FINE: Adding resource://data/validator/religion.mapcss to tag checker
2022-04-10 14:47:17.572 FINE: Adding resource://data/validator/relation.mapcss to tag checker
2022-04-10 14:47:17.575 FINE: Adding resource://data/validator/territories.mapcss to tag checker
2022-04-10 14:47:17.582 FINE: Adding resource://data/validator/unnecessary.mapcss to tag checker
2022-04-10 14:47:17.592 FINE: Adding resource://data/validator/wikipedia.mapcss to tag checker
2022-04-10 14:47:17.648 FINE: Setting default auxiliaries to "null"
2022-04-10 14:47:17.650 FINE: Initializing validator tests completed in 322 ms
2022-04-10 14:47:17.663 FINE: setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
2022-04-10 14:47:17.673 FINE: setting defaultElementAttributes to [ IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE = true, IS_ETERNAL = false, MaxLifeSeconds = -1, IdleTime = -1, CreateTime = 1649594837669, LastAccessTime = 1649594837669, getTimeToLiveSeconds() = -1, createTime = 1649594837669 ]
2022-04-10 14:47:17.677 FINE: Parsed regions []
2022-04-10 14:47:17.679 FINE: Finished configuration in 31 ms.
2022-04-10 14:47:17.680 FINE: No special ElementAttribute class defined for key [jcs.region.TMS.elementattributes], using default class.
2022-04-10 14:47:17.708 FINE: initialized MemoryCache for TMS
2022-04-10 14:47:17.708 FINE: Constructed cache with name [TMS] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 0, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
2022-04-10 14:47:17.721 FINE: Region [TMS_BLOCK_v2] : Constructing BlockDiskCache with attributes
BlockDiskAttributes

DiskPath home/marc/.cache/JOSM/tiles
MaxKeySize [533638]
MaxPurgatorySize [5000]
BlockSizeBytes [4096]
KeyPersistenceIntervalSeconds [300]
DiskLimitType [SIZE]

2022-04-10 14:47:17.722 FINE: Region [TMS_BLOCK_v2] : Cache file root directory: home/marc/.cache/JOSM/tiles
2022-04-10 14:47:17.723 FINE: Constructing BlockDisk, blockSizeBytes [4?096]
2022-04-10 14:47:17.724 FINE: Region [TMS_BLOCK_v2] : Cache file root directory home/marc/.cache/JOSM/tiles
2022-04-10 14:47:17.724 FINE: Region [TMS_BLOCK_v2] : Key File home/marc/.cache/JOSM/tiles/TMS_BLOCK_v2.key
2022-04-10 14:47:17.725 FINE: Region [TMS_BLOCK_v2] : Loading keys for /home/marc/.cache/JOSM/tiles/TMS_BLOCK_v2.key
2022-04-10 14:47:17.726 FINE: Region [TMS_BLOCK_v2] : Set maxKeySize to: "533?638"
2022-04-10 14:47:17.767 INFO: Message notifier active (checks every 5 minutes)
2022-04-10 14:47:17.772 INFO: Changeset updater active (checks every 60 minutes if open changesets have been closed)
2022-04-10 14:47:17.772 FINE:
2022-04-10 14:47:17.773 FINE: Reading user info ...
2022-04-10 14:47:17.773 FINE: Contacting Server...
2022-04-10 14:47:17.774 FINE: REQUEST HEADERS: {Accept=application/xml, */*;q=0.8, Accept-Encoding=gzip, deflate, Authorization=OAuth oauth_consumer_key="F7zPYlVCqE2BUH9Hr4SsWZSOnrKjpug1EgqkbsSb", oauth_nonce="-7622826456792098898", oauth_signature="t43K2hBDt5nIqqssLoUhx4bVBh4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1649594837", oauth_token="aDiJvA2HRhfONElasB3g9NM4ARaOq7ExpQNunVYk", oauth_version="1.0"}
2022-04-10 14:47:17.937 INFO: GET https://api.openstreetmap.org/api/0.6/user/details (get number of unread messages) -> HTTP/1.1 200 (163 ms; 444 B)
2022-04-10 14:47:17.937 FINE: RESPONSE HEADERS: {null=[HTTP/1.1 200 OK], Server=[Apache/2.4.41 (Ubuntu)], X-Runtime=[0.056517], X-Permitted-Cross-Domain-Policies=[none], Upgrade=[h2,h2c], X-Frame-Options=[sameorigin], Referrer-Policy=[strict-origin-when-cross-origin], Strict-Transport-Security=[max-age=31536000; includeSubDomains; preload], Content-Security-Policy=[default-src 'self'; child-src 'self'; connect-src 'self' piwik.openstreetmap.org; font-src 'none'; form-action 'self'; frame-ancestors 'self'; frame-src 'self'; img-src 'self' data: www.gravatar.com *.wp.com tile.openstreetmap.org *.tile.openstreetmap.org *.tile.thunderforest.com tileserver.memomaps.de *.openstreetmap.fr piwik.openstreetmap.org https://openstreetmap-user-avatars.s3.dualstack.eu-west-1.amazonaws.com https://openstreetmap-gps-images.s3.dualstack.eu-west-1.amazonaws.com; manifest-src 'self'; media-src 'none'; object-src 'self'; script-src 'self' piwik.openstreetmap.org; style-src 'self'; worker-src 'none'], Content-Encoding=[gzip], Content-Length=[444], X-XSS-Protection=[1; mode=block], Content-Type=[application/xml; charset=utf-8], X-Powered-By=[Phusion Passenger(R) 6.0.13], Keep-Alive=[timeout=5, max=100], Status=[200 OK], X-Request-Id=[YlLR1bLvbiCBfAIs7cLPhgAAAEY], X-Content-Type-Options=[nosniff], Connection=[Keep-Alive], X-Download-Options=[noopen], Date=[Sun, 10 Apr 2022 12:47:17 GMT], Cache-Control=[max-age=0, private, must-revalidate], ETag=[W/"a7846516b9bee7a7f4e0c628364e1169-gzip"], Vary=[Origin,Accept-Encoding], Expect-CT=[max-age=0, report-uri="https://openstreetmap.report-uri.com/r/d/ct/reportOnly"]}
2022-04-10 14:47:17.937 FINE: Downloading data...
2022-04-10 14:47:17.938 FINE: Starting DOM parsing of java.util.zip.GZIPInputStream@35e279bb
2022-04-10 14:47:17.939 WARNING: org.openstreetmap.josm.io.OsmTransferException: java.util.zip.ZipException: Corrupt GZIP trailer. Cause: java.util.zip.ZipException: Corrupt GZIP trailer
org.openstreetmap.josm.io.OsmTransferException: java.util.zip.ZipException: Corrupt GZIP trailer

at org.openstreetmap.josm.io.OsmServerReader.fetchData(OsmServerReader.java:430)
at org.openstreetmap.josm.io.OsmServerUserInfoReader.fetchUserInfo(OsmServerUserInfoReader.java:170)
at org.openstreetmap.josm.io.MessageNotifier$Worker.run(MessageNotifier.java:83)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)

Caused by: java.util.zip.ZipException: Corrupt GZIP trailer

at java.base/java.util.zip.GZIPInputStream.readTrailer(GZIPInputStream.java:225)
at java.base/java.util.zip.GZIPInputStream.read(GZIPInputStream.java:119)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:3063)
at java.xml/com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:303)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1699)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipSpaces(XMLEntityScanner.java:1459)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$TrailingMiscDriver.next(XMLDocumentScannerImpl.java:1374)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:542)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:247)
at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:342)
at java.xml/javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:122)
at org.openstreetmap.josm.tools.XmlUtils.parseSafeDOM(XmlUtils.java:91)
at org.openstreetmap.josm.io.OsmServerReader.fetchData(OsmServerReader.java:425)
... 8 more

2022-04-10 14:47:17.996 FINE: Region [TMS_BLOCK_v2] : Loaded keys from [TMS_BLOCK_v2], key count: 38?374; up to 533?638 will be available.
2022-04-10 14:47:18.340 FINE: Region [TMS_BLOCK_v2] : Block Disk Cache is alive.

Change History (0)

Note: See TracTickets for help on using tickets.