Instabug/Instabug-iOS

No network logs after the report while using the Proxyman

Closed this issue · 9 comments

Steps to Reproduce the Problem

  1. Setup the proxyman on your mac
  2. Connect your iPhone via proxy
  3. Start your app with Instabug
  4. Make some requests in your app
  5. Send a report via Instabug
  6. Disable the Proxyman or use LTE
  7. Retry 3-5 steps multiple times

Expected Behavior

You should see the network logs or somehow reset the Instabug and see the network logs after that

Actual Behavior

No network logs from this device.
We tried to remove app and make a fresh install. The network logs could come back after the fresh install but when you run app next time they gone =(

Instabug integration code

        Instabug.start(withToken: Environment.instabugToken, invocationEvents: [.shake, .screenshot])
        Instabug.welcomeMessageMode = .disabled

SDK Version

11.10.2

iOS Version

16.4.1 - latest

Device Model

Multiple iPhones (iOS 16.3+)

Hello @kolyan94
Sorry for the late reply. Can I ask you to clarify what exactly that you expect to see but it's not showing? The network logs for Instabug or network logs from your app?

Can you give more info/details on this?

We also notice our network requests are suddenly gone on instabug website. We have a warning about instabug not being able to capture the network requests and the usage of external libraries like alamofire but we are not using any...

version: 11.9.1

@ahmedsalah196 We can see only this warning: "We are unable to capture your network requests automatically. If you are using AFNetworking or Alamofire, check the details mentioned here".
We use pure URLSession with default configuration, so I don't know what should I do. It worked all this time, but suddenly we started to see more and more reports w/o network logs. Some teammates mentioned that it could happen because of Proxyman. I decided to try it, and guess what, now I can't see network logs from my device as well =(

@kolyan94 If you're not using Proxyman the logs are showing normally? If yes, can you make sure that the network requests are actually completed when connecting to Proxyman?

@ahmedsalah196 No, you could try it. Use proxyman once - no logs forever. I tried to reinstall the app/reboot the phone, but nothing can fix it. Seems you use some kind of caching from the server side.

@kolyan94 Can you please reach out to us at support@instabug.com to further investigate this issue?

Sorry, I've provided steps that work for all my teammates. Please try it and send me feedback. Looks like @jserrafindster has this issue as well. I'm busy with my job and can't spend a lot of time with that =(
The issue is frash, so you could investigate your latest changes (few weeks).

stale commented

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

stale commented

This issue has been automatically closed due to inactivity.