Open fukktalent opened 6 years ago
This would be possible if the connection manager's didn't filter dialectOptions
but just passed it on directly to the underlying lib I think
Something else is going on here - I tried using https://github.com/rofl0r/proxychains-ng to automatically proxy via the SOCKS proxy, and If I use the pg lib directly (as in the example from fixiesocsk above) it works.
But when sequelize connection manager manages things it doesn't go via the proxy. I don't know how that's possible.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, just leave a comment 🙂
Has anyone found a resolution to this?
I think I worked around this by doing proxychains4 node $(which sequelize) db:migrate
instead of proxychains4 sequelize db:migrate
-- I forget the exact reasoning, but it was something to do with shebang lines and how proxychains is injected in to procs, at least on OSX
Related: #10973
What are you doing?
I want to do Sequelize connects via a SOCKS connection. I find(https://devcenter.heroku.com/articles/fixie-socks#using-with-languages-that-don-t-support-socks-proxies) how connect mysql2 via a SOCKS connection. But I can't do that through Sequelize. Is it possible?
Through mysql2:
Dialect: mysql Dialect version: "mysql": "^2.15.0", "mysql2": "^1.6.1", Database version: 5.7.9 Sequelize version: 4.33.4 Tested with latest release: No (If yes, specify that version)
Note : Your issue may be ignored OR closed by maintainers if it's not tested against latest version OR does not follow issue template.