You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Tried connecting to Server: https://play.dhis2.org/demo
Username: android
Password: Android123
It does not go past the login screen.
No error though, I get the below trace:
I/WorkService: onCreate()
Service started
I/WorkService: loginUser
I/GET: https://play.dhis2.org/demo/api/me
I/302:
<title>302 Found</title>
302 Found nginx/1.17.10
I/WorkService: onDestroy()
I deployed a DHIS2 instance on my localhost, there i get an error...
I/WorkService: onCreate()
Service started
I/WorkService: loginUser
I/GET: http://localhost:9999/dhis2/api/me
W/System.err: java.io.IOException: Cleartext HTTP traffic to localhost not permitted
at com.android.okhttp.HttpHandler$CleartextURLFilter.checkURLPermitted(HttpHandler.java:127)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:462)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:131)
at org.dhis2.mobile.network.HTTPClient.get(HTTPClient.java:69)
W/System.err: at org.dhis2.mobile.processors.LoginProcessor.tryToLogIn(LoginProcessor.java:115)
at org.dhis2.mobile.processors.LoginProcessor.loginUser(LoginProcessor.java:63)
at org.dhis2.mobile.WorkService.runMethod(WorkService.java:147)
at org.dhis2.mobile.WorkService.access$000(WorkService.java:58)
at org.dhis2.mobile.WorkService$1.run(WorkService.java:96)
W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
W/System.err: java.io.IOException: Cleartext HTTP traffic to localhost not permitted
at com.android.okhttp.HttpHandler$CleartextURLFilter.checkURLPermitted(HttpHandler.java:127)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:462)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:411)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:542)
at org.dhis2.mobile.network.HTTPClient.get(HTTPClient.java:83)
at org.dhis2.mobile.processors.LoginProcessor.tryToLogIn(LoginProcessor.java:115)
at org.dhis2.mobile.processors.LoginProcessor.loginUser(LoginProcessor.java:63)
at org.dhis2.mobile.WorkService.runMethod(WorkService.java:147)
at org.dhis2.mobile.WorkService.access$000(WorkService.java:58)
at org.dhis2.mobile.WorkService$1.run(WorkService.java:96)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
I/WorkService: onDestroy()
Any help is appreciated...
The text was updated successfully, but these errors were encountered:
Hello,
302 FoundTried connecting to Server: https://play.dhis2.org/demo
Username: android
Password: Android123
It does not go past the login screen.
No error though, I get the below trace:
I/WorkService: onCreate()
Service started
I/WorkService: loginUser
I/GET: https://play.dhis2.org/demo/api/me
I/302:
<title>302 Found</title>
nginx/1.17.10
I/WorkService: onDestroy()
I deployed a DHIS2 instance on my localhost, there i get an error...
I/WorkService: onCreate()
Service started
I/WorkService: loginUser
I/GET: http://localhost:9999/dhis2/api/me
W/System.err: java.io.IOException: Cleartext HTTP traffic to localhost not permitted
at com.android.okhttp.HttpHandler$CleartextURLFilter.checkURLPermitted(HttpHandler.java:127)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:462)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:131)
at org.dhis2.mobile.network.HTTPClient.get(HTTPClient.java:69)
W/System.err: at org.dhis2.mobile.processors.LoginProcessor.tryToLogIn(LoginProcessor.java:115)
at org.dhis2.mobile.processors.LoginProcessor.loginUser(LoginProcessor.java:63)
at org.dhis2.mobile.WorkService.runMethod(WorkService.java:147)
at org.dhis2.mobile.WorkService.access$000(WorkService.java:58)
at org.dhis2.mobile.WorkService$1.run(WorkService.java:96)
W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
W/System.err: java.io.IOException: Cleartext HTTP traffic to localhost not permitted
at com.android.okhttp.HttpHandler$CleartextURLFilter.checkURLPermitted(HttpHandler.java:127)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:462)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:411)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:542)
at org.dhis2.mobile.network.HTTPClient.get(HTTPClient.java:83)
at org.dhis2.mobile.processors.LoginProcessor.tryToLogIn(LoginProcessor.java:115)
at org.dhis2.mobile.processors.LoginProcessor.loginUser(LoginProcessor.java:63)
at org.dhis2.mobile.WorkService.runMethod(WorkService.java:147)
at org.dhis2.mobile.WorkService.access$000(WorkService.java:58)
at org.dhis2.mobile.WorkService$1.run(WorkService.java:96)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
I/WorkService: onDestroy()
Any help is appreciated...
The text was updated successfully, but these errors were encountered: