Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Karlo Medallo 1 post 21 karma points
    Jul 27, 2011 @ 01:53
    Karlo Medallo
    0

    Frequent calls to legacyajaxcalls.asmx/GetSecondsBeforeUserLogout and webservices\TreeDataService.ashx in ELMAH Log

    Hi,

    I am getting reports (a lot) from ELMAH that calls legacyajaxcalls.asmx/GetSecondsBeforeUserLogout and webservices\TreeDataService.ashx.

    Although the reports say that it raises an exception because the client is not authenticated, should I worry about this?

    The ip addresses usually comes from the same subnet.

    Here are sample reports:

    System.Exception: Client authorization failed. User is not logged in

    Generated: Sun, 24 Jul 2011 03:19:24 GMT

     
    System.Exception: Client authorization failed. User is not logged in
       at umbraco.presentation.webservices.TreeDataService.Authorize()
       at umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
                   

    Server Variables

    Name

    Value

    ALL_HTTP

    HTTP_ACCEPT:*/* HTTP_ACCEPT_LANGUAGE:en-us HTTP_HOST:www..com.au HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

    ALL_RAW

    Accept: */* Accept-Language: en-us Host: www.com.au User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

    APPL_MD_PATH

    /LM/W3SVC/18/ROOT

    APPL_PHYSICAL_PATH

    C:\inetpub\vhosts\.com.au\httpdocs\

    AUTH_TYPE

     

    AUTH_USER

     

    AUTH_PASSWORD

     

    LOGON_USER

     

    REMOTE_USER

     

    CERT_COOKIE

     

    CERT_FLAGS

     

    CERT_ISSUER

     

    CERT_KEYSIZE

     

    CERT_SECRETKEYSIZE

     

    CERT_SERIALNUMBER

     

    CERT_SERVER_ISSUER

     

    CERT_SERVER_SUBJECT

     

    CERT_SUBJECT

     

    CONTENT_LENGTH

    0

    CONTENT_TYPE

     

    GATEWAY_INTERFACE

    CGI/1.1

    HTTPS

    off

    HTTPS_KEYSIZE

     

    HTTPS_SECRETKEYSIZE

     

    HTTPS_SERVER_ISSUER

     

    HTTPS_SERVER_SUBJECT

     

    INSTANCE_ID

    18

    INSTANCE_META_PATH

    /LM/W3SVC/18

    LOCAL_ADDR

    223.xxxx

    PATH_INFO

    /umbraco/webservices/TreeDataService.ashx

    PATH_TRANSLATED

    C:\inetpub\vhosts\.com.au\httpdocs\umbraco\webservices\TreeDataService.ashx

    QUERY_STRING

    rnd=4c9b19b57e56438bbdd2cbd6d6d65004&id=1123&treeType=content&contextMenu=true&isDialog=false&rnd2=21.7

    REMOTE_ADDR

    150.70.172.x

    REMOTE_HOST

    150.70.172.x

    REMOTE_PORT

    51190

    REQUEST_METHOD

    GET

    SCRIPT_NAME

    /umbraco/webservices/TreeDataService.ashx

    SERVER_NAME

    www.x.com.au

    SERVER_PORT

    80

    SERVER_PORT_SECURE

    0

    SERVER_PROTOCOL

    HTTP/1.0

    SERVER_SOFTWARE

    Microsoft-IIS/7.0

    URL

    /umbraco/webservices/TreeDataService.ashx

    HTTP_ACCEPT

    */*

    HTTP_ACCEPT_LANGUAGE

    en-us

    HTTP_HOST

    wwwx.com.au

    HTTP_USER_AGENT

    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

     

    System.InvalidOperationException: Request format is unrecognized for URL unexpectedly ending in '/GetSecondsBeforeUserLogout'.

    Generated: Sun, 24 Jul 2011 11:02:22 GMT

     
    System.InvalidOperationException: Request format is unrecognized for URL unexpectedly ending in '/GetSecondsBeforeUserLogout'.
       at System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response)
       at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)
       at System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
       at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
                   

    Server Variables

    Name

    Value

    ALL_HTTP

    HTTP_ACCEPT:*/* HTTP_ACCEPT_LANGUAGE:en-us HTTP_HOST:www.x.com.au HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

    ALL_RAW

    Accept: */* Accept-Language: en-us Host: www.x.com.au User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

    APPL_MD_PATH

    /LM/W3SVC/18/ROOT

    APPL_PHYSICAL_PATH

    C:\inetpub\vhosts\x.com.au\httpdocs\

    AUTH_TYPE

     

    AUTH_USER

     

    AUTH_PASSWORD

     

    LOGON_USER

     

    REMOTE_USER

     

    CERT_COOKIE

     

    CERT_FLAGS

     

    CERT_ISSUER

     

    CERT_KEYSIZE

     

    CERT_SECRETKEYSIZE

     

    CERT_SERIALNUMBER

     

    CERT_SERVER_ISSUER

     

    CERT_SERVER_SUBJECT

     

    CERT_SUBJECT

     

    CONTENT_LENGTH

    0

    CONTENT_TYPE

     

    GATEWAY_INTERFACE

    CGI/1.1

    HTTPS

    off

    HTTPS_KEYSIZE

     

    HTTPS_SECRETKEYSIZE

     

    HTTPS_SERVER_ISSUER

     

    HTTPS_SERVER_SUBJECT

     

    INSTANCE_ID

    18

    INSTANCE_META_PATH

    /LM/W3SVC/18

    LOCAL_ADDR

    223.x

    PATH_INFO

    /umbraco/webservices/legacyajaxcalls.asmx/GetSecondsBeforeUserLogout

    PATH_TRANSLATED

    C:\inetpub\vhosts\x.com.au\httpdocs\umbraco\webservices\legacyajaxcalls.asmx

    QUERY_STRING

     

    REMOTE_ADDR

    150.70.x

    REMOTE_HOST

    150.70.x

    REMOTE_PORT

    47447

    REQUEST_METHOD

    GET

    SCRIPT_NAME

    /umbraco/webservices/legacyajaxcalls.asmx

    SERVER_NAME

    www.x.com.au

    SERVER_PORT

    80

    SERVER_PORT_SECURE

    0

    SERVER_PROTOCOL

    HTTP/1.0

    SERVER_SOFTWARE

    Microsoft-IIS/7.0

    URL

    /umbraco/webservices/legacyajaxcalls.asmx

    HTTP_ACCEPT

    */*

    HTTP_ACCEPT_LANGUAGE

    en-us

    HTTP_HOST

    www.x.com.au

    HTTP_USER_AGENT

    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

     

    Thanks,

    Karlo

  • Eric Herlitz 97 posts 129 karma points
    Oct 01, 2012 @ 22:20
    Eric Herlitz
    0

    Even if it's an old post some still have this error so here is a solution http://trikks.wordpress.com/2012/10/01/howto-fix-the-getsecondsbeforeuserlogout-error-in-umbraco/

  • Doug Hill 1 post 21 karma points
    Feb 11, 2013 @ 17:53
    Doug Hill
    0

    Bringing this old post back from the dead again. I'm experiencing a large volume of hits to /umbraco/webservices/legacyAjaxCalls.asmx/GetSecondsBeforeUserLogout/ (on one particular day it spiked to 211,000 visits, although only 1 user registered so high).  I checked the web.config solution above but the entries are already there.  Anyway, just looking for any ideas of where to investigate next as I'm brand new to Umbraco.

  • Bjørn Fridal 274 posts 784 karma points
    Feb 20, 2013 @ 15:18
    Bjørn Fridal
    0

    Hi,

    I get the exact same error in Umbraco 4.11.4 with ELMAH and lots of them. It didn't help me either to apply the fix in the blog post.

    I suspect that somewhere there is a browser that has long since timed out, and is now just making request after request to Umbraco, each few minutes.

    Cheers
    Bjørn 

  • Henri Toivonen 77 posts 111 karma points
    May 13, 2013 @ 09:41
    Henri Toivonen
    0

    Jesus, this is annoying. We are getting a metric tonne of errors reported from newrelic because /­umbraco/­webservices/­legacy­Ajax­Calls.­asmx/­Get­Seconds­Before­User­Logout throws an Exception when not logged in which leads to a error 500 page.

    And sometimes we are experiencing a very large load on this, just like Doug here above.

  • AvihayBit 142 posts 275 karma points
    Jul 07, 2014 @ 11:24
    AvihayBit
    0

    Im facing the same problem here :\ anyone found a solution?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies