Yunnyyy Yunnyyy - 1 year ago 171
Android Question

How to debug Firebase issues by Wireshark?

I am trying to debug a Firebase issue where for the same query I am receiving different responses.

The issue has been posted here

As I couldn't reproduce the issue in a separate example application.
I was was wondering if it would be possible to disable HTTPS encryption and access Firebase temporally on debug apps, using HTTP without transit encryption.

This would allow to compare the exact data sent and received by the different apps so that the issue could be addressed. Without encryption, Wireshark or similar tools could be used to compare traffic sent and received by different apps which always proves to be very useful in these kind of issues.

Thanks in advance.

Answer Source

There is no way to get content from/to your Firebase Database over an unencrypted connection.

To see the traffic between a client and the Firebase Database you can simply enable debug logging in your Android code:


See the Firebase reference documentation and this question: Debugging Firebase Database.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download