none
Team Explorer Anywhere fails from Ubuntu Linux

    Question

  • I am trying to use TFS Anywhere form a local Virtual Machine that is hosting Ubuntu, and I am getting the following connection error.

    Any help would be appriciated.

    -martin

    2012-04-12 14:07:03,211 INFO  [main] (com.microsoft.tfs.jni.natives.NativeLoader) Loaded /home/meggenberger/TEE-CLC-10.1.0/./native/linux/x86/libnative_console-10.so from user-specified directory
    2012-04-12 14:07:03,212 INFO  [main] (com.microsoft.tfs.jni.internal.proxy.PlatformUtilsProxy) Proxy 'ConsoleUtils.consoleProxy' chose implementation class com.microsoft.tfs.jni.internal.console.NativeConsole
    2012-04-12 14:07:03,612 INFO  [main] (com.microsoft.tfs.jni.natives.NativeLoader) Loaded /home/meggenberger/TEE-CLC-10.1.0/./native/linux/x86/libnative_misc-10.so from user-specified directory
    2012-04-12 14:07:03,612 INFO  [main] (com.microsoft.tfs.jni.internal.proxy.PlatformUtilsProxy) Proxy 'PlatformMisc.defaultProxy' chose implementation class com.microsoft.tfs.jni.internal.platformmisc.NativePlatformMisc
    2012-04-12 14:07:03,660 INFO  [main] (com.microsoft.tfs.jni.internal.proxy.PlatformUtilsProxy) Proxy 'SecureStorage.defaultProxy' implementation class com.microsoft.tfs.jni.internal.securestorage.NativeSecureStorageKeychain reports itself not available, choosing another
    2012-04-12 14:07:03,663 INFO  [main] (com.microsoft.tfs.jni.internal.proxy.PlatformUtilsProxy) Proxy 'SecureStorage.defaultProxy' implementation class com.microsoft.tfs.jni.internal.securestorage.NativeSecureStorageDpapi reports itself not available, choosing another
    2012-04-12 14:07:03,666 ERROR [main] (com.microsoft.tfs.jni.internal.proxy.PlatformUtilsProxy) Proxy 'SecureStorage.defaultProxy' ran out of implementations to use
    2012-04-12 14:07:03,687 INFO  [main] (com.microsoft.tfs.jni.natives.NativeLoader) Loaded /home/meggenberger/TEE-CLC-10.1.0/./native/linux/x86/libnative_auth-10.so from user-specified directory
    2012-04-12 14:07:03,689 ERROR [main] (com.microsoft.tfs.jni.natives.NativeAuthMethods) Could not load GSSAPI library, Kerberos authentication disabled
    2012-04-12 14:07:03,689 INFO  [main] (com.microsoft.tfs.jni.internal.proxy.PlatformUtilsProxy) Proxy 'NegotiateEngine.negotiateProxy' implementation class com.microsoft.tfs.jni.internal.negotiate.NativeNegotiate reports itself not available, choosing another
    2012-04-12 14:07:03,689 ERROR [main] (com.microsoft.tfs.jni.internal.proxy.PlatformUtilsProxy) Proxy 'NegotiateEngine.negotiateProxy' ran out of implementations to use
    2012-04-12 14:07:03,723 INFO  [main] (com.microsoft.tfs.jni.internal.proxy.PlatformUtilsProxy) Proxy 'NTLMEngine.ntlmProxy' implementation class com.microsoft.tfs.jni.internal.ntlm.NativeNTLM reports itself not available, choosing another
    2012-04-12 14:07:03,726 INFO  [main] (com.microsoft.tfs.jni.internal.proxy.PlatformUtilsProxy) Proxy 'NTLMEngine.ntlmProxy' chose implementation class com.microsoft.tfs.jni.internal.ntlm.JavaNTLM
    2012-04-12 14:07:13,327 INFO  [main] (org.apache.commons.httpclient.HttpMethodDirector) Failure authenticating with NTLM <any realm>@10.8.8.103:8080
    2012-04-12 14:07:13,357 ERROR [main] (com.microsoft.tfs.client.clc.Application) An error occurred: Access denied connecting to TFS server http://10.8.8.103:8080/ (authenticating as domain\user)
    com.microsoft.tfs.core.exceptions.TFSUnauthorizedException: Access denied connecting to TFS server http://10.8.8.103:8080/ (authenticating as domain\user)
        at com.microsoft.tfs.core.exceptions.mappers.TECoreExceptionMapper.map(TECoreExceptionMapper.java:73)
        at com.microsoft.tfs.core.exceptions.mappers.RegistrationExceptionMapper.map(RegistrationExceptionMapper.java:23)
        at com.microsoft.tfs.core.clients.registration.RegistrationData.newFromServer(RegistrationData.java:70)
        at com.microsoft.tfs.core.clients.registration.RegistrationClient.getRegistrationData(RegistrationClient.java:652)
        at com.microsoft.tfs.core.clients.registration.RegistrationClient.getRegistrationEntries(RegistrationClient.java:162)
        at com.microsoft.tfs.core.clients.registration.RegistrationClient.getRegistrationEntries(RegistrationClient.java:146)
        at com.microsoft.tfs.core.PreFrameworkServerDataProvider.findServiceLocation(PreFrameworkServerDataProvider.java:287)
        at com.microsoft.tfs.core.PreFrameworkServerDataProvider.locationForCurrentConnection(PreFrameworkServerDataProvider.java:262)
        at com.microsoft.tfs.core.TFSTeamProjectCollection.getServerDataProvider(TFSTeamProjectCollection.java:245)
        at com.microsoft.tfs.core.TFSConnection.authenticate(TFSConnection.java:697)
        at com.microsoft.tfs.client.clc.commands.Command.createConnection(Command.java:1539)
        at com.microsoft.tfs.client.clc.commands.Command.createConnection(Command.java:1232)
        at com.microsoft.tfs.client.clc.vc.commands.CommandWorkspaces.displayAndUpdate(CommandWorkspaces.java:330)
        at com.microsoft.tfs.client.clc.vc.commands.CommandWorkspaces.run(CommandWorkspaces.java:103)
        at com.microsoft.tfs.client.clc.Application.run(Application.java:325)
        at com.microsoft.tfs.client.clc.Application.run(Application.java:146)
        at com.microsoft.tfs.client.clc.vc.Main.main(Main.java:34)
    Caused by: com.microsoft.tfs.core.ws.runtime.exceptions.UnauthorizedException: Authorization failure connecting to 'http://10.8.8.103:8080/tfs/Services/v1.0/Registration.asmx' (authenticating as domain\user)
        at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:441)
        at ms.tfs.services.registration._03._RegistrationSoap12Service.getRegistrationEntries(_RegistrationSoap12Service.java:110)
        at com.microsoft.tfs.core.clients.registration.RegistrationData.newFromServer(RegistrationData.java:65)
        ... 14 more


    Martin Eggenberger

    jeudi 12 avril 2012 21:35

Toutes les réponses

  • Are you supplying the full URL for the project collection (I can't tell from the log files)?  It would normally look something like:

    http://10.8.8.103:8080/tfs/DefaultCollection

    Can you post the actual command line you're trying to run?

    vendredi 13 avril 2012 03:03
  • I also had the similar issue. Eclipse TFS plugin failed to connect to Visual Studio online due to 'Authorization Failure', while my credential worked fine on Google Chrome. My environment was like this:
    OS: Ubutntu 12.04 x86_64
    Java: openjdk-6
    Eclipse: Kepler SR2
    TFS plug-in: 12.0.1

    In my case, I found the warning message 'MOZILLA_FIVE_HOME not set' in teamexplorer-soap-plugin log files under ~/.microsoft/Team Foundation/4.0/Logs.

    2014-03-02 15:01:03,474 WARN  [main] (com.microsoft.tfs.client.common.ui.dialogs.connect.ACSCredentialsDialog) SWT Browser failed to load for ACSCredentialsDialog
    org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
    at org.eclipse.swt.SWT.error(SWT.java:4423)
    at org.eclipse.swt.browser.Mozilla.initMozilla(Mozilla.java:1993)
    at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:701)
    at org.eclipse.swt.browser.Browser.<init>(Browser.java:99)
    at com.microsoft.tfs.client.common.ui.controls.generic.FullFeaturedBrowser.<init>(FullFeaturedBrowser.java:69)
    at com.microsoft.tfs.client.common.ui.dialogs.connect.ACSCredentialsDialog.isAvailableInternal(ACSCredentialsDialog.java:235)
    at com.microsoft.tfs.client.common.ui.dialogs.connect.ACSCredentialsDialog.isAvailable(ACSCredentialsDialog.java:183)
    at com.microsoft.tfs.client.common.ui.config.UITransportFederatedAuthRunnable.isAvailable(UITransportFederatedAuthRunnable.java:35)
    at com.microsoft.tfs.client.common.ui.config.UITransportFederatedFallbackAuthRunnable.getCredentialsDialog(UITransportFederatedFallbackAuthRunnable.java:37)
    at com.microsoft.tfs.client.common.ui.config.UITransportAuthRunnable.run(UITransportAuthRunnable.java:36)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3717)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3366)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
    at com.microsoft.tfs.client.common.ui.framework.runnable.DeferredProgressMonitorDialogContext$1$1.run(DeferredProgressMonitorDialogContext.java:116)


    As mentioned in the following thread, I ran "sudo apt-get install libwebkitgtk-1.0-0" and restarted eclipse, then finally I could connect to Visual Studio online.

    http://stackoverflow.com/questions/12125044/open-eclipse-juno-with-error-no-more-handles-in-ubuntu-12-04


    • Proposé comme réponse tosh K. _ mardi 4 mars 2014 02:31
    • Modifié tosh K. _ mardi 4 mars 2014 02:32
    dimanche 2 mars 2014 23:43
  • thanks for posting back.
    mardi 4 mars 2014 17:35