When I call the disconnect() method, it fails and throws an IOException. The Stack trace is as follows :-
Caused by: java.io.IOException: End of stream
at com.github.instagram4j.realtime.mqtt.MQTToTClient.read(MQTToTClient.java:105)
at com.github.instagram4j.realtime.mqtt.MQTToTClient.readPacket(MQTToTClient.java:75)
at com.github.instagram4j.realtime.mqtt.MQTToTClient.connect(MQTToTClient.java:70)
at com.github.instagram4j.realtime.IGRealtimeClient.connect(IGRealtimeClient.java:65)
When I call the
disconnect()
method, it fails and throws an IOException. The Stack trace is as follows :-The line which threw this exception is :