Open stko opened 8 years ago
When running the test suite
Scripts & webUI.webUI.passPhraseTest ============================================================================== Starting the pgp encrypted script b232_my12-PDM.lbc.pgp via HTTP | PASS | ------------------------------------------------------------------------------ Test for initial connect message open ws://steffen-Desktop64.fritz.box:8443 .....close webUI Test for initial connect message | PASS | ------------------------------------------------------------------------------ Scripts & webUI.webUI.passPhraseTest | PASS | 2 critical tests, 2 passed, 0 failed 2 tests total, 2 passed, 0 failed ============================================================================== Scripts & webUI.webUI.Userconfig ============================================================================== Starting the script testsuite.lbc via HTTP ...open ws://steffen-Desktop64.fritz.box:8443 Starting the script testsuite.lbc via HTTP | FAIL | something went wrong :-(WebSocketTimeoutException('timed out',)
the log says
INFORMATION: Try to load: /home/steffen/Desktop/workcopies/oobd/testing/lua-scripts/testsuite.lbc with path ID : 1 Apr 09, 2016 5:21:51 PM org.oobd.ui.swing.desk.h b INFORMATION: File /home/steffen/Desktop/workcopies/oobd/testing/lua-scripts/testsuite.lbc loaded Apr 09, 2016 5:21:51 PM org.oobd.base.Core transferMsg INFORMATION: Msg: ScriptengineLua ==> core content:{"connecturl":"dGVsbmV0Oi8vMTIz","command":"connect","owner":"ScriptengineLua","msgID":1,"type":"CHANNEL"} Apr 09, 2016 5:21:51 PM org.oobd.base.Core transferMsg INFORMATION: Msg: core ==> BusCom content:{"connecturl":"dGVsbmV0Oi8vMTIz","command":"connect","msgID":4,"type":"BUSTEST"} Exception in thread "Thread-13" java.lang.ArrayIndexOutOfBoundsException: 1 at org.oobd.base.port.ComPort_Telnet.<init>(SourceFile:40) at org.oobd.ui.swing.desk.h.a(SourceFile:298) at org.oobd.base.Core.supplyHardwareHandle(SourceFile:349) at org.oobd.base.bus.BusCom.run(SourceFile:88) at java.lang.Thread.run(Thread.java:745) url path:/dGVzdHN1aXRlLmxiYw== Apr 09, 2016 5:22:21 PM org.oobd.ui.swing.desk.h b INFORMATION: Try to load: /dGVzdHN1aXRlLmxiYw== with path ID : 7 start scriptengine for testsuite.lbc Send Scriptengine close requestorg.oobd.base.scriptengine.ScriptengineLua@8b45d84 Apr 09, 2016 5:22:21 PM org.oobd.base.scriptengine.ScriptengineLua doScript WARNUNG: Lua script crashed during initialisation: Please go back to main page Apr 09, 2016 5:22:21 PM org.oobd.base.Core transferMsg INFORMATION: Msg: core ==> UIHandler content:{"DIALOG_INFO":{"title":"SW5mbw==","default":"","window":"U2NyaXB0IEZhaWx1cmU=","type":"String","tooltip":"THVhIHNjcmlwdCBjcmFzaGVkIGR1cmluZyBpbml0aWFsaXNhdGlvbg=="},"owner":{"name":"core"},"type":"DIALOG_INFO"} End of Scriptengineorg.oobd.base.scriptengine.ScriptengineLua@8b45d84 core StartScriptEngine: Old Scriptengine not finished yet Apr 09, 2016 5:22:21 PM org.oobd.ui.swing.desk.h b INFORMATION: generateResourceStream: File /theme/default/startpage.html not loaded Scriptengine: Waiting for WS to connect org.oobd.base.scriptengine.ScriptengineLua@149c32b Scriptengine: WS connected org.oobd.base.scriptengine.ScriptengineLua@149c32b Apr 09, 2016 5:22:21 PM org.oobd.ui.swing.desk.h b INFORMATION: Try to load: /home/steffen/Desktop/workcopies/oobd/testing/lua-scripts/testsuite.lbc with path ID : 1 Apr 09, 2016 5:22:21 PM org.oobd.ui.swing.desk.h b INFORMATION: File /home/steffen/Desktop/workcopies/oobd/testing/lua-scripts/testsuite.lbc loaded url path:/dGVzdHN1aXRlLmxiYw== Apr 09, 2016 5:22:21 PM org.oobd.ui.swing.desk.h b INFORMATION: Try to load: /dGVzdHN1aXRlLmxiYw== with path ID : 7 start scriptengine for testsuite.lbc Send Scriptengine close requestorg.oobd.base.scriptengine.ScriptengineLua@149c32b Apr 09, 2016 5:22:21 PM org.oobd.base.Core transferMsg INFORMATION: Msg: ScriptengineLua ==> core content:{"connecturl":"dGVsbmV0Oi8vMTIz","command":"connect","owner":"ScriptengineLua","msgID":1,"type":"CHANNEL"} Apr 09, 2016 5:22:21 PM org.oobd.base.h a INFORMATION: Msg NOT notified, as we wait for 4 core StartScriptEngine: Old Scriptengine not finished yet core StartScriptEngine: Old Scriptengine not finished yet
The received connectURL {"connecturl":"dGVsbmV0Oi8vMTIz".. means "telnet://123", which is obviously not a proper url...
When running the test suite
the log says