malnvenshorn / OctoPrint-FilamentManager

OctoPrint plugin to manage your filament inventory
GNU Affero General Public License v3.0
131 stars 59 forks source link

Actual Remote Database - 400 Post error #124

Closed jwynn6 closed 5 years ago

jwynn6 commented 5 years ago

What were you doing?

Connecting Octopi based Filament Manager to an externally hosted Postgresql 10 database. Also tried with a Postgres 9.5 database. I have ensured that other systems (ubuntu) are able to connect remotely to the same database with the same username and password. The Octopi has psycopg2 installed as directed on the wiki.

What did you expect to happen?

Test button to turn green.

What happened instead?

Turned red and stayed red. Throws a Warning - 400 Post error in the log.

Link to octoprint.log

octoprint.log

Further information

I have read the FAQ and provided all required information.

malnvenshorn commented 5 years ago

octoprint.plugins.filamentmanager - ERROR - Failed to initialize database: Engine 'postgres' not supported

Your database URI is wrong, it should start with postgresql://. See the wiki on how to set it up correctly.

malnvenshorn commented 5 years ago

I'm closing this ticket now because there has been no further response for some time.