Upgrading uSync to latest version (9.2.0) results in server Not Found
Hi,
I'm running uSync 9.2.0 on Umbraco 9.3.1. Before I upgraded uSync and Umbraco to the latest versions our TEST server was reachable and we could pull data from local to the TEST server.
After the upgrades the TEST server couldn't be found anymore, while the url works and I got Umbraco access.
What could be the problem in this case?
Below a screenshot of the server setup and appsettings.config file:
The "Not found" error is a 404 so that would imply that the Test server doesn't have Complete installed any more or that there is some URL mismatch somewhere ?
if you look in the logs (on the machine trying to reach TEST) then there should be something in the logs with the connection error that may shine a bit more light on the issue ?
yes i think this is a authentication problem - do you have additional auth (e.g other providers/ 2 factor) setup on the site ? - I suspect that interferes with the URL. but i am not 100% sure.
this url isn't authenticated by the Umbraco process(its a 'normal' UmbracoApiController which uses the key/appid to sign the traffic between sites). - so it shouldn't go through any auth - but maybe it is ?
I have just done the upgrade myself, (to uSync 9.2.0 and Umbraco 9.3.1) and it is working locally, i don't get the 404 error you see, (i get 401 unauthorized if i go direct).
Is there anything else maybe 'non vanilla' about your setup , azure vpn/frontdoor ? anything like that ?
yeah not being able to see itself is certainly odd 🤔
does going to /umbraco/uSyncReceive/uSyncReceiveApi/GetApi return anything ? - (call should just return "" - there is no auth on it and the code it quite literally return "";)
Sadly (for this issue) i can confirm that the latest version does work on azure. (Windows - so quick check are you running windows or linux webapp?)
Just published my upgraded site to azure now and everything is connecting.
So i suspect this is some deep setting change either in Umbraco or your azure setup. if there is anything you can think off that you might have changed from the default config that would help greatly.
as an example this is my vinallia appsettings.json file for the site i have just published:
Upgrading uSync to latest version (9.2.0) results in server Not Found
Hi,
I'm running uSync 9.2.0 on Umbraco 9.3.1. Before I upgraded uSync and Umbraco to the latest versions our TEST server was reachable and we could pull data from local to the TEST server.
After the upgrades the TEST server couldn't be found anymore, while the url works and I got Umbraco access.
What could be the problem in this case?
Below a screenshot of the server setup and appsettings.config file:
Any help much appreciated.
Thanks in advance!
Grtz Sander
Hi,
The "Not found" error is a 404 so that would imply that the Test server doesn't have Complete installed any more or that there is some URL mismatch somewhere ?
if you look in the logs (on the machine trying to reach TEST) then there should be something in the logs with the connection error that may shine a bit more light on the issue ?
Kevin
Hi Kevin,
Thanks for the quick reply.
That's the weird part, the url is right and I can access the url as well an can see in the uSync Settings that Complete is installed, see below:
When I take a look at the log files I see this one:
When I go to the url https://xxxxxxxx.azurewebsites.net/umbraco/uSyncReceive/uSyncReceiveApi/Enabled I got a Page Not Found with in the url:
/Account/AccessDenied?ReturnUrl=%2Fumbraco%2FuSyncReceive%2FuSyncReceiveApi%2FEnabled
Maybe this will help to found the problem?
Grtz Sander
Hi,
yes i think this is a authentication problem - do you have additional auth (e.g other providers/ 2 factor) setup on the site ? - I suspect that interferes with the URL. but i am not 100% sure.
this url isn't authenticated by the Umbraco process(its a 'normal'
UmbracoApiController
which uses the key/appid to sign the traffic between sites). - so it shouldn't go through any auth - but maybe it is ?Kevin
Hi,
We don't have any additional authentication at all.
Before the upgrade to 9.2.0 this all worked fine.
Hopefully we can found the problem as soon as possible, because our client can't test everything right now.
Grtz Sander
Hi,
I have just done the upgrade myself, (to uSync 9.2.0 and Umbraco 9.3.1) and it is working locally, i don't get the 404 error you see, (i get 401 unauthorized if i go direct).
Is there anything else maybe 'non vanilla' about your setup , azure vpn/frontdoor ? anything like that ?
If you go to the back office in TEST - can you see the servers ?
if you add TEST to it self in the publisher dashboard as a server, can it see itself via that ?
Hi,
Very strange at all.
When I go to the backoffice on the TEST url the TEST server was already added by myself earlier, but is there Unavailable too:
Hi,
yeah not being able to see itself is certainly odd 🤔
does going to
/umbraco/uSyncReceive/uSyncReceiveApi/GetApi
return anything ? - (call should just return "" - there is no auth on it and the code it quite literallyreturn "";
)Hi,
That throws a Page Not Found error as well.
Grtz Sander
Hi,
Sadly (for this issue) i can confirm that the latest version does work on azure. (Windows - so quick check are you running windows or linux webapp?)
Just published my upgraded site to azure now and everything is connecting.
So i suspect this is some deep setting change either in Umbraco or your azure setup. if there is anything you can think off that you might have changed from the default config that would help greatly.
as an example this is my vinallia appsettings.json file for the site i have just published:
and the startup.cs and program.cs haven't been altered. (stattup.cs below)
And i don't have any other packages installed in the csproj
If any of this is different - or indeed if there are settings you think you have on your Azure web app. it would be good to know ?
is working on a reply...