Add ability to only use one port

8 posts, 2 answers
  1. Robert
    Robert avatar
    5 posts
    Member since:
    Sep 2010

    Posted 12 Jun 2011 Link to this post

    If possible, it would be ideal if TeamPulse could utilize a single standard port (80 or 443).  In my case, I want to make TeamPulse available over the Internet via SSL but due to our security policies I cannot use any port other than 443, which makes doing so impossible at this point.
  2. Answer
    Jordan
    Admin
    Jordan avatar
    123 posts

    Posted 13 Jun 2011 Link to this post

    Hello Robert,

    It is possible to run TeamPulse over SSL. Here are the steps:
    1. Add new binding for SSL via IIS Manager but keep the other one that uses port 9898
    2. Open the web.config file for the TeamPulse site in any text redactor. It is located in -> <installed folder>\TeamPulse\wwwroot\web.config.
    3. Search for TransportCredentialOnly and change it to Transport. You should find it three times.
    4. Save web.config
    That have to do the job. If you have any further questions do not hesitate to ask.

    Greetings,
    Kamen
    the Telerik team
    TeamPulse R1 Officially Released!
    Do you want to be able to directly talk to our professionals and ask questions about the things that interest you?
    Reserve a seat for the TeamPulse Weekly Live Demo today!
  3. Robert
    Robert avatar
    5 posts
    Member since:
    Sep 2010

    Posted 13 Jun 2011 Link to this post

    This will work even if port 9898 on the server is not accessible to the Silverlight client on the Internet -- only 443 is allowed through the firewall?
  4. Robert
    Robert avatar
    5 posts
    Member since:
    Sep 2010

    Posted 13 Jun 2011 Link to this post

    Ok, I see that that does appear to work.  Now, is there a way TeamPulse can be an Application within another Web Site instead of being it's own web site?
  5. Robert
    Robert avatar
    5 posts
    Member since:
    Sep 2010

    Posted 13 Jun 2011 Link to this post

    If I take a working TeamPulse web site and try to implement it as an Application with another Web Site I find that the services are accessible, but the the silverlight client fails with the following.  The goal is to have TeamPule as a sub-site of a published SSL secured site instead of having to publish out another site with another SSL certificate.

    Exception Type: System.Reflection.TargetInvocationException
    Exception Message: An exception occurred during the operation, making the result invalid.  Check InnerException for exception details.
       at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
       at TeamPulse.Client.AuthorizationService.GetUserLicenseInfoCompletedEventArgs.get_Result()
       at TeamPulse.Client.App.GetUserLicenseInfoCompleted(Object sender, GetUserLicenseInfoCompletedEventArgs e)
    (Inner Exception)
    Exception Type: System.ServiceModel.CommunicationException
    Exception Message: The remote server returned an error: NotFound.
       at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
       at TeamPulse.Client.AuthorizationService.TeamPulseAuthorizationServiceClient.TeamPulseAuthorizationServiceClientChannel.EndGetUserLicenseInfo(IAsyncResult result)
       at TeamPulse.Client.AuthorizationService.TeamPulseAuthorizationServiceClient.TeamPulse.Client.AuthorizationService.ITeamPulseAuthorizationService.EndGetUserLicenseInfo(IAsyncResult result)
       at TeamPulse.Client.AuthorizationService.TeamPulseAuthorizationServiceClient.OnEndGetUserLicenseInfo(IAsyncResult result)
       at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
    (Inner Exception)
    Exception Type: System.Net.WebException
    Exception Message: The remote server returned an error: NotFound.
       at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
       at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
    (Inner Exception)
    Exception Type: System.Net.WebException
    Exception Message: The remote server returned an error: NotFound.
       at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
       at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
       at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__1(Object sendState)

     

     

  6. Answer
    Kamen Ivanov
    Admin
    Kamen Ivanov avatar
    55 posts

    Posted 14 Jun 2011 Link to this post

    Hello Robert,

    Yes you can run TeamPulse as a sub-site of a published SSL secured site. You have to keep the settings changed in web.config fire. Then add TeamPulse as Application under the secured site and for application pool choose  -> TeamPulse_APP_POOL. After application is added go to Authentication settings and Enable -> Windows Authentication all other Authentications should be Disabled. 

    Best wishes,
    Kamen Ivanov
    the Telerik team
    TeamPulse R1 Officially Released!
    Do you want to be able to directly talk to our professionals and ask questions about the things that interest you?
    Reserve a seat for the TeamPulse Weekly Live Demo today!
  7. Aaron
    Aaron avatar
    1 posts
    Member since:
    Dec 2011

    Posted 20 Feb 2012 Link to this post

    Hi Team,

    We had our Teampulse server running on port 443 by adding the extra SSL binding and making web config changes to the TransportCredentialOnly settings as recommended in one of the forum posts. The server was working fine - today we did a backup and then upgraded to the latest version. We had to re-do the webconfig changes - however now the server does not work with standard https - it comes up with the same .NET error (see below). We were using the https method to publish for external clients, where we cannot use the non standard port = 9898.

    For now our internal staff can access the system via port 9898 - but no external access - can you please advise how this can be fixed in the latest upgraded version.

    Thanks

    Aaron (Janison Solutions - Coffs Harbour Australia)

    Exception Type: System.Reflection.TargetInvocationException
    Exception Message: [Async_ExceptionOccurred]
    Arguments:
    Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60831.0&File=System.dll&Key=Async_ExceptionOccurred
       at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
       at TeamPulse.Client.AuthorizationService.GetUserLicenseInfoCompletedEventArgs.get_Result()
       at TeamPulse.Client.App.GetUserLicenseInfoCompleted(Object sender, GetUserLicenseInfoCompletedEventArgs e)
    (Inner Exception)
    Exception Type: System.ServiceModel.CommunicationException
    Exception Message: [HttpWebRequest_WebException_RemoteServer]
    Arguments: NotFound
    Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60831.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer
       at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
       at TeamPulse.Client.AuthorizationService.TeamPulseAuthorizationServiceClient.TeamPulseAuthorizationServiceClientChannel.EndGetUserLicenseInfo(IAsyncResult result)
       at TeamPulse.Client.AuthorizationService.TeamPulseAuthorizationServiceClient.TeamPulse.Client.AuthorizationService.ITeamPulseAuthorizationService.EndGetUserLicenseInfo(IAsyncResult result)
       at TeamPulse.Client.AuthorizationService.TeamPulseAuthorizationServiceClient.OnEndGetUserLicenseInfo(IAsyncResult result)
       at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
    (Inner Exception)
    Exception Type: System.Net.WebException
    Exception Message: [HttpWebRequest_WebException_RemoteServer]
    Arguments: NotFound
    Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60831.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer
       at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
       at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
    (Inner Exception)
    Exception Type: System.Net.WebException
    Exception Message: [HttpWebRequest_WebException_RemoteServer]
    Arguments: NotFound
    Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60831.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer
       at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
       at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
       at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__0(Object sendState)

     

     


  8. Kamen Ivanov
    Admin
    Kamen Ivanov avatar
    55 posts

    Posted 23 Feb 2012 Link to this post

    Hello Aaron,

     I'm sorry that you experience that problem. After the upgrade you have to re-configure not only the Web.config file but the site in IIS too. Here is an KB explaining all changes that you have to make in order to access TeamPulse via SSL.

    Can you confirm that you have made all changes at both places - Web.config file and IIS for the TeamPulse site?

    If you have any further questions do not hesitate to ask.

    Regards,
    Kamen Ivanov
    the Telerik team
    New Cross Project Perspective in TeamPulse coming soon!
    Want to know how TeamPulse could help you better track all your projects?
    Reserve a seat for the TeamPulse R1 webinar today!
Back to Top