Jump to content

Hey guys,

 

I'm trying to publish my repo to my github account, but it gives me this error:

large.56e7df86bfa70_Schermafbeelding2016

This does not happen when i'm at home, so i'm pretty sure it's my school's proxy server, how do I fix this?

my plan is to go to the sysadmin and ask him to unblock this, but i don't know which ports or websites the github client needs, since github.com works just fine.

 

so which ports and websites does the github client for mac use? (OSX 10.10)

 

-mikat

Link to comment
https://linustechtips.com/topic/565805-github-behind-proxy/
Share on other sites

Link to post
Share on other sites

Github for Mac is not doing anything fancy and it doesn't require any special ports. It's running git commands in the background and the ports for those depend on the Git protocol. The answer to your question is port 9418 (TCP only) and if you want to know more, check the link. 

Link to comment
https://linustechtips.com/topic/565805-github-behind-proxy/#findComment-7435223
Share on other sites

Link to post
Share on other sites

2 hours ago, maremp said:

Github for Mac is not doing anything fancy and it doesn't require any special ports. It's running git commands in the background and the ports for those depend on the Git protocol. The answer to your question is port 9418 (TCP only) and if you want to know more, check the link. 

update:

i've tried committing using the terminal, and that works, thanks for your help :)

so Github for Mac does something that the proxy doesn't like :/

Link to comment
https://linustechtips.com/topic/565805-github-behind-proxy/#findComment-7435637
Share on other sites

Link to post
Share on other sites

It says "Git error". That's nothing that the client does wrong. The client doesn't execute the commands like you would from the terminal, it might use a different user and/or config. Are you sure you have configured your client properly? 

You might also want to try and post this question on stack overflow, there are more people who will know how to help you, so you can resolve this problem faster. 

Link to comment
https://linustechtips.com/topic/565805-github-behind-proxy/#findComment-7440718
Share on other sites

Link to post
Share on other sites

7 minutes ago, maremp said:

It says "Git error". That's nothing that the client does wrong. The client doesn't execute the commands like you would from the terminal, it might use a different user and/or config. Are you sure you have configured your client properly? 

You might also want to try and post this question on stack overflow, there are more people who will know how to help you, so you can resolve this problem faster. 

hmm

on my mac i've set the proxy, but i had to use this command:

 

git config --global http.proxy http://serverhere:8080

to solve my problem, thanks for helping me :)

Link to comment
https://linustechtips.com/topic/565805-github-behind-proxy/#findComment-7440735
Share on other sites

Link to post
Share on other sites

1 minute ago, maremp said:

Glad you can solve it. I wanted to offer you this same solution from a github help page, but I wasn't sure it would work for you, since it requires both username and password and I wasn't sure that would work for you.

Happy hacking :D 

our proxy server doesn't use authentication, since it's only used to block websites and such :)

Link to comment
https://linustechtips.com/topic/565805-github-behind-proxy/#findComment-7440764
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×