Closed Svarto closed 6 years ago
set_app_domain
was removed a very long time ago. I would just try pulling in the latest changes from master. Any reason you're using an older version?
Ok I'll try again, I ran into the problem that when running grunt it threw and error when compiling one of the javascripts in the ngAnnotate section. That is why I switched to the 2.0.2 version as I thought maybe the master branch was unstable. I'll try again with the master branch and report back!
I tried it again with the master branch and got the server up and running, I still can't connect though. When I run it with rails s -e production -p 2999 I get this error:
HTTP parse error, malformed request (): #<Puma::HttpParserError: Invalid HTTP format, parsing fails.
Is there anything to fix this? As when I use the development environment I can't load it either, but that is because the rails server is bound to localhost:2999 and not its ip. Can I somehow change this in development to bind to 0.0.0.0:2999 or its own IP, or do I need to install another reverse proxy on the machine to proxypass to localhost?
Thanks a lot for your help.
You should be able to bind with something like rails s -b 0.0.0.0 -p 3000
(Going off memory so it might be slightly different).
As for the error, you'll have to give more details. Not enough info to work with based on just that..
worked perfectly with mobitars comment to keep it in development but then bind the listening ip to 0.0.0.0.
Hi,
Thanks for a great piece of software, I am trying to self-host this and have gotten my Standardfile server up and running but running into problems with Standardnote 2.0.2.
Specifically, I follow these installation steps:
The only difference is that as in Standardfile I run it with rail s -e production -p 2999. It works to get the server up and running but I had to go into the config/environment/production.rb and change config.force_ssl = false as I have the SSL endpoint on another reverse proxy for this VM cluster.
When I try and access the standardnote server on http://lan-ip:2999, I get a "We're sorry, but something went wrong", checking the logs:
Any idea what is wrong?