okhttp icon indicating copy to clipboard operation
okhttp copied to clipboard

Crashes while using websocket

Open sohailbud opened this issue 10 years ago • 4 comments

Attached is the crash report. Not able to reproduce the crash.

com.sense.androidclient_issue_64_crash_57b7605203b800013b7a6aef5b38d9eb.1 (1).txt

sohailbud avatar Aug 22 '16 14:08 sohailbud

Looks like your server is sending a malformed close payload with a body size that exceeds what the spec allows.

JakeWharton avatar Aug 22 '16 20:08 JakeWharton

Thanks for your feedback. Any idea where I would catch this exception so app doesn't crashes? Would like to see what is being send from server but not able to reproduce the error.

sohailbud avatar Aug 24 '16 15:08 sohailbud

Actually never mind, looks like I was sending a stacktrace as a reason for disconnecting the socket back to server which exceeded the 125 max size. Thank you!

sohailbud avatar Aug 24 '16 15:08 sohailbud

@JakeWharton Could you please mark this issue as resolved? Thanks

gauravsak avatar Aug 30 '16 11:08 gauravsak