Ionic Pro: Problem with git push ionic master


#1

Hi
I’m having some issues while trying to see my app in Ionic View
For that, I’ve created my app with

ionic start myApp tabs

I had some trouble with getting files (I’m behind a proxy) so I made a new bash script with the following commands.

export HTTP_PROXY="http://proxyip:port"
export HTTPS_PROXY="http://proxyip:port"
export IONIC_HTTP_PROXY="http://proxyip:port"
npm config set proxy http://proxyip:port
npm config set https-proxy http://proxyip:port
git config --global http.proxy http://proxyip:port
git config --global https.proxy http://proxyip:port

Then executed start command again and worked fine. Then did

ionic serve

Tested the app, made some new pages, components, etc. all fine.

The problem rises when trying to “upload” my App to the dashboard using (as stated in docs)

git push ionic master

I’ve set my App id (taken from dashboard) etc. but I keep getting

ssh: connect to host git.ionicjs.com port 22: Connection timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

imagen_908

Any clues? Thanks


#2

My guess is that the proxy configuration doesn’t cover SSH connections on port 22. Find out how you can set your proxy for that as well. (Does your proxy support that at all? How do you do SSH connection on your machine?)

And the usual disclaimer:

Ionic Pro is a hosted and closed source service, so there is not much we, the community, can help you with, sorry. Check these:

You can - and should - contact support at http://ionicframework.com/support#support


#3

Thanks Sujan. I only can ssh to servers located in LAN but cannot go to port 22 directly through the proxy. I never ssh’ed remote servers from terminal being behind this proxy.
I’m searching for solutions but nothing useful yet.
I guess I’ll have to try with a machine directly to Internet without proxy


#4

We are having the same problem here… With github or bitbucket we don’t have problems, but when we follow the steps to publish in ionic pro and when we type git push ionic master, we have the same problem that kabeza.


#5

Got the same problem over here on my computer.
On the computer of my colleague it’s working. But I can’t find out the difference. Setted up both SSH key.


#6

Hello! I have switched to my 4G internet connection and it works! Looks like our modem or internet provider forbiden ssh connections…


#7

Should not been the solution.
Our network is allowing SSH connections in the firewall and ofcourse port 22 to.

Waiting for a fix from Ionic.


#8

I don’t think Ionic will fix this. It is an issue related to git/ssh (still don’t know which one) not working through firewalls/proxies