Different place here can svn checkout, but there can't - macos

the same code With two Mac, when at home, I can checkout the code from the svn server successfully, but when I in my office it can't be checked. And the warning message is: svn: Can't read from connection: Operation timed out
The operating system is Mac OS X Lion on both

Which protocol do u use to connect to your repository? It may happen if your firewall at your office do something with the port used by your protocol.

Related

Can't connect to Xamarin.iOS running on Mac from Windows machine

The diagnostic view fails in the third-to-last step (out of 11):
Establishing a stateful connection to Mac build host via HTTP. => failed
The Details section shows:
Connection could not be established. Unable to get InfoRecord. Unable to get SDK status.
I have double checked all recommendations in the "Actions" section: latest version of Xamarin.iOS installed, no other instance of Visual Studio connected, firewall disabled, Xamarin.iOS activated.
Both machines have Xamarin Studio 4.0.
Here are the last few entries from ~/Library/logs/Xamarin/MonoTouchVS/mtbserver.log:
[01-Mar-2013 17:52:24] Server IP Address : 10.1.0.199
[01-Mar-2013 17:54:44] mtbserver: No KEEPALIVE command, exiting...
[01-Mar-2013 17:54:48] Apple SDK developer root: /Applications/Xcode.app/Contents/Developer
[01-Mar-2013 17:54:48] Server IP Address : 10.1.0.199
EDIT
As mentioned by Veux below, using a proxy on Windows can cause this issue. Curiously, Fiddler2 can still work as a reverse proxy for the device (iPhone or the simulator) if "Capture Traffic" is disabled.
I had the some problem, all was configured well but got the same error.
The solution for me, was to disable the proxy! on the windows machine
Hope that will help you
Check if you have Xcode installed on /Applications/Xcode.app
Check if the Documentation of Xcode is installed.(http://screencast.com/t/f3Kku2iggDeY)
Check if this path exist on your Mac.
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Documentation/
If is empty, create a symbolic link from DocSets (http://screencast.com/t/dmN00AYw9k)
~/Library/Developer/Shared/Documentation/
to
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Documentation/DocSets

RDP from MAC OS X to Windows Server 2008 R2 License Error

ERROR
"You were disconnected from the Windows-based computer because of problems during the licensing protocol"
I have scoured the Internet and have read it can be fixed...but no one has given me a working fix. I have tried many fixes but still no luck =(.
Anyone know a FUNCTIONING fix for 10.7 and or 10.8
I am using http://www.microsoft.com/mac/remote-desktop-client (the latest version) to connect to Windows Server 2008 R2 Standard. Running RDS with a 5 User CAL. No Active Directory just basic accounts as the local IT team hasn't a clue how to use AD and I am a thousand miles away.
Did you try Thinomenon RDC for Mac? It properly supports redirect token, which could be the problem.
I found these 2 links which seems to have fixed the issue (Hope it's not the same you tried !!!), esp follow vezard & Martijn Huizer's response:
http://social.technet.microsoft.com/Forums/en-US/winserverTS/thread/8e28b0af-b374-4ca0-a255-5fd854bdc7fa
http://support.microsoft.com/kb/2477133
Hope it solves your issue !
Microsoft has released a new RDP client in the app store. So far It seems to work.
I try to be careful where I download from, and I found this Remote Desktop client option on sourceforge.net - a download site I am familiar with and trust:
http://cord.sourceforge.net
From their site:
CoRD is a Mac OS X remote desktop client for Microsoft Windows computers using the RDP protocol. It's easy to use, fast, and free for anyone to use or modify.
I am using Max OS X 10.7

Windows authentication / SSO on using XCode on a Mac OS X machine to Subversion on Windows Server 2008

I have been tasked to come up with a code repository to host our Objective-C code for in-house developed iOS apps. While we do have an existing Microsoft TFS instance, the available solutions to bridge TFS with XCode such as SVNBridge and Team Explorer Everywhere are a bit cumbersome and "hackish" for our requirements.
I'm recommending to use Subversion, but we are mainly a Microsoft house and use Windows authentication/SSO/Kerberos for our authentication requirements. My questions are as follows:
Does SVN support these authentication protocols?
Obviously we need to use Mac OS X/XCode for development - while Mac OS X can support windows domain authentication, how will this work if we need to integrate the authentication with SVN, using SSO?
Thanks in advance!
Doing some further research, I was able to find my own answers and also went further as to create a working proof-of-concept.
Does SVN support these authentication protocols?
From what I learned SVN can support Windows authentication by running SVN within Apache and using the SSPI modules to interact with your windows domain controller. These links were very helpful:
Version Control Using SVN + Apache
http://geekswithblogs.net/flanakin/archive/2005/08/31/51743.aspx
Obviously we need to use Mac OS X/XCode for development - while Mac OS X can support windows domain authentication, how will this work if we need to integrate the authentication with SVN, using SSO?
What's not clear to me here is what Xcode uses to authenticate to SVN - the Mac credentials OR the credentials entered when using svn in the command line. One thing i noticed is that Xcode will not work / connect or authenticate with SVN unless you do a checkout in the command line. I'm assuming Xcode uses these credentials in a way. Once a checkout has been performed and Xcode restarted, I am able to connect to my repositories without a hitch. There is also no need to enter the credentials in the username and password fields of your repository in Organizer.
It is important to note that what happens in the client side (Xcode and svn command-line) in terms of authentication is it's still Basic Auth, so your credentials are sent through the wire in clear base64 encoded text. SSL/TLS should be implemented to circumvent this risk.

How can I share a local Subversion repository between a Mac workstation and a Windows virtual machine?

I would like to share a Subversion repository between my main computer running OS X Lion and a virtual machine running Windows 7 hosted in this computer (via VMware). I am unsure what is the best way to go about this.
I am thinking of setting up Apache and Subversion server on the OS X side and hopefully that would allow my virtual to access the repository from the Windows virtual using something like Tortoise SVN and accessing the repository at http://macHostName/pathToRepository. This seems feasible since the OS X side is always running.
An alternative could be setting up Apache and Subversion on the Windows virtual, which would require me to run the virtual everytime I want to access the repository from the OS X side. Perhaps Subversion can be set up in IIS? That would save some time if I don't need to install Apache.
Either way, I am unsure of the best way to go about this set up and what the caveats of each option are. I also haven't found a good walkthrough that will show how to set up a Subversion server on any OS using Apache.
Then, there is also the option of using svnserve, which I am unfamiliar with. Will a repository not served by an HTTP server like Apache be accessible for whoever is not serving it from the OS X host and the Windows virtual?
Any pointers will be appreciated.
Both Apache and svnserve are using network protocols, so the basic network setup between your host and your guest regarding routing and firewalls will be the same.
If you already have Apache installed and are familiar to it, I recommend to use it. Otherwise my recommendation is svnserve, because it is much simpler to setup and configure. The SVN-Book has a chapter for setting up svnserve both in Windows and in OSX.

Is there a setting with git to allow a clone to use http on one OS and ssh on another?

Short Question
Is there a setting with git to allow a clone to use http on one OS and ssh on another? For an exact usage: Is possible to use http protocol (cloned in Windows) on Mac OS X terminal which typically uses SSH connections
Background
I have a Macbook Pro that I dual boot with Mac OS X and Windows 7. I have a shared express-34 card that I store all of my repositories / working directories on. I use this so I can work from the Mac side or Windows side seamlessly (until now). At this point, I am unable to commit / update any changes from repositories I clone / checkout from Windows. It's worth noting that git repos that I clone from Mac, work fine in Windows, just not the other way around.
System Information
Windows 7:
Tortoise git and Tortoise SVN
OS X:
homebrew installed git and SVN
Update
I am now sharing a single SSH checkout (at the project level) on both Mac OS X Lion and Windows 7. This is working when I am booted natively into Win 7 as well as when it is virtualized inside of Lion.
If I understand what you're asking I don't think this is possible using the same remote name. A particular remote is always defined by a URL which specifies the protocol. However you can add a new remote with a different URL which species a different protocol.
A problem with doing this is that you'll have the same remote with two different names in the same repository. This means that all remote branches (origin/master etc.) will be duplicated and will get out of sync which will cause problems with any git behavior that depends on branch names instead of SHA hashes.
For example, suppose you have a remote named 'windows' that specifies http and a remote name 'mac' which specifies ssh. Suppose your repository gets behind your remote you update in OSX using git fetch/merge now mac/master is up to date but windows/master is not. This may not be a big deal to you but it does mean tracking branches and other branch name dependent behavior may not work as you expect.

Resources