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.



Brian, please follow for the related discussion.
Does it help?



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.




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)?



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.



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

1. Please replace your 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.



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(
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.a(
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.b(
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.a(
at com.intellij.openapi.progress.impl.CoreProgressManager.a(
at com.intellij.openapi.progress.impl.CoreProgressManager.a(
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.d(
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.access$500(
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl$
at com.intellij.openapi.vcs.changes.UpdateRequestsQueue$
at java.util.concurrent.Executors$
at com.intellij.util.concurrency.SchedulingWrapper$
at com.intellij.util.concurrency.BoundedTaskExecutor$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$

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!

Permanently deleted user

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


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