Closed ehhc closed 6 years ago
Is same thing happening with library version 3.5.3.2? 3.6.0.0 might have some issues, and marked as "pre-release" because of broken phantomJS support.
Hi, i was using version 3.5.3.1 and updated to 3.5.3.2 now. Since the issue is happening randomly i can't yet say if that fixed the issue. Do you have any ideas what might cause the issue?
Thanks for your help
Edit: It's just a guess because i can't verify that idea but i was wondering if the issue might happen when the test environment (which is in fact a jenkins server) is quite busy. Is it possible that the browser take to much time to open and therefore causes a connection refused exception? At the other hand, our jenkins server has a very good cpu and should be able to handle the robot test without any problems..
Update: The update to version 3.5.3.1 didn't solved the issue unfortunately.. Any ideas?
Sadly no. Initial thought is that it's issue in Selenium or environment, as library is just using those as a dependencies, and failure is not happening every time. Also Firefox was not working with Travis builds, so automated verification using that is not available (and could show something).
Hi, is it somehow possible to pass the "-v" (= verbose) option to selenium? That's what was suggested by the selenium community..
Hi there, i found an ugly but usable solution: i wrap the open browser keyword into a wait until keyword succeeds. Since the issue only happens (randomly) at the first try to open the browser, the second try succeeds.. So even though it’s not quite nice, it’s working now. Thanks for your help nevertheless.
Hi, I have the following issue and am a little bit clueless what might cause it: In my test environment my tests randomly fail because connection refused exceptions (see stacktrace below). I’m using a CentOS 7 System with the newest available Firefox Version (Firefox 52) and the belonging GeckoDriver Version (geckoDriver v0.17). I have found your discussion here: https://groups.google.com/forum/#!searchin/robotframework-users/Connection$20refused|sort:date/robotframework-users/WNurQlk_m5Y/A5jil_1sCQAJ but no working solution is mentioned. My initial thought was that I might use an outdated setup, but Firefox 52 is the newest version available for Centos 7 and is the official supported one. The GeckoDriver Version can’t be updated as well because the newer versions don’t support Firefox 52. Updating the Browser and the GeckoDriver (as mentioned in the google discussion) isn’t a possible option therefore.. Do you have any ideas what might cause my problem? As I said it only happens randomly so that I can’t point to a concrete cause.. Any ideas? Thanks in advance for your help