Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeline streaming stopped after #10210 #31

Closed
kedamaDQ opened this issue Mar 9, 2019 · 0 comments
Closed

Timeline streaming stopped after #10210 #31

kedamaDQ opened this issue Mar 9, 2019 · 0 comments

Comments

@kedamaDQ
Copy link
Owner

kedamaDQ commented Mar 9, 2019

Actual behaviour

Streaming is crashed because connection from node to postgresql become SSL even if DB_SSLMODE is not set. (regression from mastodon#10210)

Steps to reproduce the problem

Start streaming service with postgresql which works non ssl connections. I got error log, and streaming stopped.

ERR! Error: The server does not support SSL connections

There is not DB_SSLMODE in my .env.production. As far as I investigate, "ssl" option of pg.Pool() of node not has "sslmode" option. Probabry, just only add "ssl" key into config object, and even if it is empty, connection to postgresql become SSL.

Specifications

mastodon: master (3f4a6d4)

@kedamaDQ kedamaDQ changed the title Streaming crash Streaming is crashed because connection from node to postgresql become SSL Mar 9, 2019
@kedamaDQ kedamaDQ changed the title Streaming is crashed because connection from node to postgresql become SSL Timeline streaming stopped after #10210 Mar 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant