G'day everyone, wanted to learn a bit about snowflake, read through documentation, decided to try it out. Created test account, installed snowsql on my desktop and trying to connect... basics... and im stuck. I can connect via browser with this account, hence user/pass combo is correct.
Password:
250003 (n/a): Failed to get the response. Hanging? method: post, url: https://DD73453.eu-central-1.snowflakecomputing.com.snowflakecomputing.com:443/session/v1/login-request?request_id=c4f4fc93-9381-4cbd-8108-70daba148603&request_guid=fbe2973d-2ccd-4337-97c2-01611e2e4278
If the error message is unclear, enable logging using -o log_level=DEBUG and see the log to find out the cause. Contact support for further help.
Goodbye!
C:\Windows\system32>snowsql -a https://DD73453.eu-central-1.snowflakecomputing.com -u GREGTEST
Password:
250003 (n/a): Failed to execute request: HTTPSConnectionPool(host='https', port=443): Max retries exceeded with url: //DD73453.eu-central-1.snowflakecomputing.com.snowflakecomputing.com:443/session/v1/login-request?request_id=218d9545-d758-44a2-b29d-d6d90fc3fcfc (Caused by NewConnectionError('<snowflake.connector.vendored.urllib3.connection.HTTPSConnection object at 0x000001DC7A5AB710>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))
If the error message is unclear, enable logging using -o log_level=DEBUG and see the log to find out the cause. Contact support for further help.
Goodbye!```
The account (-a parameter) should be just:
DD73453.eu-central-1
Instead of https://DD73453.eu-central-1.snowflakecomputing.com use only "DD73453.eu-central-1"
Below should work
snowsql -a DD73453.eu-central-1 -u username
Related
I am not able to connect with snowsql by Windows console:
<!-- language: lang-html -->
C:\Users\musik>snowsql -a [myAccount] -u [myUserName]<br>
Installing version: 1.2.0 [####################################] 100%<br>
Password:<br>
<!-- end snippet -->
I get this error message:
250001 (08001): Failed to connect to DB. Verify the account name is correct: [myAccount].snowflakecomputing.com:443. HTTP 403: Forbidden
If the error message is unclear, enable logging using -o log_level=DEBUG and see the log to find out the cause. Contact support for further help.
Goodbye!
Screenshot
Then I used -o log_level=DEBUG. In the log file I can see that I am getting a "forbidden" error:
2019-12-05 16:45:16,510 (6472/MainThread) snowflake.connector.network DEBUG network:822 - HTTP 403: Forbidden. Retrying...
What can I do? Has somebody the same issue?
From my comment earlier: Be sure to include the region and such in your account. It should include everything up to the snowflakecomputing.com in the URL that you use to access Snowflake through the UI.
Please use below command:
snowflake URL : https://abc.snowflakecomputing.com
Account_name : abc
User_name : Give fully qualified user name
snowsql -a <account_name> -u <user_name>
Note: Prior to this ensure you are able to login with user name and password using snowflake Web UI.
I am creating my first react native app using expo client , when am hitting the expo build:android command on cmd its asking for username and password .
After entering the right username and password , its giving this message :-
>EXP-00056: ORACLE error 1017 encountered
>ORA-01017: invalid username/password; logon denied
>EXP-00005: all allowable logon attempts failed
>EXP-00000: Export terminated unsuccessfully
I am logged in with same username and password in another cmd with the help of
following command :
expo login -u username -p password
I am 100% sure that my credentials are right. I have no idea what's going wrong.
Please suggest what's going wrong.
Hei I found the answer in this link for a similar issue I had... https://forums.expo.io/t/building-standalone-apps/937/14
Seems you as I have an oracle instance in your machine. That oracle has an "exp". As khilwanikaran says:
app\UserName\product\12.1.0\dbhome_1\BIN
Here you will find an exe file as exp.exe
rename it and then try again
I am trying to create a Create Solr cluster using java class as given in steps on below link as shown here
but i am getting following error, can this be firewall issue?
Using JAVA
com.ibm.watson.developer_cloud.service.WatsonService execute SEVERE: IOException java.net.ConnectException: Failed to connect to gateway.watsonplatform.net/:443 at com.squareup.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:139) at com.squareup.okhttp.internal.io.RealConnection.connect(RealConnection.java:108) at com.squareup.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:184) at com.squareup.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:126) at com.squareup.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:95) at com.squareup.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:281) at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:224) at com.squareup.okhttp.Call.getResponse(Call.java:286) at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:243) at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:205) at com.squareup.okhttp.Call.execute(Call.java:80) at com.ibm.watson.developer_cloud.service.WatsonService.execute(WatsonService.java:122) at com.ibm.watson.developer_cloud.service.WatsonService.executeRequest(WatsonService.java:183) at com.ibm.watson.developer_cloud.retrieve_and_rank.v1.RetrieveAndRank.createSolrCluster(RetrieveAndRank.java:168) at Test.artf.CreateASolrClusterExample.main(CreateASolrClusterExample.java:20)
Using CURL
When i try using curl command as below that also gives connection error as below.
curl -X POST -u "":"" "https://gateway.watsonplatform.net/retrieve-and-rank/api/v1/solr_clusters" -d ""
Response:
curl: (7) couldn't connect to host
when i put the link in curl command in crome, it pop up for id/password. After giving id/password returns me
{"clusters":[]}
The service is experiencing some issues currently; the team is aware and working on it. Sorry for the trouble, please try again in a little while.
Whenever i launch my app, part of my task is to first run a migration. however, I get the below error 95% of the time.
Command failed: /bin/sh -c node_modules/.bin/sequelize db:migrate
Unable to connect to database: SequelizeConnectionRefusedError: connect ECONNREFUSED
Details:
killed: false
code: 1
signal: null
cmd: /bin/sh -c node_modules/.bin/sequelize db:migrate
stdout:
Sequelize [Node: 0.12.7, CLI: 2.1.0, ORM: 3.14.0]
Note: I can still query and connect to the database after the failure, also when i check the TCP lsof -i tcp:5432 its only one instance of postgres that runs.
I would appreciate any assistance in solving this issue.
I had similar issue , but in my case it turn out I didn't start my posgres. Make sure your posgress is started and open otherwise Sequelize would fail. I just solve mine. Also mind your username and password . my connection is simple below.
var db ='postgres://user:#localhost:5432/my_db_naame'
var sequelize = new Sequelize(db);
where user is your database user . my_db_naame is your db name. See the doc here . I suggest you install posgres client terminal. Like the one here http://postgresapp.com/documentation/gui-tools.html . Make sure you open it and the elephant sign is shown on top . Or better connect , try your username and password. run some queries and then try your sequelize again.
I am new to mongoDB and i am trying to get it configured and running on my Ubuntu server. When i go and enter this command in my terminal
sudo service mongod start
I get the following output
start: Job is already running: mongod
So, when i try to enter the shell with
mongo
I get the following output
2015-02-24T14:54:39.557-0800 warning: Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused
2015-02-24T14:54:39.559-0800 Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed at src/mongo/shell/mongo.js:146
I know I'm not working locally so I heard over to the mongod.conf file and change the following
port = 5000
# Listen to local interface only. Comment out to listen on all interfaces.
bind_ip = 10.0.1.51
Where bind_ip is now my ubuntu server and the port is 5000 as shown, so now i restart the service with
sudo service mongod restart
and outsputs
mongod start/running, process 1755
And now I try to renter back into shell with
mongo
and i still get the same error messages
MongoDB shell version: 2.6.7
connecting to: test
2015-02-24T15:01:26.229-0800 warning: Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused
2015-02-24T15:01:26.230-0800 Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed at src/mongo/shell/mongo.js:146
exception: connect failed
Can someone help me out with this issue? I've been going through the forums and nothing appears to be working. Thanks.
If anyone is having trouble, i looked into mongod --help and found the following solutions
mongod --smallfiles
or
mongod --nojournal
hope this helps anyone.