Web UI started showing a VersionError
menzo2003 opened this issue · 6 comments
The Web UI map started showing the following error via my browser:
VersionError: The requested version (11) is less than the existing version (304).
The map is also not centered on my position anymore when it starts and it very unresponsive when dring it over to my position.
It appears to have stared in the last few weeks.
I know this sounds like a cop-out answer, but have you tried clearing your browser cache & cookies, or using a different browser?
Yeah, I don't get the error message on the other browsers, but it does start centered in the wrong position and is very sluggish.
You can also see a difference in the distance circles between chrome and firefox, but both start the map centered around Italy instead the Netherlands. image with circle around Italy is chrome, the other is firefox.
I'm struggling with the same issue.
Logged in Chrome shows me a similar popup message
and puts me exactly at the same location as @menzo2003 - somewhere next to Alessandria (Italy).
Incognito or other browser works perfectly. Could be Chrome extension that's messing up things.
EDIT:
Chrome console errors:
Default settings loaded. settings.ts:410
Uncaught (in promise) undefined 192.168.2.20/:1
Uncaught TypeError: Cannot read properties of undefined (reading 'transaction') database.ts:160
at DatabaseFrontend.PutSetting (database.ts:160:35)
at set SiteLat [as SiteLat] (settings.ts:66:30)
at Body.OnAircraftCollectionWorkerMessage (uiBody.ts:339:40)
Uncaught TypeError: Cannot read properties of undefined (reading 'transaction') database.ts:160
at DatabaseFrontend.PutSetting (database.ts:160:35)
at set OverlayLayers [as OverlayLayers] (settings.ts:244:30)
at NewClass.OnMapLayerChange (uiLMap.ts:327:46)
at NewClass.fire (leaflet-src.js:588:13)
at GroupedLayers.onLayerChange (uiLMapControls.ts:171:26)
at NewClass.fire (leaflet-src.js:588:13)
at NewClass._layerAdd (leaflet-src.js:6574:9)
at NewClass.whenReady (leaflet-src.js:4428:15)
at NewClass.addLayer (leaflet-src.js:6629:10)
at GroupedLayers.addItem (uiLMapControls.ts:289:26)
DevTools failed to load source map: Could not load content for http://192.168.2.20:8080/script/bootstrap.bundle.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://192.168.2.20:8080/script/leaflet-src.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://192.168.2.20:8080/css/bootstrap/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Uncaught TypeError: Cannot read properties of undefined (reading 'transaction') database.ts:160
at DatabaseFrontend.PutSetting (database.ts:160:35)
at set CenterLat [as CenterLat] (settings.ts:42:30)
at LMap.OnMapMoveEnd (uiLMap.ts:295:34)
at NewClass.fire (leaflet-src.js:588:13)
PutSetting @ database.ts:160
set CenterLat @ settings.ts:42
OnMapMoveEnd @ uiLMap.ts:295
fire @ leaflet-src.js:588
@Mictronics are you able to take a look at this?
It looks like the last update has fixed the error for me.