Windows Azure Platform Developer Center > Azure Forums > AppFabric > Unable to reach servicebus.windows.net via TCP (818, 828) or HTTP (80, 443)
Ask a questionAsk a question
 

QuestionUnable to reach servicebus.windows.net via TCP (818, 828) or HTTP (80, 443)

  • Friday, November 06, 2009 1:18 AMjared p Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I cannot get the echo sample to work at all since the Nov CTP update.  Are there still issues? Note: setting CredentialType to Unauthenticated does not work either.
    ServiceBusEnvironment.SystemConnectivity.Mode = ConnectivityMode.AutoDetect;   

    // create the service URI based on the solution name
    Uri address = ServiceBusEnvironment.CreateServiceUri("sb", "<myservicenamespace>", "EchoService");

    // create the credentials object for the endpoint
    TransportClientEndpointBehavior sharedSecretServiceBusCredential = new TransportClientEndpointBehavior();
    sharedSecretServiceBusCredential.CredentialType = TransportClientCredentialType.SharedSecret;
    sharedSecretServiceBusCredential.Credentials.SharedSecret.IssuerName = "owner";
    sharedSecretServiceBusCredential.Credentials.SharedSecret.IssuerSecret = "<my current management key>";

    // create the service host reading the configuration
    ServiceHost host = new ServiceHost(typeof(EchoService), address);

    // create the ServiceRegistrySettings behavior for the endpoint
    IEndpointBehavior serviceRegistrySettings = new ServiceRegistrySettings(DiscoveryType.Public);

    // add the Service Bus credentials to all endpoints specified in configuration
    foreach (ServiceEndpoint endpoint in host.Description.Endpoints)
    {
    endpoint.Behaviors.Add(serviceRegistrySettings);
    endpoint.Behaviors.Add(sharedSecretServiceBusCredential);
    }

    // open the service
    host.Open();

All Replies

  • Friday, November 06, 2009 6:04 AMYi-Lun LuoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello, did previous release of .NET Services work fine on this machine? The error is usually caused by proxy servers. For example, if your company is using ISA proxy server, please install and configure ISA client on your machine.
    Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.
  • Monday, November 09, 2009 6:58 PMJaganathan - MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Are you using "default issuer key" for IssuerSceret?