OperationalError: 250001: Could not connect to Snowflake backend after 1 attempt(s).Aborting
I was attempting to build an LLM-powered chatbot called FROSTY. I am following a resource on the official Snowflake website. In that resource, it is mentioned to install Miniconda from the Anaconda website. However, due to our company policies, we do not have access to that website. Therefore, I tried setting up Streamlit using pip commands instead of conda commands, and I was able to run three out of the four codes in the Frosty chatbot application. Only the main chatbot code, Frosty_app.py, is not running, and I am encountering the error mentioned above. I have verified all my credentials, and I have a working OpenAI API key. I have also installed all the required libraries using pip. Please investigate this issue.
There seems to be an issue with the connection to the Snowflake backend.
It’s difficult to provide a definitive solution without specific code and setup details. However, I wanted to check if you’re able to connect to Snowflake outside of the Streamlit app?
You’d need to double-check the Snowflake account name, username, password, warehouse, database, and schema you are using to connect. You can use any Snowflake client or Snowflake’s UI to validate this.
I have followed this video and followed the same guidelines, But for setting up the streamlit using miniconda, I was not able to download the miniconda because of our company policies, I have used pip commands to setup the streamlit. In this vedio if you notice, he will run 4 codes in total, The first 3 are running for me also but the last code frosty_app.py is not running. I am not knowing where it is going wrong.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.