our connection attempt failed for user 'Magento' to the MySQL server at db:3306:
Cannot open SSH Tunnel: Failed to resolve hostname tunnel. warden.test (nodename nor servname provided, or not known)
I ran the commands:
warden env down
//Then ran
warden env up
But it's not fixing my problem
I ran the following command and it fixed the error
warden svc up
Related
I am trying to start a chainlink node in rinkeby testnet.I have setup a postgres DB in AWS. The Database URL is already given. Below is the error while i am trying to start the node.
[ERROR] invalid database url %spostgresql://postgres:Bounty2000%#database-1.ciiecd8szsuh.us-west-1.rd
s.amazonaws.com:5432/db_sar_rinkeby orm/config.go:283
[ERROR] failed to initialize database, got error failed to connect to `host=/tmp user=root database=`
: dial error (dial unix /tmp/.s.PGSQL.5432: connect: no such file or directory) orm/orm.go:82
[ERROR] failed to initialize database, got error failed to connect to `host=/tmp user=root database=`
: dial error (dial unix /tmp/.s.PGSQL.5432: connect: no such file or directory) orm/orm.go:82
I tried changing few settings from AWS front but nothing helped.. If anyone have any clue pls help me up.
Based on the documentation it looks like there may be an "s" in front of your postgres URL, try removing that in your .env file. Also try replacing the database name with the IP address+Port. What should replace $DATABASE is "postgres". Finally try adding in ?sslmode=disable if you don't have ssl activated at the database (not recommended for a production node).
Example in .env:
DATABASE_URL=postgresql://me1234:password1234#10.10.100.100:3000/postgres?sslmode=disable
I'm trying to set up localtunnel on Ubuntu, but I keep getting the error :
your url is: undefined
/usr/local/lib/node_modules/localtunnel/bin/client:58
throw err;
^
Error: connection refused: localtunnel.me:undefined (check your firewall settings)
at Socket.<anonymous> (/usr/local/lib/node_modules/localtunnel/lib/TunnelCluster.js:47:32)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at emitErrorNT (net.js:1256:8)
at nextTickCallbackWith2Args (node.js:441:9)
at process._tickCallback (node.js:355:17)
I am using Xampp. What could be the issue?
Thank you all.
In ubuntu :
sudo ufw disable
Use the above command to disable the firewall
and create your local tunnel using:
lt --port 8000
Try running it with sudo. I had the same issue while executing as the normal user but running it with sudo helped out. You can also try running it as www-data
After reading this whole issue I can conclude It is not your pc's fault, but the localtunnel server is under heavy load. You should try again in some time.
When I issue below command, I'm getting this error. please help me to solve.
heroku run bash
Running bash on myapp... !!!
▸ ECONNRESET: tunneling socket could not be established, cause=Parse Error
! Error in heroku-run:
! getaddrinfo ENOTFOUND api.rollbar.com api.rollbar.com:443
! See /home/simon/.heroku/error.log for more info.
Note: I have http_proxy and https_proxy
certainly your proxy doesn't allowed to connect with heroku server... Please try with other system or change the proxy and try again...
I was using GIT BASH to connect with the Heroku server, I have successfully logged into the heroku website and downloaded Heroku Toolbelt 3.2.0 for windows. When i tried to log in using the GIT Bash it throws me the error message.
Error: A socket operation was attempted to an unreachable host. - connect(2) (Errno::EHOSTUNREACH) (Excon::Errors::Socket
I tried to update the proxy setting using,
set HTTP_PROXY=:http//%username%:%password%#%SERVER%:%PORT%
and using
export HTTP_PROXY='http://user:pass#proxy:port'
After setting this proxy when i tried to log in it throws an error message saying,
Error: getaddrinfo: No such host is known. (SocketError) (Excon::Errors::SocketError)
git bash doesn't seem like a valid command. Are you trying to connect to the Heroku dyno to play around with the environment? If so, you should try: heroku run bash.
When I tried using the export command with the following parameters the issue gets resolved.
The export command were:
export HTTP_PROXY="http://SERVER:PORT"
and
export HTTPS_PROXY="https://SERVER:PORT"
When trying to push my app to Heroku, it is hanging and I get this message:
ssh: connect to host heroku.com port 22: Operation timed out
When running:
heroku status
I am getting the error:
Excon nonblock is not supported by your OpenSSL::SSL::SSLSocket
Does anyone know what this means and how I can fix it?
I figured out the problem. My company has blocked a ton of stuff so it has something to do with that. When I tried using my phone as a wifi hotspot it worked fine so it has something to do with my network connection at work.