On Demand Multicast problem

  1. 6 weeks ago

    I upgraded a server from 1.2.1 to 1.3. I am now having issues with on demand multicast. i click on "Start On Demand Multicast", select the options and click on "Start Multicast". it displays "successfully started multicast <port number>". When i click on view active multicasts, it shows total number of multicasts at the far right but nothing else displays on screen. Every time a new on demand multicast is created the number increments, but nothing ever shows. When a client boots and on demand is selected, then multicast, it says no multicast sessions were found and reboots.

    I get these errors in the clonedeployfe.log. not sure if that is helpful.

    2017-10-20 10:30:27,708 [125] ERROR CloneDeploy_ApiCalls.ApiRequest Could Not Complete API Request. The Response Produced An Error.api/ActiveMulticastSession/Get
    2017-10-20 10:30:27,739 [125] ERROR CloneDeploy_ApiCalls.ApiRequest {"Message":"An error has occurred.","ExceptionMessage":"The 'ServerId' property on 'ActiveMulticastSessionEntity' could not be set to a 'null' value. You must set this property to a non-null value of type 'System.Int32'. ","ExceptionType":"System.Data.ConstraintException","StackTrace":" at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader`1.GetValue(DbDataReader reader, Int32 ordinal)\r\n at lambda_method(Closure , Shaper )\r\n at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.HandleEntityAppendOnly[TEntity](Func`2 constructEntityDelegate, EntityKey entityKey, EntitySet entitySet)\r\n at lambda_method(Closure , Shaper )\r\n at System.Data.Entity.Core.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper)\r\n at System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()\r\n at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)\r\n at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()"}

    Ahh, looks like you have some stale entries in there from before the upgrade.

    mysql.exe --user=root --password clonedeploy --execute="delete from active_multicast_sessions;"
  2. clonedeploy

    Nov 1 Administrator

    Can you post the user history for the multicast. In the webui->users->view->history

    Should look something like this.
    {"Id":3,"ImageProfileId":4,"Name":"9006","Pid":10868,"Port":9006,"ServerId":0,"UserId":1}

  3. {"Id":60,"ImageProfileId":33,"Name":"9226","Pid":3096,"Port":9226,"ServerId":0,"UserId":7}

  4. clonedeploy

    Nov 1 Administrator

    Well I haven't been able to replicate this, and your history contradicts the error message. Basically it's complaining the serverId is null but it is clearly set to 0. Can you try this. Start an ondemand multicast and post the results of this command.

    cd "c:\Program Files (x86)\MariaDB 10.1\bin"
    mysql.exe --user=root --password clonedeploy --execute="select * from active_multicast_sessions;"
  5. +----------------------+----------------+---------------+----------------+---------+----------------------+-----------+
    | multicast_session_id | multicast_name | multicast_pid | multicast_port | user_id | ond_image_profile_id | server_id |
    +----------------------+----------------+---------------+----------------+---------+----------------------+-----------+
    | 29 | 9164 | 10204 | 9164 | 2 | 16 | NULL |
    | 30 | 9166 | 8368 | 9166 | 2 | 16 | NULL |
    | 31 | 9168 | 4272 | 9168 | 2 | 16 | NULL |
    | 33 | 9172 | 5216 | 9172 | 2 | 16 | NULL |
    | 35 | 9176 | 10568 | 9176 | 2 | 16 | NULL |
    | 39 | 9184 | 10896 | 9184 | 2 | 16 | NULL |
    | 58 | 9222 | 12832 | 9222 | 2 | 32 | 0 |
    | 59 | 9224 | 11364 | 9224 | 4 | 32 | 0 |
    | 60 | 9226 | 3096 | 9226 | 7 | 33 | 0 |
    | 61 | 9228 | 12480 | 9228 | 7 | 32 | 0 |
    +----------------------+----------------+---------------+----------------+---------+----------------------+-----------+

  6. clonedeploy

    Nov 1 Administrator Answer

    Ahh, looks like you have some stale entries in there from before the upgrade.

    mysql.exe --user=root --password clonedeploy --execute="delete from active_multicast_sessions;"
  7. that did it. works now. thank you.

 

or Sign Up to reply!