I am trying to set up a load balanced environment with distributed call. I get an unauthorized when trying to call the webservice. I have changed the authentication to windows on the site where the werbservice is. This because i need AD for users.
The other site using the database does not have windows auth, it has got the regular forms auth. I need to do this to use the AD for signing in (building an intranet) but my problem now is that i can't use the cacheRefresher service.
Do i have to do something with the service? Can i authorize it my self?
Also, when updating on the master site. Why does not the other site i the farm (using windows auth) get the updates even after i recycle the app pool? They are both connected to the same database, so it should at least update the content?
Error refreshing a node in the distributed list: 'System.Net.WebException: The request failed with HTTP status 401: Unauthorized. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult) at umbraco.presentation.cache.dispatcher.InvokeDispatchMethod(DispatchType dispatchType, Guid factoryGuid, Int32 numericId, Guid guidId)', URI attempted: http://new.eelab.se/umbraco/webservices/cacheRefresher.asmx
you need to alter the security on the WebServices Directory "\Umbraco\Webservices" - if you have set windows authentication in IIS , then navigate to this directory and make it use anonymous - then the webservice calls will get through
this is the first thing i tried and it took down the entire backend because none of the calls to noderefresher would work and therefore the content tree didnt render.
It does seem odd - by rights all calls should now get through. im going to dig deeper on this and see if its the identity of the anonymous calls that somehow doesnt have the correct permissions.
Yes we ran this on an intranet with windows authentication on, with the folder set to anonymous, I can't remember but you might also have to add a <location> setting to the web.config. to let stuff through.
cacheRefresher given Unauthorized exception
Hello,
I am trying to set up a load balanced environment with distributed call. I get an unauthorized when trying to call the webservice. I have changed the authentication to windows on the site where the werbservice is. This because i need AD for users.
The other site using the database does not have windows auth, it has got the regular forms auth. I need to do this to use the AD for signing in (building an intranet) but my problem now is that i can't use the cacheRefresher service.
Do i have to do something with the service? Can i authorize it my self?
Also, when updating on the master site. Why does not the other site i the farm (using windows auth) get the updates even after i recycle the app pool? They are both connected to the same database, so it should at least update the content?
Error refreshing a node in the distributed list: 'System.Net.WebException: The request failed with HTTP status 401: Unauthorized. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult) at umbraco.presentation.cache.dispatcher.InvokeDispatchMethod(DispatchType dispatchType, Guid factoryGuid, Int32 numericId, Guid guidId)', URI attempted: http://new.eelab.se/umbraco/webservices/cacheRefresher.asmx
Did you ever resolve this? we have the same issue
you need to alter the security on the WebServices Directory "\Umbraco\Webservices" - if you have set windows authentication in IIS , then navigate to this directory and make it use anonymous - then the webservice calls will get through
this is the first thing i tried and it took down the entire backend because none of the calls to noderefresher would work and therefore the content tree didnt render.
It does seem odd - by rights all calls should now get through. im going to dig deeper on this and see if its the identity of the anonymous calls that somehow doesnt have the correct permissions.
Have you successfully ran umbraco like this?
Yes we ran this on an intranet with windows authentication on, with the folder set to anonymous, I can't remember but you might also have to add a
<location>
setting to the web.config. to let stuff through.thanks for your help Kevin, ill give this a try on Monday.
So i set the webservices directory to...
Anonymous Auth = enabled
WindowsAuth = disabled
yet i kept getting 401 unauthorized responses on all calls that go to resources under the webservices directory.
Adding this to the web.config fixed it...
Now i just need to try this out in with the load balancers enabled....
We are facing same issue in our live site. Anonymous authentication is enabled on live site but still this is not working.
Please help.
is working on a reply...