how to solve tunneling socket could not be established error? - heroku

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...

Related

Error: connection refused: localtunnel.me:undefined (check your firewall settings)

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.

ENOTFOUND proxy.server.com when running `heroku create`

The Heroku documentation says that I should use the following proxy settings when I use the heroku create command:
> set HTTP_PROXY=http://proxy.server.com:portnumber
or
> set HTTPS_PROXY=https://proxy.server.com:portnumber
> heroku login
Unfortunately, I am receiving the following error message:
! ECONNRESET: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxy.server.com
! proxy.server.com:8080
How can I fix this error?
I am also having trouble cloning the GitHub repo which is mentioned in the Heroku documentation, so I have to download it manually.
That documentation is under the heading Using an HTTP proxy. Are you sure that you need to use an HTTP proxy? In many cases you won't need one; simply running heroku create will work.
If you are sure that you need an HTTP proxy you should make sure to replace proxy.server.com with your actual proxy server's name or IP address. proxy.server.com is just an example.

socket_connect keeps failing with permission denied

I am running into the following error message:
socket_connect(): unable to connect [61]: Connection refused
The code that I am using:
$address = 'localhost';
$port = 5600;
$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
socket_connect($socket, $address, $port);
I was trying this out on a valet .dev environment with nginx so I guessed it might have to do with not having a proper development environment that supports websockets but after testing I am getting the exact same on my homestead vagrant environment.
Any help with getting more verbose debugging information or a possible solution would be amazing.
All suggestions are welcome.
Cheers.
The server was not running properly. I could not map the code 61 to any error message by searching for it online.
If anybody encounters this with a code 61 I suggest looking at your websocket server and check if it is running properly.

Connection Refused for Shinyapp Authorization - Proxy? Firewall?

When I try to authorize my account for shinyapps, I receive the following error:
Error in function (type, msg, asError = TRUE) :
Failed to connect to api.shinyapps.io port 443: Connection refused
I know that it has something to do with my proxy or firewall settings, but I do not know how to get around this.
I am not sure how to specify a proxy for \code{rcurl} and \code{curl} connections - as I think this may be the fix?
Any help is appreciated!
If you're using the shinyapps package you can read the proxy documnation by running the following commands from your R console:
?shinyapps::rsconnectProxies

Getting error 'Excon nonblock is not supported by your OpenSSL::SSL::SSLSocket' (Heroku)

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.

Resources