Menu
Who Do Is
  • Home
  • What
  • How
  • Is
  • Can
  • Are
  • Does
  • Do
  • Why
  • Who
  • Where
  • Which
  • Which
  • Should
  • Will
  • When
  • What’s
  • Did
Who Do Is

[ANSWERED] The http connection in Android emulator is unstable

Posted on November 14, 2022

Solution 1 :

If the problem happens in Chrome, too, you can debug errors via Remote Debugging.

Instructions: https://developers.google.com/web/tools/chrome-devtools/remote-debugging

In summary, you

  1. Enable Developer Tools, and USB debugging on your phone.
  2. Connect your phone to a computer via cable.
  3. Turn Chrome on in both the phone and computer.
  4. Use Remote debugging to use the computer’s Chrome Dev Tools to inspect the Android tab.
  5. Debug as normal, checking the console for network or javascript errors.

Problem :

I tried to make json requests, load images/videos from the local network with http ( not https), but it randomly fails. Sometimes the connection is closed before the data is received. The same error happens if I open Chrome, so it is not an error in my app.

How is it possible to debug an error like this?

Comments

Comment posted by Eliezer Berlin

1. It’s not android related if it happens in chrome too. 2. What error do you get? A javascript error? A HTTP 404/403/503? 3. If your app is built using webview, You can debug the error via Chrome’s Dev Tools, the same way you would if it wasn’t an app.

Comment posted by Eliezer Berlin

HTTP has errors, but HTTPS doesn’t? That sounds like a server configuration problem.

READ  [ANSWERED] java - OkHttpClient get information from log
Powered by Inline Related Posts

Recent Posts

  • How can I play with my cat without toys?
  • What is a bag pipe band called?
  • Are Honda Civics actually fast?
  • Are Yankee candles toxic?
  • How do I pair my Michael Kors smartwatch with my Android?

Recent Comments

No comments to show.

Archives

  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022

Categories

  • ¿Cómo
  • ¿Cuál
  • ¿Cuántas
  • ¿Cuánto
  • ¿Que
  • ¿Quién
  • 90” and 108” so you may have to round up to the nearest size.
  • and delete any Spotify folders from it. Once this is done
  • Android
  • Are
  • At
  • Bei
  • blink
  • C'est
  • Can
  • carbs
  • Comment
  • Did
  • Do
  • Does
  • During
  • For
  • Has
  • How
  • In
  • Is
  • Ist
  • Kann
  • Können
  • nouveau
  • On
  • or 108 inches.2020-08-03
  • Où
  • owning
  • Pourquoi
  • Puis-je
  • Quand
  • Quante
  • Quel
  • Quelle
  • Quelles
  • Quels
  • Qui
  • Should
  • Sind
  • Sollte
  • spiritual
  • tap the downward-facing arrow on the top left. A downward-facing arrow will appear underneath each song in the album; they'll turn green as the download completes.2020-07-28
  • Uncategorized
  • Wann
  • Warum
  • Was
  • Welche
  • Welcher
  • Welches
  • Welke
  • Wer
  • Were
  • What
  • What's
  • When
  • Where
  • Which
  • Who
  • Whose
  • Why
  • Wie
  • Will
  • Wo
  • Woher
  • you will receive two curtains each with the same measurements of width 66"" (168cm) x drop 54""(137cm).
  • you'll see a green downward-facing arrow next to each song.2021-02-26
©2023 Who Do Is | Powered by SuperbThemes & WordPress