Hi! I’m having troubles rendering WGLMakie plots in Pluto on a remote Windows server. According to the documentation, the following should work:
# ╔═╡ d64ef27e-c4dc-11ee-00ed-d16bd2708611
using WGLMakie
# ╔═╡ 3e80ef35-2eec-4042-8642-e62b6987b5dd
begin
using Bonito
Page(listen_url="0.0.0.0", listen_port=9384)
end
# ╔═╡ 404f0720-3be1-4eb2-a477-aa2dabcee5e3
scatter(rand(100))
The plot gets created, but only static, not interactive.
Examining,
srv = Bonito.get_server()
shows at first: (online_url redacted)
Server:
isrunning: true
listen_url: http://localhost:9384
online_url: xx.xx.xx.xx:9384
http routes: 0
websocket routes: 1
/3bb2f7ce-b957-4b12-a312-3c6315d7ee6a => WebSocketConnection
But after the scatter
command, srv
seems to loose its Websocket connection and becomes:
Server:
isrunning: true
listen_url: http://localhost:9384
online_url: xx.xx.xx.xx:9384
http routes: 0
websocket routes: 0
I’d appreciate some advice on how to fix or debug the issue.
Thanks!