Problem
The url to send events is retrieved once after the pairing process in the legacy mode. Connecting to compas in the legacy mode still does not mean that the url is available or will not change as the runtime assignment is not done or will change.
Solution
Do not store the eventsUrl after pairing but instead store the infoUrl where the eventsUrl can be retrieved on demand.
Problem The url to send events is retrieved once after the pairing process in the legacy mode. Connecting to compas in the legacy mode still does not mean that the url is available or will not change as the runtime assignment is not done or will change.
Solution Do not store the eventsUrl after pairing but instead store the infoUrl where the eventsUrl can be retrieved on demand.