Could not start the connection to the server http://some-doman.com/pushNotificationHub

The Could not start the connection to the server error occurs because Virto Commerce cannot synchronize events between multiple backend instances. More details can be found in the Scaling Push Notifications documentation.

Error Details:

[20:22:33 ERR] Could not start the connection to the server http://some-doman/pushNotificationHub

System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).

Steps to Resolve:

  1. Sign in to the Virto Commerce Backend.
  2. Navigate to Security and create a new user account named ‘PushNotificationHubIntegration’ without assigning any roles.
  3. Generate a new API Key ({your-vc-api-key}).
  4. Update the appsettings.json:
  1. Restart the Virto Commerce instances to apply the changes.