Error on webservice /esu/webservices/GetJavaScriptProxy.aspx Options
astuanax
Posted: Friday, March 28, 2008 10:10:50 AM

Rank: Devotee

Joined: 7/20/2006
Posts: 89
Hi,

I am looking at the umbraco log table and it seems a lot of asp.net errors about the webservice /esu/webservices/GetJavaScriptProxy.aspx are logged.

When calling the webservice with the ?service=CMSNode.asmx request variable, everything is fine.
But it seems that somewhere/somehow, this webservice is called without the request variable.

You can see an example here :-)
http://www.umbraco.org/umbraco/webservices/GetJavaScriptProxy.aspx

I have no idea why it does that, but if it is on purpose, they why log it? and why call it?

Error message:

Code:

The remote server returned an error: (404) Not Found.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The remote server returned an error: (404) Not Found.

Source Error:


Line 32:     req.Timeout = 6 * 1000; // 6 seconds
Line 33:
Line 34:     WebResponse res = req.GetResponse();
Line 35: #if DOTNET11
Line 36:     XmlDocument data = new XmlDocument();

Source File: d:\inetpub\wwwroot\www.umbraco.org\umbraco\webservices\GetJavaScriptProxy.aspx    Line: 34

Stack Trace:


[WebException: The remote server returned an error: (404) Not Found.]
   System.Net.HttpWebRequest.GetResponse() +1529755
   ASP.umbraco_webservices_getjavascriptproxy_aspx.FetchWsdl(String url) in d:\inetpub\wwwroot\www.umbraco.org\umbraco\webservices\GetJavaScriptProxy.aspx:34
   ASP.umbraco_webservices_getjavascriptproxy_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\inetpub\wwwroot\www.umbraco.org\umbraco\webservices\GetJavaScriptProxy.aspx:79
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +2113547
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
   System.Web.UI.Page.Render(HtmlTextWriter writer) +26
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1896


astuanax
Posted: Tuesday, April 01, 2008 8:36:02 PM

Rank: Devotee

Joined: 7/20/2006
Posts: 89
Did nobody found this error in their log table ...
Come on, am I the only one seeing this error?

Len.
drobar
Posted: Tuesday, April 01, 2008 8:49:15 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,831
Location: MA, USA
Hi, Len,

I just checked my development server (I've got tons of sites running all sorts of umbraco versions, packages, etc.). Nothing like what you're reporting.

What version of umbraco are you running? Did you build it from source?

cheers,
doug.

MVP 2007-2009 - Percipient Studios
astuanax
Posted: Tuesday, April 01, 2008 9:05:05 PM

Rank: Devotee

Joined: 7/20/2006
Posts: 89
Thanx for checking.

Well it seems I have a problem here.
I frequently have this in my log table, I am using version 3.03 and 3.04, downloaded from the umbraco website.

No idea why this is happening, though the URL should not be called without a query variable, as it fails with an error when doing this.
But it does ... I have to go and have another look.

thx, Len.

ntootell
Posted: Tuesday, May 06, 2008 4:29:53 PM

Rank: Newbie

Joined: 8/28/2007
Posts: 11
Location: Ealing, London
Hi Len,

I'm getting exactly the same error reported and also have no idea why. I'm using a 3.04 build. You're not alone :) Though it would be good to find out what is causing it. If I work it out I'll post you back.

Regards

Neil

• loving umbraco • london
astuanax
Posted: Monday, May 26, 2008 10:53:54 AM

Rank: Devotee

Joined: 7/20/2006
Posts: 89
Hi,

I think I found the problem. It was a proxy problem.
The webserver could not connect to the webservice, so I added a proxy rule in the web.conf file and the error is no longer in the logs.

Thx, Len.
Burla
Posted: Monday, August 11, 2008 3:34:14 PM
Rank: Devotee

Joined: 5/2/2008
Posts: 53
Location: Herning, Denmark
Could you try and send what you changed in you web.config as i have the same error
dillorscroft
Posted: Wednesday, August 13, 2008 7:41:32 PM

Rank: Devotee

Joined: 7/24/2008
Posts: 50
Location: Crewe, UK
astuanax wrote:
Hi,

I think I found the problem. It was a proxy problem.
The webserver could not connect to the webservice, so I added a proxy rule in the web.conf file and the error is no longer in the logs.

Thx, Len.


Hi,

Im experiencing the same issue.....

Any ideas?

DC
astuanax
Posted: Tuesday, August 19, 2008 4:18:21 PM

Rank: Devotee

Joined: 7/20/2006
Posts: 89
Maybe a little late to respond but here is what I added to the web.conf file

<system.net>
<defaultProxy>
<proxy usesystemdefault = "false" proxyaddress="http://yourproxy:8080" bypassonlocal="true"/>
</defaultProxy>
</system.net>

Just before the closing configuration tag.
We had a lot of problems with this and it caused Umbraco to be slow as well.

dillorscroft
Posted: Wednesday, August 20, 2008 2:30:41 PM

Rank: Devotee

Joined: 7/24/2008
Posts: 50
Location: Crewe, UK
We dont have a proxy server so not sure this is valid all round.

However upon upgrading to 3.0.5 the issue disappeared. As there are no database changes the upgrade is really simple.

DC
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.