simulator icon indicating copy to clipboard operation
simulator copied to clipboard

Invalid URI - Object reference not set to an instance of an object

Open emijano opened this issue 4 years ago • 4 comments

I cannot connect to the SVL cloud because of the problem with cloud URL address. I'm using default config file:

headless: false read_only: false api_hostname: "localhost" api_port: 8181 cloud_url: "wise.svlsimulator.com"

Following error has been noticed in Player.log:

UriFormatException: Invalid URI: The format of the URI could not be determined. at System.Uri.CreateThis (System.String uri, System.Boolean dontEscape, System.UriKind uriKind) [0x0007b] in :0 at System.Uri..ctor (System.String uriString) [0x00014] in :0 at ConnectionManager.Start () [0x0006b] in <70aff1c8099a450ba99a30e937bed857>:0

When configuration file is removed then simulator try to establish the connection to the default server (it cannot - probably matter of the proxy configuration). OS: Ubuntu 20.04.3 LTS

emijano avatar Oct 14 '21 15:10 emijano

The default cloud URL is actually: cloud_url: "https://wise.svlsimulator.com"

Can you check and fix your cloud_url if it does not match this? I just downloaded 2021.3 (Windows and Linux) zip files, unpacked, and confirmed that both zip files include "https://" in the cloud_url field of config.yml.

lemketron avatar Oct 14 '21 15:10 lemketron

You are right. I have just tried to change different settings and pasted wrong configuration. Anyway, it does not work with with "https://wise.svlsimulator.com" either.

emijano avatar Oct 15 '21 07:10 emijano

Hi, could you take a look at this issue with a defualt configuration. The problem still occurs.

emijano avatar Oct 28 '21 10:10 emijano

@emijano Hi, Maybe you can try to open this URL:https://wise.svlsimulator.com in your browser before running the program, I solved the same problem this way.

Azure-blog avatar May 23 '22 08:05 Azure-blog