Authentication required for session

Last post 06-03-2008, 5:15 PM by Colin. 4 replies.
Sort Posts: Previous Next
  •  05-19-2008, 10:09 PM 23894

    Authentication required for session

    Hello! Perhaps someone can help...

    I've attempted a blackpearl installation which has completed and configured successfully, but is causing trouble when I try to use the K2 workspace site.

    My environment consists of two load balanced K2 servers and a SQL server on a separate cluster. The K2 servers also happen to be SharePoint web front ends.

    Trying to expand the tree on the Management Console page of K2 Workspace results in an 'Authentication required for session' dialog. I also get similar errors in other parts of the site.

    When starting the servers in console mode, everything looks fine up until this bit:

    Info    7028 '<servername>\EventBus' queue does not exist, the queue will be created
    Error   7030 Unable to create '<servername>\EventBus' queue : 'Object owner was invalid. For example, MQCreateQueue failed because the Queue Manager object is invalid.'
    Info    7028 '<servername>\EventBus Error' queue does not exist, the queue will be created
    Error   7030 Unable to create '<servername>\EventBus Error' queue : 'Object owner was invalid. For example, MQCreateQueue failed because the Queue Manager object is invalid.'
    Error   7026 Unable to load EventBus Server

    MSMQ is installed on all servers including the SQL cluster, and the farm is configured to use Kerberos authentication. So, any ideas? Please help!

  •  05-20-2008, 1:21 AM 23897 in reply to 23894

    Re: Authentication required for session

    Try the following for each of the servers in your cluster. Browse to the following file in your hostserver\bin folder : SourceCode.EventBus.EventAdmin.dll.config and then change the value of both the connectionstrings (host param) to point directly to the current server host name that you are modifying instead of the cluster name. Restart host server and try again.

     


    Gerhard
    -----------------------------------------------------------------------------
  •  05-21-2008, 12:39 AM 23927 in reply to 23897

    Re: Authentication required for session

    Many thanks Gerhard for your response.

    I tried your suggestion, but it had no effect in this case. I ended up resolving the message queuing problem by uninstalling the MSMQ Windows component and reinstalling on both servers. Unsure why it didn't install correctly the first time.

    In other news, this didn't solve my original problem, which was apparently an unrelated issue.

    The 'Authentication required for session' message is still displayed when trying to expand the Management Console tree, amongst other actions. The associated console message:

    Error   2025 Error Marshalling SourceCode.Hosting.Servers.Management.ListHostedServers, Authentication required for session 2F62F83F6F2840708613E33B8ABFF9C3
    Error   2025 Error Marshalling SourceCode.Hosting.Servers.Management.ListHostedServers, Authentication required for session 2F62F83F6F2840708613E33B8ABFF9C3
    Error   8060 ProcessPacket Error, Authentication required for session 2F62F83F6F2840708613E33B8ABFF9C3

    Any tips on where I can find more information about this problem? The Windows application, security and system event logs seem happy enough.

    Thanks,
    Colin

  •  05-21-2008, 9:24 PM 23959 in reply to 23927

    Re: Authentication required for session

    This error normally indicates that there is an issue with the Kerberos configuration.  I would go through the setup to see if the proper settngs have been done on the servers.  You can refer to my blog article on this (http://k2underground.com/blogs/johnny/archive/2007/12/07/k2-blackpearl-hf2-01-distributed-installations.aspx) or you can refer to the default installation documentation for a distributed install in the Getting Started guide.

    After reviewing the steps and it seems all correct.  If you still get errors, you might want to turn on Kerberos logging on th servers and check the event logs for kerberos errors.

  •  06-03-2008, 5:15 PM 24150 in reply to 23959

    Re: Authentication required for session

    Ok, it's taken me a while to get back to this due to fun and games in unrelated matters.

    Johnny, you were right that it was a Kerberos related issue. I thought I'd checked this, but it turned out my K2 Workspace domain account was not trusted for delegation. After updating this, restarting each K2 server and restarting my client machine authentication is working fine.  Your blog article has also been very helpful as a checklist, thanks.

View as RSS news feed in XML