When I try to publish any page in umbraco I receive a 500 internal server error, the output of which is visible in my browser console as below:-
It could be some kind on conflict with my webapi as I notice if I remove it I don't get the publish error but I don't know what exactly could be causing this problem. Any ideas anyone?
This is the error from the log file when I try and publish:
Like I say I do have a webapi in my cms and if I remove it I don't get this error but not sure where the conflict lies.
2018-03-02 11:17:55,585 [P4980/D17/T177] ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred
System.InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
at System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.PostAsync(Uri requestUri, HttpContent content, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.PostAsync(String requestUri, HttpContent content)
at AkUmbraco.Umbraco.Events.EventTriggerService.SendEventsToTopic(EventTopic[] events, String key, String endpoint)
at AkUmbraco.Umbraco.Events.EventTriggerService.EnqueueEvents(IEnumerable1 eventEntities)
at AkUmbraco.Umbraco.Events.RegisterEventHandler.ContentService_Publishing(IPublishingStrategy sender, PublishEventArgs1 e)
at Umbraco.Core.Events.TypedEventHandler2.Invoke(TSender sender, TEventArgs e)
at Umbraco.Core.Events.ScopeEventDispatcherBase.DispatchCancelable[TSender,TArgs](TypedEventHandler2 eventHandler, TSender sender, TArgs args, String eventName)
at Umbraco.Core.Publishing.PublishingStrategy.Umbraco.Core.Publishing.IPublishingStrategy2.Publish(IScopeUnitOfWork uow, IContent content, Int32 userId)
at Umbraco.Core.Services.ContentService.SaveAndPublishDo(IContent content, Int32 userId, Boolean raiseEvents)
at Umbraco.Core.Services.ContentService.Umbraco.Core.Services.IContentServiceOperations.SaveAndPublish(IContent content, Int32 userId, Boolean raiseEvents)
at Umbraco.Core.Services.ContentService.SaveAndPublishWithStatus(IContent content, Int32 userId, Boolean raiseEvents)
at umbraco.cms.businesslogic.web.Document.SaveAndPublish(Int32 userId)
at Umbraco.Web.WebServices.BulkPublishController.PublishDocument(Int32 documentId, Boolean publishDescendants, Boolean includeU
Cannot publish - 500 error umbraco/restServices/BulkPublish/PublishDocument
When I try to publish any page in umbraco I receive a 500 internal server error, the output of which is visible in my browser console as below:-
It could be some kind on conflict with my webapi as I notice if I remove it I don't get the publish error but I don't know what exactly could be causing this problem. Any ideas anyone?
Hi Robert
Check please Umbraco log, is there some info? Did you do something with your solution lately?
Alex
This is the error from the log file when I try and publish:
Like I say I do have a webapi in my cms and if I remove it I don't get this error but not sure where the conflict lies.
2018-03-02 11:17:55,585 [P4980/D17/T177] ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred System.InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set. at System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request) at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken) at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.PostAsync(Uri requestUri, HttpContent content, CancellationToken cancellationToken) at System.Net.Http.HttpClient.PostAsync(String requestUri, HttpContent content) at AkUmbraco.Umbraco.Events.EventTriggerService.SendEventsToTopic(EventTopic[] events, String key, String endpoint) at AkUmbraco.Umbraco.Events.EventTriggerService.EnqueueEvents(IEnumerable
1 eventEntities) at AkUmbraco.Umbraco.Events.RegisterEventHandler.ContentService_Publishing(IPublishingStrategy sender, PublishEventArgs
1 e) at Umbraco.Core.Events.TypedEventHandler2.Invoke(TSender sender, TEventArgs e) at Umbraco.Core.Events.ScopeEventDispatcherBase.DispatchCancelable[TSender,TArgs](TypedEventHandler
2 eventHandler, TSender sender, TArgs args, String eventName) at Umbraco.Core.Publishing.PublishingStrategy.Umbraco.Core.Publishing.IPublishingStrategy2.Publish(IScopeUnitOfWork uow, IContent content, Int32 userId) at Umbraco.Core.Services.ContentService.SaveAndPublishDo(IContent content, Int32 userId, Boolean raiseEvents) at Umbraco.Core.Services.ContentService.Umbraco.Core.Services.IContentServiceOperations.SaveAndPublish(IContent content, Int32 userId, Boolean raiseEvents) at Umbraco.Core.Services.ContentService.SaveAndPublishWithStatus(IContent content, Int32 userId, Boolean raiseEvents) at umbraco.cms.businesslogic.web.Document.SaveAndPublish(Int32 userId) at Umbraco.Web.WebServices.BulkPublishController.PublishDocument(Int32 documentId, Boolean publishDescendants, Boolean includeUFound the problem was missing a config setting
Great that topic is solved
is working on a reply...