Skip to content

EBDAF Exception #1684

@pguilbot

Description

@pguilbot

I use OkHTTP for my android app.

I get a lot of crashes related to an Http issue :
java.lang.AssertionError: libcore.io.ErrnoException: getsockname failed: EBADF (Bad file number)

Coming from :
at com.squareup.okhttp.internal.http.SocketConnector.connectTls(SocketConnector.java:103)
or
at com.squareup.okhttp.internal.Util.closeQuietly(Util.java:105)
or
at com.squareup.okhttp.internal.Platform$Android.connectSocket(Platform.java:190)

Is there a solution to catch this exception ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions