2

I'm trying to connect to Snowflake using 'authenticator': 'externalbrowser' from a Python script. This was working perfectly until today. Now I keep getting an "ERR_CONNECTION_REFUSED" error. Here's what happens:

  1. I run the script, it opens a browser window and asks me to log in with my organization credentials.
  2. Login is correct. I get a message saying: "Redirecting to Snowflake client in 1 seconds.."
  3. After a couple of seconds, I get a chrome error screen with a "ERR_CONNECTION_REFUSED" error.

As I said, this was working fine until today. Any idea what could be wrong?

4
  • If you open the browser manually, use the exactly same URL as the code uses and log in, does it work? Commented Nov 17, 2020 at 19:29
  • I don't suppose there have been any recent networking changes? Maybe try accessing outside of your Python code? Commented Nov 17, 2020 at 19:31
  • Usually ERR_CONNECTION_REFUSED is a client side error. You could try clearing the browser cache and see if that helps. You should also use browser Developer tools at Network tab and see if the request is sent out and if an error is returned. Commented Nov 18, 2020 at 8:07
  • It was my browser cache! I cleared it, and everything is working fine again. Thanks! Commented Nov 18, 2020 at 20:14

1 Answer 1

0

It was indeed a browser cache issue. Cleaning it solved the issue.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.