[Nightwatch][selenium-server] Connection Refused! Is Selenium Server Started - nightwatch.js

I'm using nightwatch.js to test website, When running the google.js test which comes with Nightwatch I get the error back "Connection Refused is Selenium Server started?" and, well, it is. I started it.
The error I get is:
this is my nightwatch.json:
module ver:
node version : v14.16.0

This is Vishal here from the Nightwatch product team. We noticed that you are using Nightwatch version 0.9.21 whereas the latest version on the Nightwatch website is 2.2.2. Can you please try to upgrade to the latest version and let us know if the issue still persists?

Related

opendaylight REST API

I downloaded latest version of ODL 15. I entered to the karaf interface.
as given in https://docs.opendaylight.org/en/stable-phosphorus/developer-guides/developing-apps-on-the-opendaylight-controller.html
I access to http://myip:8181/index.html from my browser
But It returned:
HTTP ERROR 401
Problem accessing /index.html. Reason:
Unauthorized
i tried to install features like odl-mdsal-apidocs, but not able to. giving error "Error executing command: No matching features for odl-mdsal-apidocs"
What should I do?
new releases from odl doesn't support dlux which is the gui of OpenDayLight
you can fix it by using older release like carbon

Is SonarLint 3.2.0 compatible with sonarqube 6.2?

I am trying to connect to a remote sonarqube 6.2 server from Sonarlint 3.2 plugin in eclipse neon. I am able to connect to my local server http://localhost:9000.
But When I am trying to hit the remote sonar server I am getting below error:
Fail to request https://xxxxxxxxxxxxxx:xxxx/xxx/api/system/status
Please advise.
I ran into this problem myself using SonarLint 3.1 and SonarQube 6.7.
In IntelliJ I kept running into this error message
Failed to connect to the server. Please check the configuration.
Error: Fail to request https://<SONARQUBE>/api/system/status
However I could access that URL through my browser without any issues.
When you WireShark the requests coming from the browser and the IDE you can see that the cypher suite is quite different and that the IDE plugin gets a TLS handshake failure.
That lead me to discover that Java still ships with limited strength cryptographic functions. That’s either because of US export policy or because nobody has gotten around to fixing it. The internet isn’t quite sure.
Either way, you can download the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files from Oracle: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
Once I installed those onto the IntelliJ JVM, I no longer got the underlying TLS handshake failure when trying to connect to SonarQube and the connection works.

Faraday::SSLError at /callback handshake alert: unrecognized_name

I am a total newbie which has started learning Ruby so please be patient with me.
I am doing Ruby challenges where I need to run a Ruby file that launches a web server on my computer. First I run this application in command line with a command:
ruby app.rb
Then I paste this URL to my browser and access to my local server:
http://localhost:4567
On this local web page I click the link that gets connected to a web server on Internet where I should get authenticated. Till this moment everything works good, but during the authentication I have got an error. If there wasn’t any error during my authorization, the application would retrieve my profile data from the internet server. This is the error that I am getting:
Faraday::SSLError at /callback
handshake alert: unrecognized_name.
I have been trying to resolve this problem for two days. What I have done:
1) I think this error is connected somehow with Java. I tried to run this application with all versions of Java (6, 7, 8) as people said they had the same problem when they updated to a higher java version. Unfortunately, my version of Ruby doesn’t accept Java 6.
2) Possible solution which was posted here SSL handshake alert: unrecognized_name error since upgrade to Java 1.7.0), the same as here in 20 similar posts in Stackoverflow about "handshake alert: unrecognized_name" error, where it is suggested to set the jsse.enableSNIExtension property. But I couldn’t understand any of those answers, specifically, where to apply this code. Then I found this link https://community.jivesoftware.com/docs/DOC-140837 where it was advised to open the Java Control Panel (I did it through System Preferences Java). I went through the Java tab and clicked View and added “-Djsse.enableSNIExtension=false” to the Runtime Parameters and applied it.
3) Another possible solution was found here Disable SNI Extension for Ruby net/http - Using IP address with SSL/TLS (the answer given by ZebGir) but I didn’t find the file *http.rb in my .rvm or even within my whole system.
Please advise any hint or link with the possible solution for my issue.
My system is Mac OS X El Capitan.
RVM version 1.27.
Java version 1.8.
Have you tried disabling the ssl setting for your the faraday library? Something like:
connection = Faraday.new 'https://example.com', :ssl => false
Also see: https://github.com/lostisland/faraday/wiki/Setting-up-SSL-certificates

how to check if selenium server is running?

how can I check if selenium server is running and start selenium if it is not running. I get the error connection refused often when integrated selenium tests into jenkins. Obviously, I want to give selenium a chance to get started because running my tests. What's the proper bash command to get this done?
Would this answer be of help to you? Basically it recommends you hit a url (e.g. http://localhost:4444/selenium-server/driver?cmd=getLogMessages) to see if the server is running.

sql Plugin not working in Production Server and it could not find the jdbc drivers

I have created a plugin for connecting to sql thru jdbc driver in my development server. I tried to install the plugin thru update site , but i doesnt work for me for some reason.then copied the plugin into the "domino\workspace\applications\eclipse\plugins" folder in my server. and the connection is successfull. Then i copied the same plugin in my production server, but the connection fails, it throws error saying "it could not find the driver". what could be the reason?
Extension library version is different in Development and production server. Later i upgraded my production server with latest version of extension library and the problem is solved.

Resources