You are not logged in.

#1 2014-11-06 17:13:49

thodgson95
Member
Registered: 2014-10-26
Posts: 4

Git and GitLab problem

Hi there,
after setting up git on my college computer 2 weeks ago i set it up on my laptop using the same tutorial and all worked perfectly.
until yesterday when I went typed the commanded "git push" and and error occured.

This is the error i got.

"ssh: connect to host gitlab.cs.man.ac.uk port 22222: Connection timed out
fatal: could not read from remote repository

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

after this error i reinstalled git and when i tried to clone the repository i got the same error.
My git has been working fine on my college computer so i believe it to be a problem with my laptop.

many thanks

Offline

#2 2014-11-06 20:04:55

crxxn
Member
Registered: 2014-06-25
Posts: 9

Re: Git and GitLab problem

A connection timeout seems unlikely to be a git problem....
Are you sure your college laptop is not being port-blocked by your university?
You could try:

"nmap -p 22222 gitlab.cs.man.ac.uk" 

to see whether the specified port is reachable from your machine.
It should say something like this:

Starting Nmap 6.47 ( http://nmap.org ) at 2014-11-06 21:04 CET
Nmap scan report for gitlab.cs.man.ac.uk (130.88.196.35)
Host is up (0.095s latency).
rDNS record for 130.88.196.35: csvle1.cs.man.ac.uk
PORT      STATE SERVICE
22222/tcp open  unknown

Nmap done: 1 IP address (1 host up) scanned in 0.38 seconds

Offline

#3 2014-11-06 20:10:58

thodgson95
Member
Registered: 2014-10-26
Posts: 4

Re: Git and GitLab problem

this is what i get when i type in that command.

Starting Nmap 6.47 ( http://nmap.org ) at 2014-11-06 20:06 GMT
Nmap scan report for gitlab.cs.man.ac.uk (130.88.196.35)
Host is up (0.0019s latency).
rDNS record for 130.88.196.35: csvle1.cs.man.ac.uk
PORT      STATE    SERVICE
22222/tcp filtered unknown

but it was working just the other day

Offline

#4 2014-11-06 20:30:11

crxxn
Member
Registered: 2014-06-25
Posts: 9

Re: Git and GitLab problem

Okay, seems like i was right and you simply can't reach port 22222 for some unknown reason.
Does this occur only on your laptop, but not on your desktop computer when connecting
both via the same network towards the internet?

If so, where are you located? College dorm?
Well, i'd speak to the netadmins about this, maybe they've changed the firewall rules.
A possible instant solution to this annoyance could be a smartphone hotspot or useing
any kind of proxy service, e.g. tor + privoxy.

Offline

Board footer

Powered by FluxBB