Self-Hosted Database Proxy Connection Issue
markwestm opened this issue · comments
I am trying to create a self-hosted database proxy connection by following the instructions provided in the following link. We have an organizational account. I have two PostgreSQL databases on my machine. I am using the latest version of Edge. My OS is Windows 11 Enterprise.
https://observablehq.com/@observablehq/self-hosted-database-proxies
After installing the database proxy via npm, I try to add my database using the observable-database-proxy add testdb command. I use the name of my database vice testdb. At that point a browser window opens up asking me to choose an account. I pick our organizational account. I am then taken to a page saying "Sorry, you’re not allowed to access this page.". Please see the image below.
My manager shared his SSL certificate with me, which I added to my console root as a potential fix. However, I'm not sure how to attach the certificate to the web request that is made for connecting to the Observable site.
![access-not-allowed](https://private-user-images.githubusercontent.com/163023309/312620515-cac71672-e1ca-4e49-ad75-7eef577aa0d6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1NDYxMTgsIm5iZiI6MTcyMTU0NTgxOCwicGF0aCI6Ii8xNjMwMjMzMDkvMzEyNjIwNTE1LWNhYzcxNjcyLWUxY2EtNGU0OS1hZDc1LTdlZWY1NzdhYTBkNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyMVQwNzEwMThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kMWU5MGRkMmMzNGJjZTFkYTdhN2EwMTNiOTE1MmYzYmMzYWFiMjU3NzZlMjNjNzZmMzJmZmU5NTdlYmE0MmZmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.J59bWT2cSQ3w5p63Q-Sdbz1Hw1HKM56W6CnSf9IaN_U)
Please let me know if you need additional details. Thanks in advance for your help.
Regards, Mark
Hi Mark.
Let's take this discussion to our support channel (support@observablehq.com) where we can be of more assistance since I suspect the answer is related to membership permissions on your organizational account. Would you mind sending a short request to that email (you don't have to retype all of this, just reference this GH issue) since I don't want to discuss your specific account in a public forum.
Thanks!
Cobus