-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed URL requests #458
Comments
Hi @RBJRBJ, thanks for the report. When you start the Activity, do you see any map tiles appear? I'm wondering whether this error is happening to all URL requests or just some of them. |
Hi Matt,
Yes, the map tiles appear normally on the screen but the errors are in the
log. I usually see 1 to 4 errors. When I rotate the device other tiles will
appear and more errors.
Below is part of the log when after I rotated the device, with an exception.
Regards,
Robert
09-25 20:56:00.800 24544-26276/com.xyz E/Tangram: Failed url request:
https://tile.mapzen.com/mapzen/vector/v1/all/14/8412/5383.topojson?api_key=mapzen-UwAcJ7z&
java.io.IOException: Canceled
09-25 20:56:02.604 24544-26271/com.xyz E/Tangram: Failed url request:
https://tile.mapzen.com/mapzen/vector/v1/all/16/33661/21536.topojson?api_key=mapzen-UwAcJ7z&
java.io.IOException: Canceled
09-25 20:56:02.903 24544-26275/com.xyz E/Tangram: Failed url request:
https://tile.mapzen.com/mapzen/vector/v1/all/15/16827/10771.topojson?api_key=mapzen-UwAcJ7z&
java.io.IOException: Canceled
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: Callback failure for
canceled call to https://tile.mapzen.com/...
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: java.net.SocketException:
Socket closed
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: at
com.android.org.conscrypt.NativeCrypto.SSL_read(Native Method)
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: at
com.android.org.conscrypt.OpenSSLSocketImpl$SSLInputStream.read(OpenSSLSocketImpl.java:699)
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: at
okio.Okio$2.read(Okio.java:138)
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: at
okio.AsyncTimeout$2.read(AsyncTimeout.java:236)
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: at
okio.RealBufferedSource.read(RealBufferedSource.java:45)
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: at
okhttp3.internal.http1.Http1Codec$FixedLengthSource.read(Http1Codec.java:385)
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: at
okio.RealBufferedSource.read(RealBufferedSource.java:45)
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: at
okio.RealBufferedSource.exhausted(RealBufferedSource.java:55)
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: at
okio.InflaterSource.refill(InflaterSource.java:101)
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: at
okio.InflaterSource.read(InflaterSource.java:62)
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: at
okio.GzipSource.read(GzipSource.java:80)
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: at
okio.Buffer.writeAll(Buffer.java:996)
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: at
okio.RealBufferedSource.readByteArray(RealBufferedSource.java:106)
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: at
okhttp3.ResponseBody.bytes(ResponseBody.java:135)
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: at
com.mapzen.tangram.MapController$14.onResponse(MapController.java:1235)
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: at
okhttp3.RealCall$AsyncCall.execute(RealCall.java:135)
09-25 20:56:03.812 24544-26276/com.xyz D/OkHttp: at
okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
09-25 20:56:03.813 24544-26276/com.xyz D/OkHttp: at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
09-25 20:56:03.813 24544-26276/com.xyz D/OkHttp: at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
09-25 20:56:03.813 24544-26276/com.xyz D/OkHttp: at
java.lang.Thread.run(Thread.java:818)
09-25 20:56:05.007 24544-26271/com.xyz D/OkHttp: Callback failure for
canceled call to https://tile.mapzen.com/...
09-25 20:56:05.007 24544-26271/com.xyz D/OkHttp: java.net.SocketException:
Socket closed
09-25 20:56:05.007 24544-26271/com.xyz D/OkHttp: at
com.android.org.conscrypt.NativeCrypto.SSL_read(Native Method)
09-25 20:56:05.007 24544-26271/com.xyz D/OkHttp: at
com.android.org.conscrypt.OpenSSLSocketImpl$SSLInputStream.read(OpenSSLSocketImpl.java:699)
09-25 20:56:05.007 24544-26271/com.xyz D/OkHttp: at
okio.Okio$2.read(Okio.java:138)
09-25 20:56:05.007 24544-26271/com.xyz D/OkHttp: at
okio.AsyncTimeout$2.read(AsyncTimeout.java:236)
09-25 20:56:05.007 24544-26271/com.xyz D/OkHttp: at
okio.RealBufferedSource.read(RealBufferedSource.java:45)
09-25 20:56:05.007 24544-26271/com.xyz D/OkHttp: at
okhttp3.internal.http1.Http1Codec$FixedLengthSource.read(Http1Codec.java:385)
09-25 20:56:05.007 24544-26271/com.xyz D/OkHttp: at
okio.RealBufferedSource.read(RealBufferedSource.java:45)
09-25 20:56:05.007 24544-26271/com.xyz D/OkHttp: at
okio.RealBufferedSource.exhausted(RealBufferedSource.java:55)
09-25 20:56:05.007 24544-26271/com.xyz D/OkHttp: at
okio.InflaterSource.refill(InflaterSource.java:101)
09-25 20:56:05.007 24544-26271/com.xyz D/OkHttp: at
okio.InflaterSource.read(InflaterSource.java:62)
09-25 20:56:05.007 24544-26271/com.xyz D/OkHttp: at
okio.GzipSource.read(GzipSource.java:80)
09-25 20:56:05.008 24544-26271/com.xyz D/OkHttp: at
okio.Buffer.writeAll(Buffer.java:996)
09-25 20:56:05.008 24544-26271/com.xyz D/OkHttp: at
okio.RealBufferedSource.readByteArray(RealBufferedSource.java:106)
09-25 20:56:05.008 24544-26271/com.xyz D/OkHttp: at
okhttp3.ResponseBody.bytes(ResponseBody.java:135)
09-25 20:56:05.008 24544-26271/com.xyz D/OkHttp: at
com.mapzen.tangram.MapController$14.onResponse(MapController.java:1235)
09-25 20:56:05.008 24544-26271/com.xyz D/OkHttp: at
okhttp3.RealCall$AsyncCall.execute(RealCall.java:135)
09-25 20:56:05.008 24544-26271/com.xyz D/OkHttp: at
okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
09-25 20:56:05.008 24544-26271/com.xyz D/OkHttp: at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
09-25 20:56:05.008 24544-26271/com.xyz D/OkHttp: at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
09-25 20:56:05.008 24544-26271/com.xyz D/OkHttp: at
java.lang.Thread.run(Thread.java:818)
…On Mon, Sep 25, 2017 at 7:47 PM, Matt Blair ***@***.***> wrote:
Hi @RBJRBJ <https://github.com/rbjrbj>, thanks for the report. When you
start the Activity, do you see any map tiles appear? I'm wondering whether
this error is happening to all URL requests or just some of them.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#458 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AevpX7YcN3nFNlyIVTn3VQCcRNCb5r2vks5sl-dBgaJpZM4Ph1gI>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I have been testing mapzen for a short while and everything works,
but I am getting failed url requests:
E/Tangram: Failed url request:
https://tile.mapzen.com/mapzen/vector/v1/all/16/32767/32768.topojson?api_key=mapzen-UwAcJ7z& java.net.SocketException: Socket closed
E/Tangram: Failed url request:
https://tile.mapzen.com/mapzen/vector/v1/all/16/32768/32767.topojson?api_key=mapzen-UwAcJ7z& javax.net.ssl.SSLHandshakeException: Handshake failed
Steps to Reproduce
See attached source
Mapzen SDK & Android Version
Tested on the following devices:
mapzen-tangram_java.txt
The text was updated successfully, but these errors were encountered: