1

Closed

Can't communicate with engine on creating new conversion tasks.

description

I currently have a "Convert to MKV" task that I was running everything through but I've began using a different comskip for channel ABC and wanted to create a seperate conversion process for it. The problem I kept running into was every time I backed out after making the changes it gave me a "Can't communicate with server engine. Changes not saved." message.

I finally ended up making the tasks piecemeal.....create task but leave destination dir blank..save......go back in...add destination dir, save..back out....go back in...open settings....add custom rename mask.....check extract mc info....add multichannel audio..select english language.....back out save....finally go back in and give it path to custom comskip...back out..save......then it wouldn't let me rename the default "Convert to MKV task" so I had to repeat the same scenario to create a new "Convert to MKV (Default)" task......and finally disable the old "Convert to MKV" task.

I'm running 2.3.14 Beta from 07/10.

I was able to work around the issue but could not find any reason FOR the issue...the engine was running....I was able to build the task piecemeal using probably no more than 20 seconds per section before exiting and making sure it would save. I'm not sure what logs if any will help and can only hope the error is easily reproducible if you try to create new conversion tasks with a custom comskip, rename mask and file mask.

The filename mask used were "WTVMDT_" on one and ";~WTVMDT_*" [Your forum is removing asterisks from the filename masks] on other. I had to use the filename mask vs channel mask and include the "_" since I have a WTVMDT and a WTVMDT2.
Closed Jul 13, 2013 at 1:55 PM by rboy1
Reboot fixed OS issue.

comments

rboy1 wrote Jul 12, 2013 at 2:15 PM

3 things
  1. From the main status page click on event viewer and post the last few error messages here
  2. Are you using a remote connection or local connection
  3. Downgrade to 2.3.13 and let me know if the problem still exists

rboy1 wrote Jul 12, 2013 at 2:16 PM

If you trying to post code use the code button while posting and paste it within the code lines

famewolf wrote Jul 12, 2013 at 5:41 PM

I'm using a local connection. I'll post a follow up comment with the results for 2.3.13.

[code]
Warning 12-Jul-2013 7:11 AM
MCEBuddy GUI: Unable to update Engine Configuration Settings
[/code]

[code]
Warning 12-Jul-2013 7:11 AM
System.ServiceModel.CommunicationException: There was an error writing to the pipe: The pipe is being closed. (232, 0xe8). ---> System.IO.IOException: The write operation failed, see inner exception. ---> System.ServiceModel.CommunicationException: There was an error writing to the pipe: The pipe is being closed. (232, 0xe8). ---> System.IO.PipeException: There was an error writing to the pipe: The pipe is being closed. (232, 0xe8).
at System.ServiceModel.Channels.PipeConnection.StartSyncWrite(Byte[] buffer, Int32 offset, Int32 size, Object& holder)
at System.ServiceModel.Channels.PipeConnection.WriteHelper(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout, Object& holder)
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.PipeConnection.WriteHelper(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout, Object& holder)
at System.ServiceModel.Channels.PipeConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)
at System.ServiceModel.Channels.BufferedConnection.WriteNow(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, BufferManager bufferManager)
at System.ServiceModel.Channels.BufferedConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security.NegotiateStream.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.NegotiateStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
--- End of inner exception stack trace ---
at System.Net.Security.NegotiateStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.NegotiateStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.ServiceModel.Channels.StreamConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)
--- End of inner exception stack trace ---

Server stack trace:
at System.ServiceModel.Channels.StreamConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)
at System.ServiceModel.Channels.StreamConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout, BufferManager bufferManager)
at System.ServiceModel.Channels.FramingDuplexSessionChannel.OnSend(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.OutputChannel.Send(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at MCEBuddy.Globals.ICore.UpdateConfigParameters(ConfSettings configOptions)
at MCEBuddy.GUI.StatusForm.settingsCmd_Click(Object sender, EventArgs e)
[/code]

***Those two repeated a few times.

[code]
Warning 12-Jul-2013 7:00 AM
System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.

Server stack trace:
at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen()
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at MCEBuddy.Globals.ICore.UpdateConfigParameters(ConfSettings configOptions)
at MCEBuddy.GUI.StatusForm.settingsCmd_Click(Object sender, EventArgs e)
[/code]

[Code]
Warning 12-Jul-2013 6:58 AM
System.ServiceModel.CommunicationException: There was an error writing to the pipe: The pipe is being closed. (232, 0xe8). ---> System.IO.IOException: The write operation failed, see inner exception. ---> System.ServiceModel.CommunicationException: There was an error writing to the pipe: The pipe is being closed. (232, 0xe8). ---> System.IO.PipeException: There was an error writing to the pipe: The pipe is being closed. (232, 0xe8).
at System.ServiceModel.Channels.PipeConnection.StartSyncWrite(Byte[] buffer, Int32 offset, Int32 size, Object& holder)
at System.ServiceModel.Channels.PipeConnection.WriteHelper(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout, Object& holder)
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.PipeConnection.WriteHelper(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout, Object& holder)
at System.ServiceModel.Channels.PipeConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)
at System.ServiceModel.Channels.BufferedConnection.WriteNow(Byte[] buffer, Int32 offset, Int32 size, TimeSpan timeout, BufferManager bufferManager)
at System.ServiceModel.Channels.BufferedConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security.NegotiateStream.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.NegotiateStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
--- End of inner exception stack trace ---
at System.Net.Security.NegotiateStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.NegotiateStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.ServiceModel.Channels.StreamConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)
--- End of inner exception stack trace ---

Server stack trace:
at System.ServiceModel.Channels.StreamConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)
at System.ServiceModel.Channels.StreamConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout, BufferManager bufferManager)
at System.ServiceModel.Channels.FramingDuplexSessionChannel.OnSend(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.OutputChannel.Send(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.DuplexChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at MCEBuddy.Globals.ICore.UpdateConfigParameters(ConfSettings configOptions)
at MCEBuddy.GUI.StatusForm.settingsCmd_Click(Object sender, EventArgs e)
[/code]

[code]
Information 11-Jul-2013 1:54 AM
MCEBuddy service started on port 23332
[/code]

famewolf wrote Jul 12, 2013 at 6:05 PM

I received identical results with 2.3.13 64 bit.

rboy1 wrote Jul 12, 2013 at 7:13 PM

In that case it's like an issue with your system/OS

Try restarting the machine and doing a clean install of MCEBuddy. If that still doesn't work then try to reinstall .NET 4 Client framework from the microsoft site.

For somereason the framework keeps closing your local connection.

Try one more thing before, instead of localhost in the reconnection page put your computer IP address and see if that works.

famewolf wrote Jul 13, 2013 at 12:19 AM

A reboot and reinstall seem to have corrected the issue. Not sure of the cause. This can be marked as resolved.