Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




SVN connector problem when Gemini is installed on a Windows Server 2008 R2

api
source-control

Hello,

When the gemini webserver is installed on a Windows 2008 R2 64 bits server, i cant use the svn connector, durring the commit, the error message is:

Command: Commit
Modified: D:\Development\testsvnlocal10
Error: Commit failed (details follow):
Error: Commit blocked by pre-commit hook (exit code -532459699) with output:
Error:
Error: Unhandled Exception: System.Net.WebException: Unable to connect to the remote
Error: server ---> System.Net.Sockets.SocketException: No connection could be made
Error: because the target machine actively refused it 128.30.52.37:80
Error: at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot,
Error: SocketAddress socketAddress)
Error: at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure,
Error: Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState
Error: state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
Error: --- End of inner exception stack trace ---
Error: at System.Net.HttpWebRequest.GetResponse()
Error: at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials
Error: credentials)
Error: at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type
Error: ofObjectToReturn)
Error: at System.Xml.XmlTextReaderImpl.OpenStream(Uri uri)
Error: at System.Xml.XmlTextReaderImpl.DtdParserProxy
PushExternalSubset(String
Error: systemId, String publicId)
Error: at System.Xml.DtdParser.ParseExternalSubset()
Error: at System.Xml.DtdParser.Parse(Boolean saveInternalSubset)
Error: at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()
Error: at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
Error: at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
Error: preserveWhitespace)
Error: at System.Xml.XmlDocument.Load(XmlReader reader)
Error: at System.Xml.XmlDocument.Load(Stream inStream)
Error: at CounterSoft.Gemini.Commons.Rest.Serializer.ConvertToObject[T](Stream
Error: stream)
Error: at
Error: CounterSoft.Gemini.WebServices.BaseService.GetObjectFromResponse[T](Stream
Error: stream, Int64 length)
Error: at
Error: CounterSoft.Gemini.WebServices.BaseService.ThrowResponseException(WebResponse
Error: response)
Error: at CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url,
Error: Object obj, RequestType requestType)
Error: at CounterSoft.Gemini.WebServices.BaseService.GetResponse[T](String url,
Error: Object o, RequestType r)
Error: at CounterSoft.Gemini.WebServices.BaseService.WhoAmI()
Error: at CounterSoft.Gemini.SourceControl.SVN.Program.Main(String[] args)
Completed!:

When i use the same configuration on a Windows server 2003 the commit work perfectly. I do not understand why the connector would like to connect at the address 128.30.52.37:80. this adress does not exist on the enterprise network, and i use only the hostname in the configuration files.

pascal.court
· 1
pascal.court
Replies (13)
helpful
0
not helpful

Please check the config file of the SVN add-on and make sure that the url is correct.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I use this url configuration :

        <setting name="GeminiURL" serializeAs="String">
            <value>http://cadet-tst</value>
        </setting>

pascal.court
· 1
pascal.court
0
DELETED.  House Rules

pascal.court
· 1
pascal.court
helpful
0
not helpful
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <configSections>
        <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
            <section name="CounterSoft.Gemini.SourceControl.SVN.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
        </sectionGroup>
    </configSections>
    <applicationSettings>
        <CounterSoft.Gemini.SourceControl.SVN.Properties.Settings>
            <setting name="PerformPreCommitChecks" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="AddIssueSourceCodeFileLink" serializeAs="String">
                <value>True</value>
            </setting>
            <setting name="AddIssueComment" serializeAs="String">
                <value>True</value>
            </setting>
            <setting name="GeminiUsername" serializeAs="String">
                <value>xxxx\yyyyy</value>
            </setting>
            <setting name="GeminiPassword" serializeAs="String">
                <value>zzzzzz</value>
            </setting>
            <setting name="SVNBinPath" serializeAs="String">
                <value>C:\Program Files (x86)\VisualSVN Server\bin\</value>
            </setting>
            <setting name="GeminiURL" serializeAs="String">
                <value>http://cadet-tst</value>
            </setting>
            <setting name="UseWindowsAuthentication" serializeAs="String">
                <value>True</value>
            </setting>
        </CounterSoft.Gemini.SourceControl.SVN.Properties.Settings>
    </applicationSettings>
</configuration>

pascal.court
· 1
pascal.court
helpful
0
not helpful

What happens when you ping the url from that server?


Mark Wing
· 9108
Mark Wing
0
DELETED.  House Rules

pascal.court
· 1
pascal.court
helpful
0
not helpful
C:\Windows\System32>ping cadet-tst

Pinging cadet-tst.skyguide.corp [156.135.69.213] with 32 bytes of data:
Reply from 156.135.69.213: bytes=32 time=2ms TTL=127
Reply from 156.135.69.213: bytes=32 time<1ms TTL=127
Reply from 156.135.69.213: bytes=32 time<1ms TTL=127
Reply from 156.135.69.213: bytes=32 time<1ms TTL=127

Ping statistics for 156.135.69.213:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 2ms, Average = 0ms

C:\Windows\System32>

pascal.court
· 1
pascal.court
helpful
0
not helpful

Was that ping done on the 2008 R2 64bit server? or your desktop?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

The ping is performed from my desktop

the same commande executed on the server give the same result:

C:\Users\admin_st>ping cadet-tst

Pinging cadet-tst.skyguide.corp [156.135.69.213] with 32 bytes of data:
Reply from 156.135.69.213: bytes=32 time<1ms TTL=128
Reply from 156.135.69.213: bytes=32 time<1ms TTL=128
Reply from 156.135.69.213: bytes=32 time<1ms TTL=128
Reply from 156.135.69.213: bytes=32 time<1ms TTL=128

Ping statistics for 156.135.69.213:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Users\admin_st>

pascal.court
· 1
pascal.court
helpful
0
not helpful

Very strange! Can you try and put the actual IP instead of the url?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I have already done this test, but the result is the same

I have tried some configurations:

Svn and Connector on server 2003 / Gemini on server 2003 => Ok (Same Server 2003)
Svn and Connector on server 2003 / Gemini on Server 2008 => not Ok
Svn and Connector on server 2008 / Gemini on server 2008 => not Ok (Same Server 2008)
Svn and Connector on Server 2008 / Gemini on Server 2003 => Ok

pascal.court
· 1
pascal.court
helpful
0
not helpful

Is Gemini running ok on the new server? What do you get when you navigate to the api/users.ashx in the broser?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful
When i go to the address http://cadet-ttc/api/users.ashx (server 2003)
This page is diplayed : Welcome to the Gemini Users REST API

But at the address http://cadet-tst/api/users.ashx (server 2008)
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

pascal.court
· 1
pascal.court
helpful
0
not helpful

Please make sure that Gemini is running under asp.net 2.0 integrated mode app pool in IIS.


Saar Cohen
· 5000
Saar Cohen
helpful
1
not helpful
The asp.net 2.0 was configured on classic mode, i have changed to the integrated mode,
and.... Now .... 
It's works fine.

Thanks to all for your suppport...

pascal.court
· 1
pascal.court