artic-network / rampart

Read Assignment, Mapping, and Phylogenetic Analysis in Real Time
GNU General Public License v3.0
79 stars 33 forks source link

No data showing when using remote browser #65

Closed Psy-Fer closed 4 years ago

Psy-Fer commented 4 years ago

Hello,

Great stuff! Really great work.

I'm trying to get set up so I can monitor RAMPART from home. I'm on our VPN, and i've forward ports 3000 and 3001 through our port NAT switch.

When I run the RAMPART example

rampart --protocol ../../example_protocols/EBOV --clearAnnotated

I can then go to <IP of P-NAT>:3000 and I get the following

image

It does not update or refresh.

I did an X11 session, and opened up firefox, did a local load on the system, and it seems to be working fine.

Am I doing something wrong?

Cheers. James

rambaut commented 4 years ago

If you run rampart with --verbose, do you see a message about client connecting when you reload the browser on the remote machine?

jameshadfield commented 4 years ago

Quick update as James & I chatted over twitter & the connection to port 3001 (where we transmit data) was being blocked in the browser. This could be because we use sockets on that port. @Psy-Fer please comment here if you find a fix!

Psy-Fer commented 4 years ago

Turns out I was being too security minded and when I patched the few thousand security issues, it broke everything. lol

Just following the instructions, and not getting wise about things, leads to it working very well.

Should be running SARS-CoV-2 samples in no time at all.

Thanks for all the great work guys. You rock