Unable to get response error!

I am working with APIs and found some terrible for me.
I used three APIs Bit.ly , Clicks.fly and Cutt.ly.And Bitl.ly api is working fine on all devices but other two apis are working on Android Nought but not on Android KitKat.
It shows Error 1101 Unable to get a response with < api url > .
I know error 1101 means Network problem but I am using same WiFi connection on both devices.
Here are the blocks:

The same thing also happens with Newsapi.org api.It gets response content on Nought but not on KitKat.
Here is apk file:
URL_Shorter(8).apk (5.9 MB)

I can also share .aia file if anyone need that.