AtlasOfLivingAustralia / bie-index

Taxonomic search services
https://bie-ws.ala.org.au/ws
Other
1 stars 17 forks source link

Admin Jobs not updated (404 looking for assets/sockets.js) #364

Closed vjrj closed 5 months ago

vjrj commented 1 year ago

During imports under /admin/ (using 1.8.2) the jobs are not updated as in previous versions.

In the js console I see a 404 in https://especies-ws.gbif.es/assets/sockets.js It seems that this resource is also missing in ALA: https://bie-ws.ala.org.au/ws/assets/sockets.js

The js error: image

vjrj commented 1 year ago

BTW, in previous versions sockets.js is available.

vjrj commented 1 year ago

It sounds to me like the websocket plugin is not available in grails 4 and it was removed here: https://github.com/AtlasOfLivingAustralia/bie-index/commit/25c95533b36a8b355eb0f90ec6a6bc0e596f1e1f

adam-collins commented 9 months ago

SockJS is used in both _status.gsp files.

This looks like the import request for the now missing file <asset:javascript src="sockets"/>. This needs to be added to the admin page, e.g. https://bie-ws.ala.org.au/ws/admin