h2o.init error due to xgboost - r

I use the h2o package in R (Windows machine) and can't initialize it by h2o.init after updating the package recently.
The error message is produced below. I guess the cause of the problem is that h2o xgboost doesn't support Windows (http://docs.h2o.ai/h2o/latest-stable/h2o-docs/data-science/xgboost.html). Is my guess correct? If so, how can I ask the h2o package to exclude xgboost in initialization to avoid the error?
Thanks a lot in advance.
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b30)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode)
Starting H2O JVM and connecting: ............................................................Cannot load library from path lib/windows_32/xgboost4j_gpu.dll
Cannot load library from path lib/xgboost4j_gpu.dll
Failed to load library from both native path and jar!
Cannot load library from path lib/windows_32/xgboost4j_omp.dll
Cannot load library from path lib/xgboost4j_omp.dll
Failed to load library from both native path and jar!
Cannot load library from path lib/windows_32/xgboost4j_minimal.dll
Cannot load library from path lib/xgboost4j_minimal.dll
Failed to load library from both native path and jar!
07-27 11:24:19.197 127.0.0.1:54321 14488 main INFO: Cannot initialize XGBoost backend! Xgboost (enabled GPUs) needs:
07-27 11:24:19.197 127.0.0.1:54321 14488 main INFO: - CUDA 8.0
07-27 11:24:19.197 127.0.0.1:54321 14488 main INFO: XGboost (minimal version) needs:
07-27 11:24:19.197 127.0.0.1:54321 14488 main INFO: - GCC 4.7+
07-27 11:24:19.197 127.0.0.1:54321 14488 main INFO: For more details, run in debug mode: `java -Dlog4j.configuration=file:///tmp/log4j.properties -jar h2o.jar`
07-27 11:24:19.230 127.0.0.1:54321 14488 main INFO: ----- H2O started -----
07-27 11:24:19.230 127.0.0.1:54321 14488 main INFO: Build git branch: rel-wright
07-27 11:24:19.230 127.0.0.1:54321 14488 main INFO: Build git hash: 24410cf788602f231fd699037bdaff0ad20b4d1a
07-27 11:24:19.230 127.0.0.1:54321 14488 main INFO: Build git describe: jenkins-3.20.0.1-26-g24410cf
07-27 11:24:19.230 127.0.0.1:54321 14488 main INFO: Build age: 1 month and 11 days
07-27 11:24:19.230 127.0.0.1:54321 14488 main INFO: Built by: 'jenkins'
07-27 11:24:19.230 127.0.0.1:54321 14488 main INFO: Built on: '2018-06-15 18:39:02'
07-27 11:24:19.230 127.0.0.1:54321 14488 main INFO: Watchdog Build git branch: (unknown)
07-27 11:24:19.231 127.0.0.1:54321 14488 main INFO: Watchdog Build git hash: (unknown)
07-27 11:24:19.231 127.0.0.1:54321 14488 main INFO: Watchdog Build git describe: (unknown)
07-27 11:24:19.231 127.0.0.1:54321 14488 main INFO: Watchdog Build project version: (unknown)
07-27 11:24:19.231 127.0.0.1:54321 14488 main INFO: Watchdog Built by: (unknown)
07-27 11:24:19.231 127.0.0.1:54321 14488 main INFO: Watchdog Built on: (unknown)
07-27 11:24:19.231 127.0.0.1:54321 14488 main INFO: KrbStandalone Build git branch: (unknown)
07-27 11:24:19.231 127.0.0.1:54321 14488 main INFO: KrbStandalone Build git hash: (unknown)
07-27 11:24:19.231 127.0.0.1:54321 14488 main INFO: KrbStandalone Build git describe: (unknown)
07-27 11:24:19.231 127.0.0.1:54321 14488 main INFO: KrbStandalone Build project version: (unknown)
07-27 11:24:19.231 127.0.0.1:54321 14488 main INFO: KrbStandalone Built by: (unknown)
07-27 11:24:19.231 127.0.0.1:54321 14488 main INFO: KrbStandalone Built on: (unknown)
07-27 11:24:19.231 127.0.0.1:54321 14488 main INFO: Processed H2O arguments: [-name, H2O_started_from_R_534474366_nnz606, -ip, 127.0.0.1, -port, 54321, -ice_root, C:/Users/534474~1/AppData/Local/Temp/RtmpCc9kQI]
07-27 11:24:19.232 127.0.0.1:54321 14488 main INFO: Java availableProcessors: 4
07-27 11:24:19.232 127.0.0.1:54321 14488 main INFO: Java heap totalMemory: 15.5 MB
07-27 11:24:19.232 127.0.0.1:54321 14488 main INFO: Java heap maxMemory: 989.9 MB
07-27 11:24:19.232 127.0.0.1:54321 14488 main INFO: Java version: Java 1.7.0_51 (from Oracle Corporation)
07-27 11:24:19.232 127.0.0.1:54321 14488 main INFO: JVM launch parameters: [-Xmx1g, -ea]
07-27 11:24:19.232 127.0.0.1:54321 14488 main INFO: OS version: Windows 7 6.1 (x86)
07-27 11:24:19.232 127.0.0.1:54321 14488 main INFO: Machine physical memory: 4.00 GB
07-27 11:24:19.232 127.0.0.1:54321 14488 main INFO: X-h2o-cluster-id: 1532705056352
07-27 11:24:19.232 127.0.0.1:54321 14488 main INFO: User name: '534474366'
07-27 11:24:19.232 127.0.0.1:54321 14488 main INFO: IPv6 stack selected: false
07-27 11:24:19.232 127.0.0.1:54321 14488 main INFO: Possible IP Address: lo (Software Loopback Interface 1), 127.0.0.1
07-27 11:24:19.232 127.0.0.1:54321 14488 main INFO: Possible IP Address: lo (Software Loopback Interface 1), 0:0:0:0:0:0:0:1
07-27 11:24:19.233 127.0.0.1:54321 14488 main INFO: Network interface is down: name:net0 (WAN Miniport (SSTP))
07-27 11:24:19.233 127.0.0.1:54321 14488 main INFO: Network interface is down: name:net1 (WAN Miniport (L2TP))
07-27 11:24:19.233 127.0.0.1:54321 14488 main INFO: Network interface is down: name:net2 (WAN Miniport (PPTP))
07-27 11:24:19.233 127.0.0.1:54321 14488 main INFO: Network interface is down: name:ppp0 (WAN Miniport (PPPOE))
07-27 11:24:19.233 127.0.0.1:54321 14488 main INFO: Network interface is down: name:eth0 (WAN Miniport (IPv6))
07-27 11:24:19.233 127.0.0.1:54321 14488 main INFO: Network interface is down: name:eth1 (WAN Miniport (Network Monitor))
07-27 11:24:19.233 127.0.0.1:54321 14488 main INFO: Network interface is down: name:eth2 (WAN Miniport (IP))
07-27 11:24:19.233 127.0.0.1:54321 14488 main INFO: Network interface is down: name:ppp1 (RAS Async Adapter)
07-27 11:24:19.233 127.0.0.1:54321 14488 main INFO: Network interface is down: name:net3 (WAN Miniport (IKEv2))
07-27 11:24:19.233 127.0.0.1:54321 14488 main INFO: Possible IP Address: eth3 (Intel(R) Ethernet Connection I217-LM), 10.95.108.135
07-27 11:24:19.233 127.0.0.1:54321 14488 main INFO: Network interface is down: name:eth4 (Intel(R) Ethernet Connection I217-LM-McAfee NDIS Light-Weight Filter-0000)
07-27 11:24:19.233 127.0.0.1:54321 14488 main INFO: Network interface is down: name:eth5 (Intel(R) Ethernet Connection I217-LM-WFP LightWeight Filter-0000)
07-27 11:24:19.233 127.0.0.1:54321 14488 main INFO: Network interface is down: name:eth6 (Intel(R) Ethernet Connection I217-LM-QoS Packet Scheduler-0000)
07-27 11:24:19.234 127.0.0.1:54321 14488 main INFO: Network interface is down: name:eth7 (WAN Miniport (Network Monitor)-McAfee NDIS Light-Weight Filter-0000)
07-27 11:24:19.234 127.0.0.1:54321 14488 main INFO: Network interface is down: name:eth8 (WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000)
07-27 11:24:19.234 127.0.0.1:54321 14488 main INFO: Network interface is down: name:eth9 (WAN Miniport (IP)-McAfee NDIS Light-Weight Filter-0000)
07-27 11:24:19.234 127.0.0.1:54321 14488 main INFO: Network interface is down: name:eth10 (WAN Miniport (IP)-QoS Packet Scheduler-0000)
07-27 11:24:19.234 127.0.0.1:54321 14488 main INFO: Network interface is down: name:eth11 (WAN Miniport (IPv6)-McAfee NDIS Light-Weight Filter-0000)
07-27 11:24:19.234 127.0.0.1:54321 14488 main INFO: Network interface is down: name:eth12 (WAN Miniport (IPv6)-QoS Packet Scheduler-0000)
07-27 11:24:19.234 127.0.0.1:54321 14488 main FATAL: On /127.0.0.1 some of the required ports 54321, 54322 are not available, change -port PORT and try again.
[1] "127.0.0.1"
[1] 54321
[1] TRUE
[1] -1
[1] "Failed to connect to 127.0.0.1 port 54321: Connection refused"
curl: (1) Protocol "'http" not supported or disabled in libcurl
[1] 1

EDITED Response
If you look at the bottom of your error message:
07-27 11:24:19.234 127.0.0.1:54321 14488 main FATAL: On /127.0.0.1 some of the required ports 54321, 54322 are not available, change -port PORT and try again.
[1] "127.0.0.1"
[1] 54321
[1] TRUE
[1] -1
[1] "Failed to connect to 127.0.0.1 port 54321: Connection refused"
curl: (1) Protocol "'http" not supported or disabled in libcurl
[1] 1
You can see that the issue should not be related to XGBoost. In addition, the expected behavior on Windows is that XGBoost is automatically disabled and no action is needed on your part.
To fix your problem try specifying a different port using the port = parameter in h2o.init() to see if you can get h2o.init() to work for you.
Original Response
I will leave the prior answer up in case it helps others who come across the question of disabling xgboost:
you can disable xgboost by setting -Dsys.ai.h2o.ext.core.toggle.XGBoost to False
please see the documentation for more details: http://docs.h2o.ai/h2o/latest-stable/h2o-docs/data-science/xgboost.html#disabling-xgboost

Related

RSelenium rdDriver() Could not open chrome browser

My code:
driver <- rsDriver(browser="chrome", port=4234L, chromever = "89.0.4389.23")
and output:
checking Selenium Server versions:
BEGIN: PREDOWNLOAD
BEGIN: DOWNLOAD
BEGIN: POSTDOWNLOAD
checking chromedriver versions:
BEGIN: PREDOWNLOAD
BEGIN: DOWNLOAD
BEGIN: POSTDOWNLOAD
checking geckodriver versions:
BEGIN: PREDOWNLOAD
BEGIN: DOWNLOAD
BEGIN: POSTDOWNLOAD
checking phantomjs versions:
BEGIN: PREDOWNLOAD
BEGIN: DOWNLOAD
BEGIN: POSTDOWNLOAD
[1] "Connecting to remote server"
Selenium message:Timed out waiting for driver server to start.
Build info: version: '4.0.0-alpha-2', revision: 'f148142cf8', time: '2019-07-01T21:30:10'
System info: host: 'blah.blah.blah', ip: '2601:602:9403:400:0:0:0:f690%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.7', java.version: '15.0.2'
Driver info: driver.version: unknown
Could not open chrome browser.
Client error message:
Summary: UnknownError
Detail: An unknown server-side error occurred while processing the command.
Further Details: run errorDetails method
Check server log for further details.
I have also used chromever="latest" and tried different ports. The selenium-server-standalone.jar is in the working directory as well as the chromedriver.exe in case that is important.
I have been able to start a selenium server on this port from the command line using the same .jar and .exe files and then tried the code
browser <- remoteDriver(port = 4234L, browserName = "chrome")
browser$open()
only to get the error:
Selenium message:Unable to create new service: ChromeDriverService
Build info: version: '4.0.0-alpha-2', revision: 'f148142cf8', time: '2019-07-01T21:30:10'
System info: host: 'blah.blah.blah', ip: '2601:602:9403:400:0:0:0:f690%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.7', java.version: '15.0.2'
Driver info: driver.version: unknown
Error: Summary: SessionNotCreatedException
Detail: A new session could not be created.
Further Details: run errorDetails method
I feel as if the "Driver info: driver.version: unknown" is the problem, which I think refers to the chromedriver but I'm not sure. I am quite positive that "89.0.4389.23" is my chrome version and that java, selenium, chrome are all very up-to-date versions.
Any thoughts would be appreciated, thanks.

how do i install mariadb on ubuntu 16.04

i have been trying to install mariadb on my ubuntu machine but the error ii keep getting is shown on the link below
https://imgur.com/9LOtUk9 "Error Image"
tried uninstalling mysql and mariadb nd reinstalled mariadb all over again
apt-get install mariadb-server
my expected result is below when i try to check the status after installation
mariadb.service - MariaDB 10.3.10 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─migrated-from-my.cnf-settings.conf
Active: active (running)
Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/
Main PID: 15152 (mysqld)
Status: "Taking your SQL requests now..."
CGroup: /system.slice/mariadb.service
└─15152 /usr/sbin/mysqld

Error when updating sbt using apt [Ubuntu]

Setting up sbt (0.13.15.3) ... /usr/share/sbt/bin/sbt-launch-lib.bash:
line 73: java: command not found
dpkg: error processing package sbt
(--configure): subprocess installed post-installation script returned
error exit status 127
I have the Java bin directory in PATH and I've also set JAVA_HOME:
$ java -version
openjdk version "1.8.0_131" OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)

When I am installing tomcat 7 in ubuntu 16.04 I got this error

When I am installing tomcat 7 in ubuntu 16.04 I got this error
invoke-rc.d: initscript tomcat7, action "start" failed.
● tomcat7.service - LSB: Start Tomcat.
Loaded: loaded (/etc/init.d/tomcat7; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2017-05-29 00:33:24 IST; 6ms ago
Docs: man:systemd-sysv-generator(8)
Process: 972 ExecStart=/etc/init.d/tomcat7 start (code=exited, status=1/FAILURE)
May 29 00:33:24 developer-HP-Notebook systemd[1]: Starting LSB: Start Tomcat....
May 29 00:33:24 developer-HP-Notebook tomcat7[972]: * no JDK or JRE found - please set JAVA_HOME
May 29 00:33:24 developer-HP-Notebook systemd[1]: tomcat7.service: Control process exited, code=exited status=1
May 29 00:33:24 developer-HP-Notebook systemd[1]: Failed to start LSB: Start Tomcat..
dpkg: error processing package tomcat7 (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (229-4ubuntu17) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
tomcat7
E: Sub-process /usr/bin/dpkg returned an error code (1)
Either Java is not installed or you have the environment variable JAVA_HOME not pointed to it. Check for existence of java on your system, by executing following command in a terminal:
java -version
Install Java, by either downloading a jdk or jre from oracle java: https://java.com/.
Or just run:
sudo apt-get install openjdk-8-jdk

connect device to worklight console

i have downloaded the pushnotification example from the ibm website and running it in my eclipse
06-29 11:12:45.952: W/System.err(8871): org.apache.http.conn.HttpHostConnectException: Connection to http://10.90.33.127:10080 refused
06-29 11:12:45.952: W/System.err(8871): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:183)
06-29 11:12:45.952: W/System.err(8871): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
06-29 11:12:45.952: W/System.err(8871): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
06-29 11:12:45.952: W/System.err(8871): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
06-29 11:12:45.952: W/System.err(8871): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
06-29 11:12:45.962: W/System.err(8871): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
06-29 11:12:45.962: W/System.err(8871): at com.worklight.wlclient.WLRequestSender.run(WLRequestSender.java:47)
06-29 11:12:45.962: W/System.err(8871): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
06-29 11:12:45.962: W/System.err(8871): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
06-29 11:12:45.962: W/System.err(8871): at java.lang.Thread.run(Thread.java:856)
06-29 11:12:45.962: W/System.err(8871): Caused by: java.net.ConnectException: failed to connect to /10.90.33.127 (port 10080) after 10000ms: connect failed: ENETUNREACH (Network is unreachable)
06-29 11:12:45.962: W/System.err(8871): at libcore.io.IoBridge.connect(IoBridge.java:114)
06-29 11:12:45.962: W/System.err(8871): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
06-29 11:12:45.962: W/System.err(8871): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:460)
06-29 11:12:45.962: W/System.err(8871): at java.net.Socket.connect(Socket.java:832)
06-29 11:12:45.962: W/System.err(8871): at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
06-29 11:12:45.962: W/System.err(8871): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:144)
06-29 11:12:45.962: W/System.err(8871): ... 9 more
06-29 11:12:45.962: W/System.err(8871): Caused by: libcore.io.ErrnoException: connect failed: ENETUNREACH (Network is unreachable)
06-29 11:12:45.972: W/System.err(8871): at libcore.io.Posix.connect(Native Method)
06-29 11:12:45.972: W/System.err(8871): at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:85)
06-29 11:12:45.972: W/System.err(8871): at libcore.io.IoBridge.connectErrno(IoBridge.java:144)
06-29 11:12:45.972: W/System.err(8871): at libcore.io.IoBridge.connect(IoBridge.java:112)
06-29 11:12:45.972: W/System.err(8871): ... 14 more
06-29 11:12:46.032: D/wl.certManager(8871): WLCertManager.clearKeystore in WLCertManager.java:258 :: Key store cleared.
06-29 11:12:46.072: W/PluginManager(8871): THREAD WARNING: exec() call to WLAuthorizationManagerPlugin.deleteAllAuthData blocked the main thread for 36ms. Plugin should use CordovaInterface.getThreadPool().
06-29 11:12:46.082: D/wl.certManager(8871): WLCertManager.clearKeystore in WLCertManager.java:258 :: Key store cleared.
06-29 11:12:46.162: W/PluginManager(8871): THREAD WARNING: exec() call to WLAuthorizationManagerPlugin.getClientInstanceIdHeader blocked the main thread for 87ms. Plugin should use CordovaInterface.getThreadPool().
06-29 11:12:46.172: W/System.err(8871): org.apache.http.conn.HttpHostConnectException: Connection to http://10.90.33.127:10080 refused
06-29 11:12:46.172: D/wl.request(8871): WLRequestSender.run in WLRequestSender.java:40 :: Sending request http://10.90.33.127:10080/PushNotifications/authorization/v1/clients/instance
06-29 11:12:46.172: W/System.err(8871): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:183)
06-29 11:12:46.172: W/System.err(8871): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
06-29 11:12:46.172: W/System.err(8871): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
06-29 11:12:46.172: W/System.err(8871): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
06-29 11:12:46.172: W/System.err(8871): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
06-29 11:12:46.172: W/System.err(8871): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
06-29 11:12:46.172: W/System.err(8871): at com.worklight.wlclient.WLRequestSender.run(WLRequestSender.java:47)
06-29 11:12:46.172: W/System.err(8871): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
06-29 11:12:46.182: W/System.err(8871): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
06-29 11:12:46.182: W/System.err(8871): at java.lang.Thread.run(Thread.java:856)
06-29 11:12:46.182: W/System.err(8871): Caused by: java.net.ConnectException: failed to connect to /10.90.33.127 (port 10080) after 10000ms: connect failed: ENETUNREACH (Network is unreachable)
06-29 11:12:46.182: W/System.err(8871): at libcore.io.IoBridge.connect(IoBridge.java:114)
06-29 11:12:46.182: W/System.err(8871): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
06-29 11:12:46.182: W/System.err(8871): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:460)
06-29 11:12:46.182: W/System.err(8871): at java.net.Socket.connect(Socket.java:832)
06-29 11:12:46.182: W/System.err(8871): at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
06-29 11:12:46.182: W/System.err(8871): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:144)
06-29 11:12:46.182: W/System.err(8871): ... 9 more
06-29 11:12:46.182: W/System.err(8871): Caused by: libcore.io.ErrnoException: connect failed: ENETUNREACH (Network is unreachable)
06-29 11:12:46.192: W/System.err(8871): at libcore.io.Posix.connect(Native Method)
06-29 11:12:46.192: W/System.err(8871): at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:85)
06-29 11:12:46.192: W/System.err(8871): at libcore.io.IoBridge.connectErrno(IoBridge.java:144)
06-29 11:12:46.192: W/System.err(8871): at libcore.io.IoBridge.connect(IoBridge.java:112)
06-29 11:12:46.192: W/System.err(8871): ... 14 more
06-29 11:12:46.262: D/wl.certManager(8871): WLCertManager.clearKeystore in WLCertManager.java:258 :: Key store cleared.
06-29 11:12:46.272: D/NONE(8871): Client registration failed with error: {"responseHeaders":{},"status":500,"responseText":"","errorCode":"UNEXPECTED_ERROR","errorMsg":"Unexpected errorCode occurred. Please try again.","invocationContext":null}
06-29 11:12:46.332: E/NONE(8871): [/apps/services/api/PushNotifications/android/init] failure. state: 500, response: undefined
06-29 11:12:46.352: D/NONE(8871): Failed connecting to MobileFirst Server.
06-29 11:12:46.762: W/PluginManager(8871): THREAD WARNING: exec() call to Notification.confirm blocked the main thread for 403ms. Plugin should use CordovaInterface.getThreadPool().
here are details of my mobilefirst server
host name:10.90.33.127
and my adpater details
wlServerProtocol = http
wlServerHost = 10.90.33.127
wlServerPort = 10080
wlServerContext = /PushNotifications/
wlAppId = PushNotifications
and the error on my device says "failed connecting to the mobilefirst server.Try again later".
and my wlclient.properties is
wlServerProtocol = http
wlServerHost = 10.90.33.127
wlServerPort = 10080
wlServerContext = /PushNotifications/
wlAppId = PushNotifications
If you go to 10.90.33.127:10080/worklightconsole, do you actually see the console in a desktop browser?
If you do the same from your mobile device, do you also see the console?
It sounds like your mobile device is not connected to the same network as your server. If you are testing in a local environment, make sure your mobile device is connected to the same wifi network as your computer.

Resources