Xcode error : An unkonown error occured. Failed to connect to gitlab. Operation time out(-)

Xcode error : An unkonown error occured. Failed to connect to gitlab. Operation time out(-). when trying to push or pull code from xcode