Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlcl : proxies on macosx don't work. #50

Open
C0de-M0nkey opened this issue Jan 25, 2024 · 0 comments
Open

sqlcl : proxies on macosx don't work. #50

C0de-M0nkey opened this issue Jan 25, 2024 · 0 comments

Comments

@C0de-M0nkey
Copy link

C0de-M0nkey commented Jan 25, 2024

On OSX at least any parameters passed via "dbtools.system_http_proxy=" simply don't work.
This includes setting environment variables such as http_proxy or using a proxy.pac file.

sql sysman/password@a_database
Jan 25, 2024 4:30:56 PM oracle.dbtools.raptor.proxy.ProxyAutoConfig findProxyForURL
INFO: findProxyForURL(http://www.internic.net) returns null.


SQLcl: Release 23.3 Production on Thu Jan 25 16:31:26 2024

Copyright (c) 1982, 2024, Oracle.  All rights reserved.

  USER          = sysman
  URL           = jdbc:oracle:thin:@a_database
  Error Message = IO Error: The Network Adapter could not establish the connection (CONNECTION_ID=Wwwwwwwwwwwwwwwwwwwwww==)
Username? (RETRYING) ('sysman/*********@a_database'?)

A manual override does work ...

"${JAVA}" -DsocksProxyHost=localhost -DsocksProxyPort=1184 ${CUSTOM_JDBC} ${CYGWIN} "${APP_VM_OPTS[@]}" -client ${SQLCL_DEBUG} -cp "${CPLIST}" oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli "$@"

@C0de-M0nkey C0de-M0nkey changed the title sqlcl : proxies on macosx are don't work. sqlcl : proxies on macosx don't work. Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant