Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

eofexception

Android HttpsUrlConnection eofexception

August 9, 2023 by Tarik

Someone requested I answer my own question instead of editing. So here is the answer again. This was not a well documented answer. It appears in some of the newer versions of android, there is a bug with recycled url connections. To fix this (although there may be some performance issues), I needed to add: … Read more

Categories android Tags android, eofexception, httpurlconnection Leave a comment

Facebook SDK 3 EOFException

May 4, 2023 by Tarik

The problem This is a HttpURLConnection related issue. The actual socket used for the connection is selected from a pool. Most servers create persistent connections (Connection: Keep-Alive header) in order to reuse existing sockets which is cheaper than creating a new one every single time. The problem comes from the fact that these sockets are … Read more

Categories android Tags android, eofexception, facebook-android-sdk Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa