Skip to content

pg8000.exceptions.InterfaceError: Can't create a connection to host pgm-bp1p68c041qp48r6fo.pg.rds.aliyuncs.com and port 5432 (timeout is None and source_address is None). #2787

Answered by rmartin16
jlij asked this question in Q&A
Discussion options

You must be logged in to vote

Briefcase leverages Pyscript as the platform to run Python in the browser. As such, it cannot open sockets due to the security model of the browser. Therefore, most (if not all) packages for Python that need to open a socket are not compatible with Pyscript currently. Pyscript does provide some basic APIs for HTTP requests and WebSockets....but it's non-trivial to see how these could facilitate a database connection today.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jlij
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants