Copied to clipboard

Flag this post as spam?

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


  • JohnAss 18 posts 128 karma points
    Oct 15, 2020 @ 13:37
    JohnAss
    0

    Where can I set the umbraco ping url?

    We had a weird issues today - scheduled tasks stopped working for a site.

    After diggin around I found that it was the "GET /umbraco/ping.aspx " which caused the issue.

    Apperently umbraco is pinging the wrong URL.

    Does anybody know where umbraco get the "ping URL" from?

  • Dee 118 posts 338 karma points
    Oct 15, 2020 @ 15:22
    Dee
    1

    add/modify this in your umbracoSettings.config:

      <keepAlive disableKeepAliveTask="false" keepAlivePingUrl="{umbracoApplicationUrl}/api/keepalive/ping" />
    
  • JohnAss 18 posts 128 karma points
    Oct 15, 2020 @ 15:37
    JohnAss
    0

    Hey Dee

    Thanks for the reply!

    I can't test it right now. I'll try tomorrow and mark your answer as solution if it worked :)

  • JohnAss 18 posts 128 karma points
    Oct 16, 2020 @ 07:50
    JohnAss
    0

    Hi again

    The keepAlive is not in the umbracoSettings. When I try to add it I get:

    Unrecognized element 'keepAlive'.

    Where exactly should it be placed? :)

  • Dee 118 posts 338 karma points
    Oct 16, 2020 @ 08:49
    Dee
    0

    oh sorry just saw that its not Umbraco 8, but 7. Then I have to pass...

  • Dee 118 posts 338 karma points
    Oct 16, 2020 @ 08:56
    Dee
    0

    I have read some posts where it should help to set the umbracoApplicationUrl in your umbracoSettings.config for version 7

  • JohnAss 18 posts 128 karma points
    Oct 16, 2020 @ 10:02
    JohnAss
    100

    It was actually a big help!

    I looked into the umbracoApplicationUrl you mentioned and found this:

    enter image description here

    The documentation explains it quite well.

    My umbracoApplicationUrl was wrong because Umbraco will guess the url from the first request made to the server.

    We have two hostnames. One for testing-env and one for live-env. The first request was made to the test-env.

    So I all had to do was to set the umbracoApplicationUrl as mentioned in the documentation: "http://www.mysite.com/umbraco"

    This web.routing can be found in umbracoSettings.config

  • Dee 118 posts 338 karma points
    Oct 16, 2020 @ 10:05
    Dee
    0

    nice! glad it helped

Please Sign in or register to post replies

Write your reply to:

Draft