sandstorm-io / sandstorm

Sandstorm is a self-hostable web productivity suite. It's implemented as a security-hardened web app package manager.
https://sandstorm.io
Other
6.68k stars 709 forks source link

Loading grain can fail when navigating to another Sandstorm page #1473

Open ar-jan opened 8 years ago

ar-jan commented 8 years ago

To reproduce, click an Etherpad grain from your Grains list, then immediately click on the Grains list again while the app is loading. Similar thing happens with Ethercalc.

Now the first Etherpad grain looks like this - Etherpad toolbar is not visible, though you can type in the document: sandstorm-grain-load-failure-cropped

Using Firefox 44 on Ubuntu 14.04.

ocdtrekkie commented 8 years ago

Is this similar to #907 ?

ar-jan commented 8 years ago

Hi @ocdtrekkie I saw that issue, but assumed that was about switching browser tabs. This only happens when switching to another Sandstorm tab while the grain is loading.

Oh, and I didn't attach the log output! This hints at another problem than issue 907:

\ SANDSTORM SUPERVISOR: Starting up grain. sandstorm/supervisor.c++:1144: warning: ip_tables kernel module not loaded; cannot set up transparent network forwarding. Started Etherpad... [2016-02-05 14:29:51.679] [INFO] console - Installed plugins: ep_align@0.0.22, ep_author_neat@0.0.31, ep_comments_page@0.0.32, ep_font_color@0.0.10, ep_font_family@0.2.6, ep_font_size@0.1.11, ep_headings2@0.0.9, ep_page_view@0.5.22, ep_print@0.0.8, ep_spellcheck@0.0.3, ep_sticky_attributes@0.0.8, ep_subscript_and_superscript@0.0.3 [2016-02-05 14:29:51.763] [INFO] console - Report bugs at https://github.com/ether/etherpad-lite/issues [2016-02-05 14:29:51.766] [INFO] console - Your Etherpad version is 1.5.7 (6e94016) [2016-02-05 14:29:52.044] [INFO] console - You can access your Etherpad instance at http://0.0.0.0:9001/ [2016-02-05 14:29:52.044] [WARN] console - Admin username and password not set in settings.json. To access admin please uncomment and edit 'users' in settings.json [2016-02-05 14:29:52.147] [INFO] ueberDB - Flushed 1 values ....

ocdtrekkie commented 8 years ago

@ar-jan I was definitely talking about switching Sandstorm 'tabs', not browser tabs. :) I'd like click the grain, go back to grains to start loading another, and the first would break.