DemocracyOS is an online space for deliberation and voting on political proposals. The software aims to stimulate better arguments and come to better rulings.
franciclo on development
add custom identity provider bump to 2.11.15 add custom signin config variab… and 1 more (compare)
franciclo on 2.11.16
Failed to load resource: the server responded with a status of 500 (HTTP/2.0 500)
Error: HTTP/2.0 500
(anonymous function) — admin.js:59634
emit — admin.js:14495
onreadystatechange — admin.js:59768
Unhandled Promise Rejection: Error: HTTP/2.0 500
On the homepage, there's this info: "Debate in a platform that rewards the best arguments" (http://democracyos.org/). Has that been implemented yet? How does it work? Or how is it going to work? ...
... How does the software know if an argument is good or not? Is it based on up and downvotes? And in which way does one/something get rewarded?
after configuring the https i had this error:
018-06-21T11:49:27.063383+00:00 app[web.1]: events.js:160
2018-06-21T11:49:27.063426+00:00 app[web.1]: throw er; // Unhandled 'error' event
2018-06-21T11:49:27.063428+00:00 app[web.1]: ^
2018-06-21T11:49:27.063429+00:00 app[web.1]:
2018-06-21T11:49:27.063430+00:00 app[web.1]: Error: listen EACCES 0.0.0.0:443
2018-06-21T11:49:27.063431+00:00 app[web.1]: at Object.exports._errnoException (util.js:1020:11)
2018-06-21T11:49:27.063433+00:00 app[web.1]: at exports._exceptionWithHostPort (util.js:1043:20)
2018-06-21T11:49:27.063434+00:00 app[web.1]: at Server._listen2 (net.js:1258:19)
2018-06-21T11:49:27.063435+00:00 app[web.1]: at listen (net.js:1307:10)
2018-06-21T11:49:27.063436+00:00 app[web.1]: at Server.listen (net.js:1403:5)
2018-06-21T11:49:27.063438+00:00 app[web.1]: at Object.server.listen (/app/lib/server-factory/index.js:20:21)
2018-06-21T11:49:27.063439+00:00 app[web.1]: at Promise (/app/lib/server/index.js:15:16)
2018-06-21T11:49:27.063441+00:00 app[web.1]: at Array.map (native)
2018-06-21T11:49:27.063440+00:00 app[web.1]: at Promise.all.servers.map (/app/lib/server/index.js:14:14)
2018-06-21T11:49:27.063442+00:00 app[web.1]: at startWebServer (/app/lib/server/index.js:13:32)
2018-06-21T11:49:27.063443+00:00 app[web.1]: at listen (/app/lib/server/index.js:39:5)
2018-06-21T11:49:27.063444+00:00 app[web.1]: at checkNodeVersion.then.then.then (/app/index.js:22:7)
2018-06-21T11:49:27.128020+00:00 heroku[web.1]: Process exited with status 1
2018-06-21T11:49:27.142317+00:00 heroku[web.1]: State changed from starting to crashed
2018-06-21T12:01:44.291105+00:00 heroku[router]: at=error code=H10
i need to change something in the configurations?
"publicPort": 3000,
and this : "port": 443,
: change it.
Sorry, but i have a problem with the notifier service. I deployed my app on Heroku but as locally as on Heroku i don't receive the notification email, can someone help me on this?
this is my configuration:
"notifications": {
"url": "",
"token": "",
"mailer": {
"name": "The DemocracyOS Team",
"email": "@yahoo.com",
"service": "Yahoo",
"auth": {
"user": "*@yahoo.com",
"pass": "*"
}
},
"nodemailer": {}
},
i tried also with gmail and i have the same behaviour. if my conf is ok but for some reason doesn't work, can you tell me how is it the nodemailer configuration?
thanks for your time.
@franciclo i tested with the parameters that you suggested me ad it works... but now i have another issue, when the mail arrives there is no clickable link, following the email:
Hi, pluto,
Please click here to validate your email address.
The DemocracyOS team.
PS: if you didn't sign up, please ignore this email.
can you tell me why it happens? i don't see anythings in the log, but in the mongo db i saw this link:
Looking to resolve this issue, which occurs upon using docker-compose up app, :
failed to connect to server [mongo:27017] on first connect [MongoError: getaddrinfo ENOTFOUND mongo mongo:27017]
at Pool.<anonymous> (/usr/src/node_modules/mongoose/node_modules/mongodb-core/lib/topologies/server.js:328:35)
app_1 | at emitOne (events.js:96:13)
app_1 | at Pool.emit (events.js:188:7)
app_1 | at Connection.<anonymous> (/usr/src/node_modules/mongoose/node_modules/mongodb-core/lib/connection/pool.js:280:12)
app_1 | at Connection.g (events.js:292:16)
app_1 | at emitTwo (events.js:106:13)
app_1 | at Connection.emit (events.js:191:7)
app_1 | at Socket.<anonymous> (/usr/src/node_modules/mongoose/node_modules/mongodb-core/lib/connection/connection.js:177:49)
app_1 | at Socket.g (events.js:292:16)
app_1 | at emitOne (events.js:96:13)
app_1 | at Socket.emit (events.js:188:7)
app_1 | at connectErrorNT (net.js:1034:8)
app_1 | at _combinedTickCallback (internal/process/next_tick.js:80:11)
app_1 | at process._tickCallback (internal/process/next_tick.js:104:9)
I've been following these guides so far:
http://docs.democracyos.org/install.html
http://docs.democracyos.org/develop/
http://docs.democracyos.org/develop/#running-the-app
and also:
DemocracyOS/democracyos#1478