docker-standardfile's People
Forkers
appdesign1987docker-standardfile's Issues
Unable to register from app.standardnotes.org
Hello,
I just install the docker-standardfile you release with the environment variables described in the issue #1
Next, I opened the url, and saw the expected result : " Hi! You're not supposed to be here. You might be looking for the Standard Notes Web App or the main Standard Notes Website."
On database side, everything seems ok : no error message during standardfile startup and tables are created.
The problem starts when I try to register with app.standardnotes.org :
after entering a new user and password, clicking on "advanced options" and fill in the "Sync server domain" field with the previous url and port I tested, I have the error message below :
"A server error occured while trying to register. Please try again"
On docker side, I don't see any error in the terminal.
Can you help me with configuration ? Maybe I miss something...
Thanks
Issue authenticating from Standard Notes container to Standardfile container
I have everything setup via nginx-proxy so I have https://notes.domain.com and https://notesdb.domain.com. Everything seems to be working correctly, but when I try to create an account with the Standardfile URL (https://notesdb.domain.com) Standard Notes' web app returns:
A server error occurred while trying to register. Please try again.
When I check the Docker logs for standardfile, it shows:
Mysql2::Error (Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2 "No such file or directory")):
app/controllers/api/auth_controller.rb:23:in `register'
Rendering /usr/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
Rendering /usr/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
Rendered /usr/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.3ms)
Rendering /usr/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
Rendered /usr/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
Rendering /usr/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
Rendered /usr/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
Rendered /usr/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (28.7ms)
Started POST "/auth" for 73.114.179.168 at 2018-01-27 23:58:29 +0000
Processing by Api::AuthController#register as */*
Parameters: {"password"=>"[FILTERED]", "email"=>"[email protected]", "pw_salt"=>"1ade790b8167b3f6d55bd96b852c109ea558e6cdba1957fd7691e00d1a69f6e5", "pw_cost"=>101000, "version"=>"002", "a
uth"=>{"password"=>"[FILTERED]", "email"=>"[email protected]", "pw_salt"=>"1ade790b8167b3f6d55bd96b852c109ea558e6cdba1957fd7691e00d1a69f6e5", "pw_cost"=>101000, "version"=>"002"}}
Can't verify CSRF token authenticity.
Completed 500 Internal Server Error in 1ms
Mysql2::Error (Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2 "No such file or directory")):
app/controllers/api/auth_controller.rb:23:in `register'
Rendering /usr/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout
Rendering /usr/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb
Rendered /usr/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.6ms)
Rendering /usr/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb
Rendered /usr/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms)
Rendering /usr/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb
Rendered /usr/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms)
Rendered /usr/lib/ruby/gems/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (30.1ms)`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.