Forum Discussion

Lavanya123's avatar
Regular Visitor
3 years ago

No connection could be made because the target machine actively refused it

Hi all, 

I am trying to execute the scripts developed using Robot Framework on Bit Bar cloud. For that I have provided the required capabilities. 


But observing this issue/error message "MaxRetryError: HTTPSConnectionPool(host='', port=10090): Max retries exceeded with url: /wd/hub/session (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000022522B89360>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))" while executing the test. 


And I took reference from the samples provided in the github here is the link : 


Could someone help me in resolving this. 


Here is the capabilities I have provided. 





bitbar_device=Google Pixel 3a Android 12 


deviceName=Android Phone 



Here are the capabilities provided in the Open Application Robot Framework Appium Library keyword but observing the same issue

Open Application    alias=testapp   bitbar_username=xxx     bitbar_password=xxx    bitbar_apiKey=xxx    bitbar_project=Appium Android Project     bitbar_testrun=Test run 1     bitbar_target=Android    bitbar_device=Google Pixel 3a Android 12     bitbar_app=${APP_ANDROID}      deviceName=Android Phone     automationName=Appium


Please refer he attached screenshots of the test log and code 

1 Reply

  • Hi,

    This could be a security issue.  Either the port may be block of there is a firewall blocking access to the server.

    Check to see if the port is blocked and if it can unblocked or moved to a new port.