Wednesday, 24 February 2021

HTTP request fails even if the connection is active

I'm facing a problem with an http request done in AndroidLauncher.java.

On desktop all works fine (that request is not performed because it's necessary only on Android).

In Android all works without that http request.

After that that http request is made, all others fail after timeout with UnknownHostException error, as if they no longer have access to the internet connection, even if it is active. Also after minutes and after the onResume all http request fails.

Often, after unistalling it and reinstalling it from Android Studio it works...

  • tested with wifi on a 1GB fibra network: same error
  • I checked the connection: it is stable, in wifi and also with SIM
  • in the manifest there is the permission for using internet (otherwise it would never have worked)
  • at the same time, the same App on desktop works perfectly and at the best speed, receiving http responses in less than 1 second, so the server isn't the problem
  • I tested also with the url https://www.google.it: same error, the same url is reachable in the device via browser in less than 1 second
  • as in the line responseUrl = HTTP.getUrlResponse(url, 25000, 25000); I'm using a timeout of 25 seconds, the server has timeout set to 60 seconds
  • checked the server SSL "quality" at https://www.ssllabs.com/ssltest: got "A" in "Overall Rating"

I'm testing on a real device with a flat 4G connection and with wifi.

I get the impression that regardless of the reason, after the request fails, any subsequent requests fail until I uninstall and reinstall the application, so maybe there is some pending action that causes all subsequent ones to fail?

There is something wrong in my code? Or at least, how can I know the exact cause of this error?

Thanks.

AndroidLauncher.java:

@SuppressLint("HandlerLeak")
protected Handler handler = new Handler()
{
    @Override
    public void handleMessage(Message msg) {
        switch(msg.what) {
            case SHOW_ADS:
            {
                if (mInterstitialAd.isLoaded()) {
                    mInterstitialAd.show();
                }
                break;
            }
            case HIDE_ADS:
            {
                mAdView.setVisibility(View.GONE);
                break;
            }
        }
        // MY METHOD TO MAKE HTTP REQUEST ENTER HERE
        if(msg.arg1 != 0) {
            doMyHttpRequest(msg.arg1);
        }
    }
};

// This is the callback that posts a message for the handler
@Override
public void showAds(boolean show) {
    handler.sendEmptyMessage(show ? SHOW_ADS : HIDE_ADS);
}

// This is the callback that posts a message for the handler
@Override
public void sendMyHttpRequest(int idPlayer) {
    Message message = new Message();
    message.arg1 = idPlayer > 0 ? idPlayer : -1;
    handler.sendMessage(message);
}

public void doMyHttpRequest(int idPlayer) {
    @SuppressLint("StaticFieldLeak")
    AsyncTask<String, Void, String> task2 = new AsyncTask<String, Void, String>() {
        @SuppressLint("HardwareIds")
        @Override
        protected String doInBackground(String... strings) {
            String responseUrl = "";
            
            // other code with Android anative methods
            
            String url = "https://myUrl" + idPlayer;

            responseUrl = HTTP.getUrlResponse(url, 25000, 25000);
            
            return responseUrl;
        }
    };
    task2.execute("");
}

HTTP.java:

public static String getUrlResponse(String requestUrl, int readTimeout, int connectTimeout) {
    // Create URL object
    URL url = creaUrl(requestUrl);
    // Perform HTTP request to the URL and receive a JSON response back
    String response = "";
    try {
        response = performHttpRequest(url, readTimeout, connectTimeout);
    } catch (IOException e) {
        response = "ERROR: " + e.getMessage();
    }

    return response;
}

public static String performHttpRequest(URL url, int readTimeout, int connectTimeout) throws IOException {
    String response = "";
    // If the URL is null, then return early.
    if (url == null) {
        return response;
    }
    HttpURLConnection urlConnection = null;
    InputStream inputStream = null;
    try {
        urlConnection = (HttpURLConnection) url.openConnection();
        urlConnection.setReadTimeout(readTimeout);
        urlConnection.setConnectTimeout(connectTimeout);
        urlConnection.setRequestMethod("GET");
        urlConnection.connect();
        // If the request was successful (response code 200),
        // then read the input stream and parse the response.
        if (urlConnection.getResponseCode() == 200) {
            inputStream = urlConnection.getInputStream();
            response = readFromStreamUtf8(inputStream);
        } else {
            response = "ERROR: response code: " + urlConnection.getResponseCode();
        }
    } catch (IOException e) {
        response = "ERROR: problems to retrieve data from url.";
    } finally {
        if (urlConnection != null) {
            urlConnection.disconnect();
        }
        if (inputStream != null) {
            inputStream.close();
        }
    }
    return response;
}

MyGame.java:

public class MyGame extends Game {
    public IActivityRequestHandler myRequestHandler;

    public MyGame(IActivityRequestHandler handler) {
        myRequestHandler = handler;
    }
    
    public void create() {
        this.setScreen(new MainMenuScreen(this));
    }
}

MainMenuScreen.java:

@Override
public void resize(int width, int height) {
    game.myRequestHandler.sendMyHttpRequest(idPlayer);
}

IActivityRequestHandler.java:

public interface IActivityRequestHandler {
    public void showAds(boolean show);
    public void sendMyHttpRequest(int idPlayer);
}

Logcat:

2021-02-21 17:57:34.083 7250-8351/app.myAppName I/HttpResponseListener: failed
2021-02-21 17:57:34.083 7250-8351/app.myAppName I/System.out: failed to connect to www.mydomain.com/81.NN.NN.NN (port 443) from /10.9.1.178 (port 49640) after 10000ms
2021-02-21 17:57:34.083 7250-8351/app.myAppName W/System.err: java.net.SocketTimeoutException: failed to connect to www.mydomain.com/81.NN.NN.NN (port 443) from /10.9.1.178 (port 49640) after 10000ms
2021-02-21 17:57:34.083 7250-8351/app.myAppName W/System.err:     at libcore.io.IoBridge.connectErrno(IoBridge.java:191)
2021-02-21 17:57:34.083 7250-8351/app.myAppName W/System.err:     at libcore.io.IoBridge.connect(IoBridge.java:135)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at java.net.Socket.connect(Socket.java:621)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.Platform.connectSocket(Platform.java:182)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:1407)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:1359)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:221)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:144)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:106)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:400)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:333)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:483)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:135)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.connect(DelegatingHttpsURLConnection.java:90)
2021-02-21 17:57:34.084 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:30)
2021-02-21 17:57:34.085 7250-8351/app.myAppName W/System.err:     at com.badlogic.gdx.net.NetJavaImpl$2.run(NetJavaImpl.java:223)
2021-02-21 17:57:34.085 7250-8351/app.myAppName W/System.err:     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
2021-02-21 17:57:34.085 7250-8351/app.myAppName W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2021-02-21 17:57:34.085 7250-8351/app.myAppName W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
2021-02-21 17:57:34.085 7250-8351/app.myAppName W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
2021-02-21 17:57:34.085 7250-8351/app.myAppName W/System.err:     at java.lang.Thread.run(Thread.java:919)
2021-02-21 17:57:44.050 7250-7250/app.myAppName I/ViewRootImpl@f3120cc[AndroidLauncher]: ViewPostIme pointer 0
2021-02-21 17:57:44.107 7250-7250/app.myAppName I/ViewRootImpl@f3120cc[AndroidLauncher]: ViewPostIme pointer 1
2021-02-21 17:57:44.109 7250-8270/app.myAppName I/System.out: Chosen: true
2021-02-21 17:57:47.797 7250-7250/app.myAppName I/ViewRootImpl@f3120cc[AndroidLauncher]: ViewPostIme pointer 0
2021-02-21 17:57:47.845 7250-7250/app.myAppName I/ViewRootImpl@f3120cc[AndroidLauncher]: ViewPostIme pointer 1
2021-02-21 17:57:47.849 7250-8270/app.myAppName I/inviaRichiestaAlServer: a=sr&idG=113
2021-02-21 17:57:47.850 7250-8351/app.myAppName I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
2021-02-21 17:57:47.851 7250-8351/app.myAppName I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
2021-02-21 17:57:48.006 7250-8440/app.myAppName I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
2021-02-21 17:57:48.006 7250-8440/app.myAppName I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
2021-02-21 17:57:57.876 7250-8351/app.myAppName I/HttpResponseListener: failed
2021-02-21 17:57:57.876 7250-8351/app.myAppName I/System.out: failed to connect to www.mydomain.com/81.NN.NN.NN (port 443) from /10.9.1.178 (port 49664) after 10000ms
2021-02-21 17:57:57.876 7250-8351/app.myAppName W/System.err: java.net.SocketTimeoutException: failed to connect to www.mydomain.com/81.NN.NN.NN (port 443) from /10.9.1.178 (port 49664) after 10000ms
2021-02-21 17:57:57.877 7250-8351/app.myAppName W/System.err:     at libcore.io.IoBridge.connectErrno(IoBridge.java:191)
2021-02-21 17:57:57.878 7250-8351/app.myAppName W/System.err:     at libcore.io.IoBridge.connect(IoBridge.java:135)
2021-02-21 17:57:57.878 7250-8351/app.myAppName W/System.err:     at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
2021-02-21 17:57:57.878 7250-8351/app.myAppName W/System.err:     at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
2021-02-21 17:57:57.878 7250-8351/app.myAppName W/System.err:     at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
2021-02-21 17:57:57.879 7250-8351/app.myAppName W/System.err:     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
2021-02-21 17:57:57.879 7250-8351/app.myAppName W/System.err:     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
2021-02-21 17:57:57.880 7250-8351/app.myAppName W/System.err:     at java.net.Socket.connect(Socket.java:621)
2021-02-21 17:57:57.880 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.Platform.connectSocket(Platform.java:182)
2021-02-21 17:57:57.880 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:1407)
2021-02-21 17:57:57.880 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:1359)
2021-02-21 17:57:57.881 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:221)
2021-02-21 17:57:57.882 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:144)
2021-02-21 17:57:57.882 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:106)
2021-02-21 17:57:57.883 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:400)
2021-02-21 17:57:57.883 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:333)
2021-02-21 17:57:57.884 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:483)
2021-02-21 17:57:57.884 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:135)
2021-02-21 17:57:57.884 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.connect(DelegatingHttpsURLConnection.java:90)
2021-02-21 17:57:57.885 7250-8351/app.myAppName W/System.err:     at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:30)
2021-02-21 17:57:57.885 7250-8351/app.myAppName W/System.err:     at com.badlogic.gdx.net.NetJavaImpl$2.run(NetJavaImpl.java:223)
2021-02-21 17:57:57.885 7250-8351/app.myAppName W/System.err:     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
2021-02-21 17:57:57.886 7250-8351/app.myAppName W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2021-02-21 17:57:57.886 7250-8351/app.myAppName W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
2021-02-21 17:57:57.886 7250-8351/app.myAppName W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
2021-02-21 17:57:57.886 7250-8351/app.myAppName W/System.err:     at java.lang.Thread.run(Thread.java:919)
2021-02-21 17:58:00.786 7250-7250/app.myAppName I/ViewRootImpl@f3120cc[AndroidLauncher]: ViewPostIme pointer 0
2021-02-21 17:58:00.835 7250-7250/app.myAppName I/ViewRootImpl@f3120cc[AndroidLauncher]: ViewPostIme pointer 1
2021-02-21 17:58:00.846 7250-8270/app.myAppName I/System.out: Chosen: true

(I removed the libGDX tag because it seems Android related, because the method is only invoked from the MainMenuScreen class through the interface, but executed in the Android activity)

adb logcat *:E as suggested by Always Learning in a comment, the log is from the App opening to the end of the http request:

cognitionService: handleMessage: event 200 value : 1
02-23 19:39:55.336  5803  5803 E libprocessgroup: set_timerslack_ns write failed: Operation not permitted
02-23 19:39:55.347  5803  5803 E libprocessgroup: set_timerslack_ns write failed: Operation not permitted
02-23 19:39:57.163  4987  5272 E ActivityTaskManager: TouchDown intent received, starting ActiveLaunch
02-23 19:39:57.205  4987  5041 E system_server: Invalid ID 0x00000000.
02-23 19:39:57.212 12157 12157 E .myAppName: Unknown bits set in runtime_flags: 0x8000
02-23 19:39:57.233  4987  5041 E DecorView: mWindow.mActivityCurrentConfig is null
02-23 19:39:57.281  4500  4613 E BufferQueueProducer: [com.sec.android.app.launcher/com.sec.android.app.launcher.activities.LauncherActivity$_5803#0] disconnect: not connected (req=1)
02-23 19:39:57.281  5803  7530 E OpenGLRenderer: ReliableSurface: perform returned an error
02-23 19:39:57.295  4987  5234 E PkgPredictorService-Collector: record changed bt=0  wifi=0 screen=0
02-23 19:39:57.932 14641 14641 E webview_servic: Not starting debugger since process cannot load the jdwp agent.
02-23 19:39:57.935  4987  5540 E PackageManager: Failed to find package; permName: android.permission.INTERNET, uid: 99774, caller: 1000
02-23 19:39:57.962 14661 14661 E ocessService0:: Not starting debugger since process cannot load the jdwp agent.
02-23 19:39:58.627  4987  5307 E WindowManager: win=Window{5a5aa90 u0 com.sec.android.app.launcher/com.sec.android.app.launcher.activities.LauncherActivity} destroySurfaces: appStopped=true win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8 caller=com.android.server.wm.AppWindowToken.destroySurfaces:1248 com.android.server.wm.AppWindowToken.destroySurfaces:1229 com.android.server.wm.AppWindowToken.notifyAppStopped:1284 com.android.server.wm.ActivityRecord.activityStoppedLocked:2776 com.android.server.wm.ActivityTaskManagerService.activityStopped:2512 android.app.IActivityTaskManager$Stub.onTransact:2288 android.os.Binder.execTransactInternal:1056 
02-23 19:39:58.708  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:39:58.728  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:39:58.775  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:39:58.923  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:39:58.924  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:39:58.981  4987  5041 E WindowManager: win=Window{b1dc417 u0 Splash Screen my.package.name EXITING} destroySurfaces: appStopped=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true win.mViewVisibility=0 caller=com.android.server.wm.AppWindowToken.destroySurfaces:1248 com.android.server.wm.AppWindowToken.destroySurfaces:1229 com.android.server.wm.WindowState.onExitAnimationDone:5189 com.android.server.wm.WindowStateAnimator.onAnimationFinished:320 com.android.server.wm.WindowState.onAnimationFinished:5630 com.android.server.wm.-$$Lambda$yVRF8YoeNdTa8GR1wDStVsHu8xM.run:2 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0$SurfaceAnimator:100 
02-23 19:39:59.120 12157 12157 E libc    : Access denied finding property "ro.serialno"
02-23 19:39:59.354  4447  4447 E audit   : type=1400 audit(1614105599.351:37597): avc:  denied  { write } for  pid=12157 comm="Thread-12" name="perfd" dev="sda32" ino=35421 scontext=u:r:untrusted_app:s0:c112,c257,c512,c768 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=0 SEPF_SM-M315F_10_0024 audit_filtered
02-23 19:39:59.354  4447  4447 E audit   : type=1300 audit(1614105599.351:37597): arch=c00000b7 syscall=48 success=no exit=-13 a0=ffffff9c a1=7b243f7ec1 a2=2 a3=0 items=0 ppid=4460 pid=12157 auid=... uid=10368 gid=10368 euid=10368 suid=10368 fsuid=10368 egid=10368 sgid=10368 fsgid=10368 tty=(none) ses=... comm="Thread-12" exe="/system/bin/app_process64" subj=u:r:untrusted_app:s0:c112,c257,c512,c768 key=(null)
02-23 19:39:59.354  4447  4447 E audit   : type=1327 audit(1614105599.351:37597): proctitle="my.package.name"
02-23 19:39:59.860  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:40:00.275  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:40:00.910 29776 14898 E memtrack: Couldn't load memtrack module
02-23 19:40:01.889  4500  4613 E BufferQueueProducer: [Toast$_12157#0] disconnect: not connected (req=1)
02-23 19:40:01.889 12157 14616 E OpenGLRenderer: ReliableSurface: perform returned an error
02-23 19:40:05.264  4987  5166 E MotionRecognitionService: handleMessage: event 200 value : 1
02-23 19:40:05.861  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:40:06.165  4987  5049 E NotificationService: Suppressing notification from package by user request.
02-23 19:40:06.272  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:40:09.116  4987  5043 E Watchdog: !@Sync: 19566 heap: 96 / 119 [2021-02-23 19:40:09.116] sdogWay: softdog
02-23 19:40:15.247  4987  5166 E MotionRecognitionService: handleMessage: event 200 value : 1
02-23 19:40:16.486  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:40:16.490  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:40:16.512  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:40:16.533  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:40:17.865  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:40:18.274  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:40:21.181  4987  5049 E NotificationService: Suppressing notification from package by user request.
02-23 19:40:25.335  4987  5166 E MotionRecognitionService: handleMessage: event 200 value : 1
02-23 19:40:30.587  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:40:30.616 12157 12157 E Ads     : JS: Uncaught ReferenceError: OmidCreativeSession is not defined (https://googleads.g.doubleclick.net/mads/gma?caps=inlineVideo_interactiveVideo_mraid1_mraid2_mraid3_sdkVideo_exo3_th_autoplay_mediation_scroll_av_av_transparentBackground_sdkAdmobApiForAds_di_aso_sfv_dinm_dim_nav_navc_dinmo_ipdof_gls_gcache_saiMacro_xSeconds&eid=...)
02-23 19:40:30.658 12157 12157 E Ads     : JS: Uncaught ReferenceError: OmidCreativeSession is not defined (https://googleads.g.doubleclick.net/mads/gma?caps=mraid1_mraid2_mraid3_th_mediation_scroll_av_av_transparentBackground_sdkAdmobApiForAds_di_aso_dinm_dim_dinmo_ipdof_gls_saiMacro_xSeconds&eid=...)
02-23 19:40:31.277  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:40:31.437  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:40:35.380  4987  5166 E MotionRecognitionService: handleMessage: event 200 value : 1
02-23 19:40:36.199  4987  5049 E NotificationService: Suppressing notification from package by user request.
02-23 19:40:36.586  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:40:37.279  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:40:37.443  4459  4647 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
02-23 19:40:39.129  4987  5043 E Watchdog: !@Sync: 19567 heap: 87 / 110 [2021-02-23 19:40:39.129] sdogWay: softdog


from HTTP request fails even if the connection is active

No comments:

Post a Comment