Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Enable psiTurk access behind firewalls and wifi routers #99
Currently, psiTurk doesn't work behind firewalls e.g., wifi routers. A savvy user can configure port forwarding if they have physical access to the router, yet the average user lacks this ability and/or access. To get around this issue, we can use reverse tunneling to automatically punch holes in people's firewalls, similar to how Skype works. A simple way to add this functionality to psiTurk would be to setup a Ngrok server on
well, this is already sort of the case with non-tunneled servers. the ad always points to your IP address. thus, if you are running, for example, the wrong task for the ad then there's nothing you can do about it.
i guess the equivalent thing for tunnels would be to give users one or more unique tunnel DNS entries which they can connect to at will to run their studies (basically just acting as a dynamic dns type service).
it's possible a unique tunnel for each ad make sense at some level, but e.g., what is your tunnel ip before you create the ad in the first place (e.g., when debugging)? while generally not ideal, i guess i feel the simplest solution currently is to give people a tunnel DNS to use and connect to and then let them add new ones when they want? or could just be like the API keys and regenerate a new random one if for some reason you wanted to switch.