Copied to clipboard

Flag this post as spam?

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


  • Andy Felton 180 posts 479 karma points c-trib
    May 31, 2022 @ 12:57
    Andy Felton
    0

    Connection Check

    Hi,

    I'm using Umbraco 8 with uSync Complete (8.11.0) and am getting the error message 'Invalid response - server didn't respond with a version number' when trying to connect to my test server from a local environment.

    I can see the site seems to be making a request to the base URL of the site is this correct? How is the version number determined? We stop anybody viewing the front end on our test/staging servers - is there any unique value in a field which I could to determine if the request is from uSync (User Agent, etc)

    Thanks Andy

  • Kevin Jump 2145 posts 13579 karma points MVP 6x c-trib
    May 31, 2022 @ 14:06
    Kevin Jump
    0

    Hi Andy,

    What that probibly means is a firewall or proxy is getting in the way of the response. the version is the internal API version that uSync uses (so at the moment its either a 1 or a 2 - and v2 started at v8.9 of uSync)

    if you got the wrong version (eg. a 1 when you where expecting a 2) then the error would be a version mismatch. but your error is we can't tell.

    if you look in the logs you might be able to see the actual response, which is likely to be a bit of html, because usually what happens is a firewall or proxy returns some form of custom error page back, and that is then what uSync struggles to see as a version number.

    Kevin

  • Andy Felton 180 posts 479 karma points c-trib
    May 31, 2022 @ 14:40
    Andy Felton
    0

    Hi Kevin,

    You're correct the logs show the response as HTML and that HTML is coming from my site lock code. I believe all URLs below Umbraco should be open can you confirm which URL you should be hitting?

    Thanks Andy

  • Andy Felton 180 posts 479 karma points c-trib
    May 31, 2022 @ 14:43
    Andy Felton
    0

    Hi Kevin,

    Ignore that configuration mistake on my behalf - missed the /umbraco of the URL, now getting an The ApiKey/Secret cannot be authorized.

    Thanks Andy

  • Kevin Jump 2145 posts 13579 karma points MVP 6x c-trib
    May 31, 2022 @ 14:46
    Kevin Jump
    1

    Ah ok,

    that's some progress

    now all sites need to share the APIKey/Secret in the usync.publisher.config (although the UI should offer you the option of setting that up remotely with v8)

  • Andy Felton 180 posts 479 karma points c-trib
    May 31, 2022 @ 15:12
    Andy Felton
    100

    Hi Kevin,

    That's all setup and configured and the UI seems to think it's setup.

    One issue might be that from the outside of the loadbalancer we send requests to the URL https://opencollegenetwork.test.equatedigital.com/umbraco but on the compute nodes it'll see a hostname of http://opencollegenetwork.test.equatedigital.com:91/umbraco IE switched to HTTP and port modified - could this cause issues?

    Thanks Andy

  • Andy Felton 180 posts 479 karma points c-trib
    Jun 01, 2022 @ 09:27
    Andy Felton
    0

    Hi Kevin,

    Fixed this issue now just needed to set the baseUrl in the config to the address http://opencollegenetwork.test.equatedigital.com:91

    As usual great support - thanks Kevin!

    Regards Andy

Please Sign in or register to post replies

Write your reply to:

Draft