Skip to content

FAQ Common problems

Stian Håklev edited this page Nov 16, 2017 · 5 revisions

Q1: It works on my local computer, but not when someone connects to my computer using my public IP address

You need to specify the URL of ShareDB.

Create a file called settings.json in ./frog, containing:

{
  "public": {
    "sharedburl": "ws://YOURIP:3002"
  }
}

(replacing YOURIP with the public (external) IP of your computer, through which the other computer is accessing FROG, and start meteor with meteor --settings settings.json.

Q2: I am trying to use Ngrok to expose a local version of FROG publicly

Because FROG needs to expose to ports, this is probably impossible. It needs one port (by default 3000) to serve the webpage, and one websocket connection, and one other port (by default 3002) to serve ShareDB. The latter port/IP can be configured (see Q1).

Q3: I have connected all my activities with links, is that correct?

Linking between activities, or between activities and operators in FROG does not denote pedagogical edges (like in orchestration graph theory), but models explicit flow of data (social, activity, control). You should only link activities/operators where you want data to flow from one to the other. If you link two activities that are not compatible (for example feed the output of a chat into a brainstorm), FROG might crash. In the future, we will have type-checking of compatibility of links.