Report Generator - Launching Report Generator - Errors - Impossible to add this web service URL Please enter a valid url with the following format

Purpose (problem description)

This page will help you to troubleshoot the following error which arises when validating the Rest API URL in Report Generator.

Impossible to add this web service URL. Please enter a valid url with the following format http://<server>:<port>/<war>/rest then validate the user and the password

*Observed in CAST AIP
Release
Yes/No
8.3.x(tick)

  

Observed on RDBMS
RDBMS
Yes/No
CSS(tick)
Step by Step scenario
  1. Launch Report Generator
  2. Add URL a valid URL
  3. Click Validate to see the error message
Action Plan
  1. Check if the computer from where you are connecting to the Report generator has .net framework installed and the path is set in web.config file. The issue can be due to the Dotnet framework installation on the computer you are using to connect to Report Generator.
    1. Look for the file web.config in your dotnet framework installation. For instance it could be C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config
    2. Open the web.config file, and search for <system.net> tag. It should have something like below -

          <system.net>
              <defaultProxy>
                  <proxy usesystemdefault="true" />
              </defaultProxy>
          </system.net>

      OR

      <system.net>
          <defaultProxy useDefaultCredentials="true" >
          </defaultProxy>
      </system.net>

      If the tag contains some other value then modify it as above to resolve the issue.

    3. If the framework is not installed, then install it and set the variable in web.config file. Else go to the next step
  2. If the Report generator is used on a reverse proxy, then do the following checks, else contact CAST Technical Support with the Relevant input
    1. Check if your certificate is valid
        1. Open Internet Explorer
        2. Enter the URL of your Rest API
        3. Click on the Lock Button and View the certificate
        4. Verify In the tab Certificate Path, if it is valid as shown in the below screenshot

      1. If your certificate is not valid then use a valid certificate
    2. Check if you have default proxy tag in Report Generator Config file.
      1. Edit the file <Report_Genrator_Install_directory>\CastReporting.UI.WPF.exe.config and Search for the following bloc

        <system.net>
            <defaultProxy useDefaultCredentials="true" >
            </defaultProxy>
        </system.net>


      2. If you do not find it, then add it to the file, the file should look like the one below

      3. If it is not there then add this tag and reconnect to Report Generator. This issue does not occur from Report Generator 1.5.0 onwards. If you are using Report Generator version >= 1.5.0 or if you are not using proxy to connect and still facing this issue then contact CAST Technical Support with the Relevant input 

    3. Check which are the SSL protocols that support HTTPS connections, for this open the <install dir>conf\server.xml file located under your Tomcat install folder, and search for "sslEnabledProtocols", for example:

       sslEnabledProtocols="TLSv1.1,TLSv1.2"

      If TLSv1 is not part of the list of SSL protocols to support for HTTPS connections then please add it, you should get the following:

       sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2"

      Note that, this issue is resolved starting from Report Generator version 1.5.0. If you are using Report Generator version >= 1.5.0 or if you are not using proxy to connect and still facing this issue then contact CAST Technical Support with the Relevant input

  3. If the above steps do not resolve your issue, then contact CAST Technical Support with the following Relevant input. CAST Technical Support will reproduce the issue following the page - Report Generator - Information - How to reproduce user issues 

Relevant input

  1. War deployed at your end
  2. Screenshot of the Report Generator showing the problem
  3. Screenshot of the Internet Explorer showing that the certificate is valid
  4. web.config file located in the dotnet framework installation directory
  5. CastReporting.UI.WPF.exe.config file located in the Report Generator installation directory
Notes/comments

Ticket # 7270 , 8001

Related Pages