Xcode에서 Host is unreachable

(Host is unreachable에서 넘어옴)

1 문제[ | ]

Xcode에서

  • File --- Source Control --- Repositories... 에서
  • [+]를 클릭하여 Add a Repository를 하는 도중

Host is unreachable 이 뜨고 Next가 비활성화되어 서브버전 저장소를 등록 할 수 없다.

2 점검[ | ]

인터넷 점검
  • 사파리로 확인해보니 인터넷은 잘 되고 있다.
  • Location을 도메인과 IP 모두 시도해 보았지만 되지 않는다.
포트 점검
  • [Finder] --- [응용프로그램] --- [유틸리티] --- [터미널]
telnet 서버주소 포트

포트를 점검해 보니 다음과 같이 도메인주소로도, IP주소로도 접속이 잘 된다. (아래 예시는 실제 주소가 아님) 네트워크 문제는 아닌 것으로 판단된다.

Jmnoteui-MacBook-Air:~ jmnote$ telnet svn.example.com 8888
Trying 123.123.123.123...
Connected to svn.example.com.
Escape character is '^]'.
( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries commit-revprops depth log-revprops partial-replay ) ) )
Jmnoteui-MacBook-Air:~ jmnote$ telnet 123.123.123.123 8888
Trying 123.123.123.123...
Connected to 123.123.123.123.
Escape character is '^]'.
( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries commit-revprops depth log-revprops partial-replay ) ) )
다른 컴퓨터에서 점검

다른 PC(윈도우 7)에서 TortoiseSVN의 Repository Browser로 점검해보니, 접속도 잘 되고 파일목록도 잘 나온다.

3 해결방법[ | ]

근본원인은 Xcode 버그였다. 터미널에서 svn으로 한번 접속하고 나면 이후 Xcode에서 정상적으로 접근가능해진다.[1]

svn ls svn://svn.example.com:8888/repo1

4 주석[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}