Since our upgrade to 7.2.8, the logfile is littered with the following error message:
2015-09-17 15:14:12,099 [7] ERROR Umbraco.Web.Scheduling.ScheduledTasks - [P18220/T1/D2] An error occurred calling web task for url: http://www.example.com/AppPlugins/NewsletterStudio/Pages/NewsletterCheckForScheduledSendOut.aspx
System.Net.ProtocolViolationException: Cannot send a content-body with this verb-type.
at System.Net.HttpWebRequest.CheckProtocol(Boolean onRequestStream)
at System.Net.HttpWebRequest.BeginGetRequestStream(AsyncCallback callback, Object state)
at System.Net.Http.HttpClientHandler.StartGettingRequestStream(RequestState state)
at System.Net.Http.HttpClientHandler.PrepareAndStartContentUpload(RequestState state)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Umbraco.Web.Scheduling.ScheduledTasks._9.MoveNext()
Opening the URL manually works fine. The site does not use scheduled sendouts, but I worry that this issue might affect other web tasks...
Is this related to the upgrade, or another kind of known issue?
If you look at the issue here: U4-6990 the issue was a fairly simple one (it looks like a 1 line fix). If you don't want to upgrade to 7.3, your best best is to grab the source from GitHub, branch from the 7.2.8 tag, and add the fix yourself. Personally, I'd upgrade though.
ProtocolViolationException in web task
Since our upgrade to 7.2.8, the logfile is littered with the following error message:
2015-09-17 15:14:12,099 [7] ERROR Umbraco.Web.Scheduling.ScheduledTasks - [P18220/T1/D2] An error occurred calling web task for url: http://www.example.com/AppPlugins/NewsletterStudio/Pages/NewsletterCheckForScheduledSendOut.aspx System.Net.ProtocolViolationException: Cannot send a content-body with this verb-type. at System.Net.HttpWebRequest.CheckProtocol(Boolean onRequestStream) at System.Net.HttpWebRequest.BeginGetRequestStream(AsyncCallback callback, Object state) at System.Net.Http.HttpClientHandler.StartGettingRequestStream(RequestState state) at System.Net.Http.HttpClientHandler.PrepareAndStartContentUpload(RequestState state) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Umbraco.Web.Scheduling.ScheduledTasks._9.MoveNext()
Opening the URL manually works fine. The site does not use scheduled sendouts, but I worry that this issue might affect other web tasks...
Is this related to the upgrade, or another kind of known issue?
Regards, Peter.
Hi Peter,
this is a bug and is already fixed in 7.3.0
U4-6990
Cu, Andreas
Thanks for helping out!
Hi here,
Is there a way I can get it fixed in version 7.2.8 ? I don't want to upgrade to 7.3.0 since I have a live site running with this version.
Thanks
Hi All,
Can anyone suggest on above please? I really need to get that sorted and would like a reply. Thanks in advance.
Sanjay
We are in the same position, Is there any solution or workaround for this?
Thanks,
Hi @here,
Could anyone please suggest on this. Its been long time and no reply yet.
Thanks Sanjay
Hi!
It's an issue with Umbraco v 7.2.8 - See this: http://issues.umbraco.org/issue/U4-6990
You need to upgrade the Umbraco instance - Newsletter Studio can't ship a fix for this.
If you look at the issue here: U4-6990 the issue was a fairly simple one (it looks like a 1 line fix). If you don't want to upgrade to 7.3, your best best is to grab the source from GitHub, branch from the 7.2.8 tag, and add the fix yourself. Personally, I'd upgrade though.
is working on a reply...