horizon: Running into errors going through getting started.

I’m running rethinkdb in a docker container, so I started my app with this:

hz serve --secure no --permissions no --auto-create-collection --auto-create-index --serve-static ./dist

The app is the base hz init. When I open the page, I get the following in the console:

screen shot 2016-05-20 at 5 57 04 am

And the marquee text never gets updated.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

@deontologician, yeah, that was it. So, I guess this is either a docs issue (the getting started guide doesn’t say anything about changing the default config.toml) or a defaults issue (the default config.toml doesn’t set allow_unauthenticated = true).

Just a little note on the default config.toml: Many of the config variables are commented out with non-default values. Typically (in my experience) a configuration uses default values in those cases. For example, # allow_unauthenticated = true would usually be # allow_unauthenticated = false. This both (1) shows the usage, and (2) shows the default value, which is usually helpful, especially to those new to the system and and the config syntax.

You can also execute Horizon.clearAuthTokens() in your browser’s JavaScript console to clear the token.