TFS Server Mappings Issue

已回答

I am using TFS 2010 with AppCode for iOS development.  I intermittently get the following error trying to check files in:  

Error updating changes: Team Foundation Server mappings not found for '/Users/bhp/Documents/...'

If I go to VCS -> TFS -> Edit Configuration  I am able to see my TFS server listed and my workspace.  I can highlight the workspace, click edit then inspect the server and local paths.  Everything appears to be in order.

I was previously able to resolve this issue by deleting the workspace and re-creating, but that means I have to reimplement the code changes I was working on.

Any help greatly appreciated.

thanks,
-Brian

0

Brian, please follow http://devnet.jetbrains.net/thread/434976?tstart=0 for the related discussion.
Does it help?

0
Avatar
Permanently deleted user

Anton,

I followed that thread and was not able to resolve the issue.  This is an existing TFS project that I am connecting to.  I also validated that there is not a proxy in place.

When I create a new mapping, I am able to download source, check out, and check in.  I have created workspaces both manually and automatically.  

At some point, something seems to change and the connection is lost.  It seems that when I try to connect to TFS though our SSL VPN (which I have never gotten to work) I get the error.  The only way I have been able to recover is to delete the workspace and recreate it.

Thanks,

-Brian

0
Avatar
Permanently deleted user

Hi Brian,

Let me please double-check.

Do you mean it works until you enable VPN? What if you then disconnect from VPN and try again (without recreating the workspace)?

Thanks,
Kirill

0
Avatar
Permanently deleted user

Correct.  When I am on a wired connection on the local network I can create the workspace mapping and everything is ok.

If I disconnect the local network and connect to our VPN I get the 'server mappings not found' error.  If I reconnect to the local network I continue to get the error.  Restarting AppCode and restarting the machine do not resolve the issue.  Once I start getting the error the only way I have found to resolve it is to recreate the workspace.

thanks,
-Brian

0
Avatar
Permanently deleted user

Brian, may I ask you to turn on verbose TFS logging so I can look at the messages?

1. Please replace your AppCode.app/bin/log.xml with the file attached at different thread and restart AppCode.
2. Recreate the workspace and check things work, afterwards switch to VPN, check things don't work, then connect directly and check it does not work either.
3. Take a log file idea.log (Help -> Reveal logs) and attach it here, or send it to me kirill (dot) safonov (at) jetbrains (dot) com if you'd like to keep your files paths private.

Thanks!
Kirill

0
Avatar
Permanently deleted user

Hi everyone,

is there any solution to this problem? I'm having the same issue, that the TFS plugin works in the local network, but doesn't through VPN. Here's the exception I'll get:

2017-06-16 07:03:46,279 [ 14353] INFO - .changes.ChangeListManagerImpl - Team Foundation Server mappings not found for '/Users/.../WebstormProjects/...' 
com.intellij.openapi.vcs.VcsException: Team Foundation Server mappings not found for '/Users/.../WebstormProjects/...'
at org.jetbrains.tfsIntegration.core.TFSChangeProvider.getChanges(TFSChangeProvider.java:101)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.a(ChangeListManagerImpl.java:681)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.b(ChangeListManagerImpl.java:595)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.a(ChangeListManagerImpl.java:488)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:176)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:556)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:501)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:66)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:163)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.d(ChangeListManagerImpl.java:488)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.access$500(ChangeListManagerImpl.java:69)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl$ActualUpdater.run(ChangeListManagerImpl.java:398)
at com.intellij.openapi.vcs.changes.UpdateRequestsQueue$MyRunnable.run(UpdateRequestsQueue.java:269)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:237)
at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:212)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

I'm using:

WebStorm 2017.1.3
Build #WS-171.4424.63, built on May 16, 2017
JRE: 1.8.0_112-release-736-b21 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.5
TFS plugin version: 171.3780.79

Any help is much appreciated!

0
Avatar
Permanently deleted user

I've created separate issue for your case. Please follow the comments there.

0
Avatar
Permanently deleted user

To solve this issue, I just reload the workspaces in the TFS manager...

In Jetbrain menu, Go to VCS > TFS > Edit configuration

Select your server and clic "Reload workspaces" to make yours appears in the list

Now, your workspace is mapped.

Hope it will be helpfull

0

请先登录再写评论。