Skip to content

Commit

Permalink
0006007: Handled additional cases when checking sync.url on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-miller-jumpmind committed Oct 6, 2023
1 parent 388db0a commit 863d166
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,8 @@ public boolean isConfigured() {
Version.version(), node.getSymmetricVersion());
}
try {
new URL(parameterService.getSyncUrl()).toURI();
String syncUrl = transportManager.resolveURL(parameterService.getSyncUrl(), parameterService.getRegistrationUrl());
new URL(syncUrl).toURI();
} catch (MalformedURLException e) {
errorMessage = String.format("The %s property is not a valid URL: %s", ParameterConstants.SYNC_URL, parameterService.getSyncUrl());
} catch (URISyntaxException e) {
Expand Down

0 comments on commit 863d166

Please sign in to comment.