chocolatey-licensed-issues
chocolatey-licensed-issues copied to clipboard
Background Service - Support installing .config files
What You Are Seeing?
Error during background call:
System.AggregateException: One or more errors occurred. ---> System.ServiceModel.CommunicationException: The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.
Server stack trace:
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 chocolatey.interfaces.IChocolateyAgentService.run_choco_command(String passcode, IEnumerable`1 arguments, String userName, Int32 timeout, String workingDirectory, Int32& exitCode)
at chocolatey.licensed.infrastructure.app.utility.BackgroundServiceUtility.#=zQT6Gvd4P_cgVcZWd6UraZBw=.#=z4rpxlMw_cLyW3WHkrg==()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait(TimeSpan timeout)
at chocolatey.infrastructure.commands.Execute.command(Action action)
at chocolatey.licensed.infrastructure.app.utility.BackgroundServiceUtility.run(LicensedChocolateyConfiguration configuration, Action originalRunAction)
---> (Inner Exception #0) System.ServiceModel.CommunicationException: The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.
Server stack trace:
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 chocolatey.interfaces.IChocolateyAgentService.run_choco_command(String passcode, IEnumerable`1 arguments, String userName, Int32 timeout, String workingDirectory, Int32& exitCode)
at chocolatey.licensed.infrastructure.app.utility.BackgroundServiceUtility.#=zQT6Gvd4P_cgVcZWd6UraZBw=.#=z4rpxlMw_cLyW3WHkrg==()
at System.Threading.Tasks.Task.Execute()<---### What is Expected?
Chocolatey processes the config file through the agent and installs all defined packages
How Did You Get This To Happen? (Steps to Reproduce)
Create a packages.config file with multiple entries and attempt to install it
Output Log
┆Issue is synchronized with this Gitlab issue by Unito