Skip to content

Use the "Start Application" keyword to start the Sample but "RemoteSwingLibrary.RemoteSwingLibraryTimeoutError: Agent port not received before timeout" appears Error message #108

@a9038889

Description

@a9038889

I issued the following command and it successfully ran the sample but couldn't connect the Sample causing the keyword to fail. Another point I use the same command for another example to run and connect fine.

So it is successfully started then try to listed to the port then it couldn't find it!!!!

Robotframework:
Start Application my_app java -classpath "C:\Program Files\DigitalPersona\U.are.U SDK\Windows\Samples\Bin\Java\UareUSampleJava.jar";"C:\Program Files\DigitalPersona\U.are.U SDK\Windows\Lib\Java\dpuareu.jar" UareUSampleJava timeout=120

Windows: Windows 10x64
Python: 3.8.10
JAVA: jre1.8.0_361
RTL:2.3.1

Debug log:
20230217 13:17:17.955 : INFO : Link to stdout
20230217 13:17:17.955 : INFO : Link to stderr
20230217 13:17:17.955 : INFO : -javaagent:"C:\Users\yuwsuu\AppData\Local\Programs\Python\Python38\Lib\site-packages\remoteswinglibrary-2.3.1.jar"=127.0.0.1:56306:DEBUG
20230217 13:17:17.955 : INFO : Java version > 9: False
20230217 13:17:17.957 : INFO :
Starting process:
java -classpath "C:\Program Files\DigitalPersona\U.are.U SDK\Windows\Samples\Bin\Java\UareUSampleJava.jar";"C:\Program Files\DigitalPersona\U.are.U SDK\Windows\Lib\Java\dpuareu.jar" UareUSampleJava
20230217 13:19:17.971 : INFO :
Failed to start application: Traceback (most recent call last):
File "C:\Users\yuwsuu\AppData\Local\Programs\Python\Python38\Lib\site-packages\remoteswinglibrary-2.3.1.jar\RemoteSwingLibrary.py", line 446, in start_application
self._application_started(alias, timeout, name_contains, remote_port, accept_old=False)
File "C:\Users\yuwsuu\AppData\Local\Programs\Python\Python38\Lib\site-packages\remoteswinglibrary-2.3.1.jar\RemoteSwingLibrary.py", line 495, in _application_started
url = self._get_agent_address(name_contains, accept_old)
File "C:\Users\yuwsuu\AppData\Local\Programs\Python\Python38\Lib\site-packages\remoteswinglibrary-2.3.1.jar\RemoteSwingLibrary.py", line 516, in _get_agent_address
raise RemoteSwingLibraryTimeoutError('Agent port not received before timeout')
RemoteSwingLibrary.RemoteSwingLibraryTimeoutError: Agent port not received before timeout

20230217 13:19:17.971 : INFO : Waiting for process to complete.
20230217 13:19:17.986 : INFO : Process did not complete in 10 milliseconds.
20230217 13:19:17.986 : INFO : Leaving process intact.
20230217 13:19:17.986 : INFO : Process is running, but application startup failed
20230217 13:19:17.987 : FAIL : RemoteSwingLibraryTimeoutError: Agent port not received before timeout

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions