You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! First, thank you all for taking the time to create this package. It's a huge timesaver, even after dealing with a two day long problem I just figured out. My brain is still swimming with all the different variables and troubleshooting things I had tried, so I apologize if these suggested changes aren't your responsibility!
I'm using Heroku to host the bot and a Heroku Postgres addon. Heroku's documentation states that an ssl config object is needed, as seen here. The problem is that pg@8 is the version that allows one to do it in this exact way. See the breaking changes here. or, as an alternative, add an env var PGSSLMODE=no-verify. This env var only works if pg@8 is installed, apparently.
My problem was this: No connection was being made to the db through botbuilder-storage-postgres. There were no errors. I solved it by explicitly installing pg@8 as well as adding PGSSLMODE=no-verify because I didn't have access to the ssl configuration object through this package. As the lazy developer that I am I relied on pg being installed as a dependency of this package, which it is. However, it's one major version behind; the one that doesn't jive with PGSSLMODE.
Could we be allowed to configure the ssl options?
or
Could this package be updated to use the latest and greatest pg@8?
Many thanks!
The text was updated successfully, but these errors were encountered:
@rosstroha I would also like to use pg@8 as it allows me to develop in node 14+. I'll probably just make a fork for now, but it'd be great if this could be officially supported.
@dfarinella-tda seems like the latest contributor to the project; is this possible?
Hi there! First, thank you all for taking the time to create this package. It's a huge timesaver, even after dealing with a two day long problem I just figured out. My brain is still swimming with all the different variables and troubleshooting things I had tried, so I apologize if these suggested changes aren't your responsibility!
I'm using Heroku to host the bot and a Heroku Postgres addon. Heroku's documentation states that an ssl config object is needed, as seen here. The problem is that
pg@8
is the version that allows one to do it in this exact way. See the breaking changes here. or, as an alternative, add an env varPGSSLMODE=no-verify
. This env var only works ifpg@8
is installed, apparently.My problem was this: No connection was being made to the db through
botbuilder-storage-postgres
. There were no errors. I solved it by explicitly installingpg@8
as well as addingPGSSLMODE=no-verify
because I didn't have access to the ssl configuration object through this package. As the lazy developer that I am I relied onpg
being installed as a dependency of this package, which it is. However, it's one major version behind; the one that doesn't jive withPGSSLMODE
.or
pg@8
?Many thanks!
The text was updated successfully, but these errors were encountered: