Skip to content

java.io.IOException: read failed #2

@gtrxAC

Description

@gtrxAC

I sometimes get that error message when using Discord J2ME on a few of my Nokia S40 phones.
For me, it seems to occur most often in areas with a bad network connection, and goes away after a few tries or after retrying when the connection has improved.
Someone else got it too, but could not get it fixed: gtrxAC/discord-j2me#231

My best guess is that somewhere there's a read timeout of some sort. I could not find the string "read failed" in your code, so I thought it could have been in BouncyCastle, but there is no "read failed" in the lcrypto-j2me-164 code either.
Could it be Nokia's socket implementation then? I don't think Nokia's HTTP implementation has a read timeout, or it's just much longer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions