Troubleshoot Connection Issues

Applies to TestComplete 15.70, last modified on December 17, 2024

CucumberStudio uses HTTPS connections to exchange data with clients. Typically, this connection type works fine by default, and doesn’t require any configuration.

TestComplete can fail to connect to CucumberStudio for various reasons. If you experience issues with connecting to CucumberStudio, we suggest that you check settings on your computer and in your network affecting HTTPS traffic.

“A connection with the server could not be established” (TLS support issues)

If you get this error, then, most likely, the Internet settings on your computer are not configured to use TLS for connection. To fix the issue:

  1. Launch Internet Explorer on your computer and select Tools > Internet options.

  2. Switch to the Advanced tab.

  3. Find the Security > Use TLS ... options in the list and enable the Use TLS 1.0 and Use TLS 1.1 options.

  4. Click OK to save the changes and close Internet Explorer in order for the changes to come into effect.

Issues with proxies

If you connect to the Internet via proxy, then this proxy should use a correct certificate for HTTPS traffic. If the proxy uses an expired certificate or a certificate with an invalid signature, TestComplete will not be able to connect to CucumberStudio. The solution is to use another proxy or to install a correct certificate.

The easiest way to check the certificate is to open any HTTPS website in your browser. If the certificate is invalid, modern browsers will display a red or yellow door lock icon.

Issues with self-signed certificates

Since CucumberStudio works through HTTPS, then, to connect to a CucumberStudio server, you need a security certificate installed on your computer. Some organizations use self-signed security certificates in local networks. If you have such a certificate, you will get an error when connecting to CucumberStudio. To fix it, use a certificate signed by some known certificate authority. If you don’t have such a certificate, then, as a workaround, you can enable the Ignore security issues TestComplete option. You can find it in the Tools > Options > Integrations > CucumberStudio dialog. Note however that enabling the option makes the connection between TestComplete and CucumberStudio insecure.

To connect to CucumberStudio running in the cloud, you need a certificate signed by some certificate authority.

See Also

CucumberStudio Integration

Highlight search results