title: Get Unknown error when connecting creating a connection using Ably.io
body: <p>We have a use case where the user has not logged into the application yet and no authentication token has been created. The application needs to connect to the web server on a public channel to check for application updates. The connection fails. With the following Error Reason: "Unknown error; Code: 500; HttpStatus Code: (404)NotFound.</p>
  
  <p>Ably library and SDK from Nuget 0.8.11.</p>
  
  <p>The following code does not connect to the web server.</p>
  
  <pre><code>    public ExtendedAblyIoClient(string name, string ClientId, string ChannelId, string AuthUrl, string ablyKey)
      {
          _name = name;
          _authUrl = AuthUrl;
          _clientId = ClientId;
          _channelId = ChannelId;
          _ablyAppKey = ablyKey;
          _authUri = new Uri(_authUrl);  // local host for testing and development.
          _httpRequestTime = TimeSpan.FromHours(2.0);
  
          ClientOptions clientOptions = new ClientOptions
          {
              Key = _ablyAppKey,
              ClientId = _clientId,
              AuthUrl = _authUri,
              Tls = false,
              HttpRequestTimeout = _httpRequestTime,
              HttpOpenTimeout = _httpRequestTime
          };
  
          commonInitialization(clientOptions);
          _channel = _ablyClient.Channels.Get(_channelId);
          _channel.Subscribe(message =&gt;
          {
              OnMessageCallback(_sender, _channelId, message.Data.ToString());
          });
  
      }
  
      private void commonInitialization(ClientOptions clientOptions)
      {
          _ablyClient = new AblyRealtime(clientOptions);
  
          _ablyClient.Connection.On(ConnectionState.Connected, args =&gt;
          {
              realTimeClientOnConnected(_sender);
          });
  
          _ablyClient.Connection.On(ConnectionState.Disconnected, args =&gt;
          {
              realTimeClientOnDisconnected(_sender);
          });
          _ablyClient.Connection.On(ConnectionState.Failed, args =&gt;
          {
              string WhyError = _name + " Failed: " + _ablyClient.ToString();
              realTimeClientOnDisconnected(WhyError);
          });
      }
  </code></pre>