flatironinstitute / mcmc-monitor

Monitor MCMC runs in the browser
Other
35 stars 0 forks source link

does this run in Safari? #98

Closed mitzimorris closed 1 year ago

mitzimorris commented 1 year ago

on my machine, this doesn't work on Safari but it does in Chrome. perhaps it's a Safari config issue?

jsoules commented 1 year ago

Could you provide a bit more information about the configuration? Are you getting any kind of error message?

I can confirm that the example site, at least, does work in Safari on an iPhone (in landscape mode specifically--the default width for the left-hand control panel is too wide to see the content pane in portrait orientation) but I haven't tried it on a Mac proper.

@magland have you tried it with non-mobile Safari?

mitzimorris commented 1 year ago

running the monitor, can see it on Chrome, but then copying the URL into Safari gives this:

safari

Safari is 16.4.1. my OS is 12.6.5 ("Monterey") although I have ad blockers, the message suggests the problem is elsewhere and turning off the ad blockers didn't do anything. my settings are vanilla, other than preventing cross-site trackers.

magland commented 1 year ago

On Wednesday I will have access to a macbook, so I'll try it out there. (It seems that this is an issue where the browser is not allowing the website to connect to a local service.)

magland commented 1 year ago

@mitzimorris and @jsoules

I confirm that monitoring of a local service does NOT work in safari on a mac. This I believe is due to a safari security policy of not allowing an https site from accessing content from a http endpoint (not 100% sure about this, but it's what I have gathered). There's no good workaround for this as far as I know. However, this ONLY affects monitoring of a local service... you can still use MCMC Monitor on safari if you are monitoring a remote service, or if using the proxy.

I think we should update the docs to say to use chrome or firefox and note that safari also works except in the case of monitoring a local service directly.