You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a browser cannot be launched, JDBC connection fails with error Exception in thread "main" net.snowflake.client.jdbc.SnowflakeSQLLoggedException: JDBC driver encountered communication error. Message: Cannot run program "xdg-open": error=2, No such file or directory.
What is the desired behavior?
Behavior is the same as the Python connector. The user is prompted to paste the authentication URL into a browser, authenticate and then paste the redirect URL back into the terminal.
How would this improve snowflake-jdbc?
It would allow Java-based programs to be run from headless environments, for example Docker containers.
What is your Snowflake account identifier, if any?
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Allow terminal fallback for external browser authentication when browser launch fails
SNOW-1663901: Allow terminal fallback for external browser authentication when browser launch fails
Sep 13, 2024
What is the current behavior?
When a browser cannot be launched, JDBC connection fails with error
Exception in thread "main" net.snowflake.client.jdbc.SnowflakeSQLLoggedException: JDBC driver encountered communication error. Message: Cannot run program "xdg-open": error=2, No such file or directory.
What is the desired behavior?
Behavior is the same as the Python connector. The user is prompted to paste the authentication URL into a browser, authenticate and then paste the redirect URL back into the terminal.
How would this improve
snowflake-jdbc
?It would allow Java-based programs to be run from headless environments, for example Docker containers.
What is your Snowflake account identifier, if any?
The text was updated successfully, but these errors were encountered: