upsource, vcs connection failed.

Hello everyone,
I have strange problem, at one point I was no longer connected to the svn. I get an error "VCS connection failed. Timeout". Help to understand the reason. That's all what I found in the logs:

/var/upsource/logs/upsource-frontend/info.log:[2015-07-17 17:15:07,587] WARN           event-bus-1                 gine.RequestStatisticsProducer - Request testVcsConnection executed for 62s. Params: testVcsConnection:{"projectId":"example","vcsSettings":{"vcs":"svn","url":"https://svn-example/","authMethod":"Password","login":"vng","id":"*****"}}, Users:{admin}

/var/upsource/logs/upsource-frontend/debug.log:[2015-07-17 17:15:07,587] WARN           event-bus-1                 gine.RequestStatisticsProducer - Request testVcsConnection executed for 62s. Params: testVcsConnection:{"projectId":"example","vcsSettings":{"vcs":"svn","url":"https://svn-example","authMethod":"Password","login":"vng","id":"example"}}, Users:{admin}

/var/upsource/logs/upsource-frontend/warn.log:[2015-07-16 13:24:15,845] WARN           event-bus-1                 gine.RequestStatisticsProducer - Request testVcsConnection executed for 60s. Params: testVcsConnection:{"projectId":"example","vcsSettings":{"vcs":"svn","url":"https://svn-example","authMethod":"Password","login":"vng","id":"example"}}, Users:{admin}

/var/upsource/logs/upsource-frontend/warn.log:[2015-07-17 17:15:07,587] WARN           event-bus-1                 gine.RequestStatisticsProducer - Request testVcsConnection executed for 62s. Params: testVcsConnection:{"projectId":"example","vcsSettings":{"vcs":"svn","url":"https://svn-example","authMethod":"Password","login":"vng","id":"example"}}, Users:{admin}

/var/upsource/logs/upsource-frontend/upsource-frontend-stderr.log:[2015-07-16 13:24:17,217] [Upsource Frontend Error] [2015-07-16 13:24:15,845] WARN           event-bus-1                 gine.RequestStatisticsProducer - Request testVcsConnection executed for 60s. Params: testVcsConnection:{"projectId":"example","vcsSettings":{"vcs":"svn","url":"https://svn-example","authMethod":"Password","login":"vng","id":"example"}}, Users:{admin}

/var/upsource/logs/upsource-frontend/upsource-frontend-stderr.log:[2015-07-17 17:15:07,619] [Upsource Frontend Error] [2015-07-17 17:15:07,587] WARN           event-bus-1                 gine.RequestStatisticsProducer - Request testVcsConnection executed for 62s. Params: testVcsConnection:{"projectId":"example","vcsSettings":{"vcs":"svn","url":"https://svn-example","authMethod":"Password","login":"vng","id":"example"}}, Users:{admin}

2 comments
Comment actions Permalink

Hi Vitaly,

We believe that the first thing you've checked is general availability of your svn server from Upsource machine, so not asking about it =)

As one of the possible reasons your svn server might refuse Upsource connections if debug logging is enabled.

How to adjust it:

  1. Navigate to <Upsource_home_dir>\conf\upsource-analyzer
  2. Create a file log4j.xml, copy there all content from log4j.xml.dist
  3. In log4j.xml, betwen <category> tags, add the following section:


 <category name="javasvn.output">
<priority value="INFO"/>
</category>


  4. Restart Upsource

If it's not the case, logs folder from Upsource home directory would be much appreciated.

Thanks.
0
Comment actions Permalink

Thank, problem solved.

0

Please sign in to leave a comment.