Clone failure parsing *.docker.internal
Bit of a strange one, but if I check out a new project via Version Control, I see this:

It looks like the clone actually succeeds, but the fail message above appears, and it doesn't prompt for 'open project' - I have to do it manually.
I have the latest Docker Desktop installed (Windows 10) and the Docker plugin is enabled.
I can't find any references to *.docker.internal in the codebase, and it does it for all projects
The idea.log has the following:
2021-08-20 10:33:55,376 [8095421] INFO - #git4idea.commands.GitHandler - [..\..\IdeaProjects] git -c core.quotepath=false -c log.showSignature=false clone --progress --recurse-submodules https://{redacted}-- {redacted}
2021-08-20 10:33:55,757 [8095802] INFO - #git4idea.commands.GitHandler - Cloning into '{redacted}'...
2021-08-20 10:33:57,111 [8097156] INFO - #git4idea.commands.GitHandler - fatal: parsing "*.docker.internal" - Quantifier {x,y} following nothing.
2021-08-20 10:33:59,232 [8099277] INFO - #git4idea.commands.GitHandler - remote: {redacted}
2021-08-20 10:33:59,233 [8099278] INFO - #git4idea.commands.GitHandler - remote: Found 273 objects to send. (64 ms)
2021-08-20 10:33:59,558 [8099603] INFO - #git4idea.commands.GitHandler - Receiving objects: 100% (273/273), 1.68 MiB | 6.08 MiB/s, done.
2021-08-20 10:33:59,564 [8099609] INFO - #git4idea.commands.GitHandler - Resolving deltas: 100% (115/115), done.
2021-08-20 10:34:01,773 [8101818] INFO - #git4idea.commands.GitHandler - usage: git submodule [--quiet] add [-b <branch>] [-f|--force] [--name <name>] [--reference <repository>] [--] <repository> [<path>]
2021-08-20 10:34:01,774 [8101819] INFO - #git4idea.commands.GitHandler - or: git submodule [--quiet] status [--cached] [--recursive] [--] [<path>...]
2021-08-20 10:34:01,774 [8101819] INFO - #git4idea.commands.GitHandler - or: git submodule [--quiet] init [--] [<path>...]
2021-08-20 10:34:01,774 [8101819] INFO - #git4idea.commands.GitHandler - or: git submodule [--quiet] deinit [-f|--force] (--all| [--] <path>...)
2021-08-20 10:34:01,774 [8101819] INFO - #git4idea.commands.GitHandler - or: git submodule [--quiet] update [--init] [--remote] [-N|--no-fetch] [-f|--force] [--checkout|--merge|--rebase] [--[no-]recommend-shallow] [--reference <repository>] [--recursive] [--] [<path>...]
2021-08-20 10:34:01,774 [8101819] INFO - #git4idea.commands.GitHandler - or: git submodule [--quiet] summary [--cached|--files] [--summary-limit <n>] [commit] [--] [<path>...]
2021-08-20 10:34:01,774 [8101819] INFO - #git4idea.commands.GitHandler - or: git submodule [--quiet] foreach [--recursive] <command>
2021-08-20 10:34:01,774 [8101819] INFO - #git4idea.commands.GitHandler - or: git submodule [--quiet] sync [--recursive] [--] [<path>...]
2021-08-20 10:34:01,774 [8101819] INFO - #git4idea.commands.GitHandler - or: git submodule [--quiet] absorbgitdirs [--] [<path>...]
2021-08-20 10:34:08,685 [8108730] WARN - nSystem.impl.ActionToolbarImpl - 'VcsManager' toolbar by default uses any focused component to update its actions. Toolbar actions that need local UI context would be incorrectly disabled. Please call toolbar.setTargetComponent() explicitly.
java.lang.Throwable: toolbar creation trace
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.<init>(ActionToolbarImpl.java:112)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.createActionToolbar(ActionManagerImpl.java:432)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.createActionToolbar(ActionManagerImpl.java:426)
at com.intellij.openapi.vcs.impl.ProjectLevelVcsManagerImpl$VcsConsoleContent.<init>(ProjectLevelVcsManagerImpl.java:904)
at com.intellij.openapi.vcs.impl.ProjectLevelVcsManagerImpl.getOrCreateConsoleContent(ProjectLevelVcsManagerImpl.java:298)
at com.intellij.openapi.vcs.impl.ProjectLevelVcsManagerImpl.lambda$addMessageToConsoleWindow$0(ProjectLevelVcsManagerImpl.java:282)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:214)
at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:21)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:196)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:350)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:84)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:133)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:46)
at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:189)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:886)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:755)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:442)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:825)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:441)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:487)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2021-08-20 10:34:20,408 [8120453] INFO - fileChooser.tree.FileTreeModel - Timed out when fetching WSL distributions, re-fetch scheduled
2021-08-20 10:34:20,435 [8120480] INFO - ion.wsl.WslDistributionManager - Fetched WSL distributions: [(Debian, version=2)] ("C:\WINDOWS\system32\wsl.exe -l -v" done in 126 ms)
2021-08-20 10:34:26,744 [8126789] INFO - BridgeArtifactManagerRedefiner - Using workspace model to open project
2021-08-20 10:34:27,559 [8127604] INFO - lij.diagnostic.DebugLogManager - Set TRACE for the following categories: #com.jetbrains.rdserver.requests, #com.jetbrains.rd.ide.document, #com.jetbrains.rdserver.document, #com.jetbrains.rdserver.editors, #com.jetbrains.rdserver.actions, #com.jetbrains.rdserver.permissions
2021-08-20 10:34:27,559 [8127604] INFO - dule.ModuleBridgeLoaderService - Workspace model loaded without cache. Loading real project state into workspace model. Thread[JobScheduler FJ pool 5/7,4,main]
2021-08-20 10:34:27,561 [8127606] INFO - tests.impl.DistributedTestHost - Host address=localhost/127.0.0.1
2021-08-20 10:34:27,564 [8127609] INFO - rojectCodeStyleSettingsManager - Initialized from default code style settings.
2021-08-20 10:34:27,576 [8127621] INFO - ins.rd.platform.codeWithMe.a.c - sessionStatus: null
2021-08-20 10:34:27,576 [8127621] INFO - ins.rd.platform.codeWithMe.a.c - freeSessionRemainingTimeMs: null null
2021-08-20 10:34:27,903 [8127948] INFO - eStyleSettingsMigrationService - Migrated project-level scala code style settings from version 0 to 1
请先登录再写评论。
Hello,
Is it possible to clone using git in command line?
Hi @...
Yes, works fine in terminal. Same repo (redacted for work).
Still errors in Intellij, but a different stack trace/error on this one repo:
Terminal:
IntelliJ:
2021-08-23 09:28:02,267 [3257400] INFO - #git4idea.commands.GitHandler - remote: Found 273 objects to send. (7 ms)
2021-08-23 09:28:02,529 [3257662] INFO - #git4idea.commands.GitHandler - Receiving objects: 100% (273/273), 1.68 MiB | 8.07 MiB/s, done.
2021-08-23 09:28:02,535 [3257668] INFO - #git4idea.commands.GitHandler - Resolving deltas: 100% (115/115), done.
2021-08-23 09:28:08,445 [3263578] INFO - #git4idea.commands.GitHandler - usage: git submodule [--quiet] add [-b <branch>] [-f|--force] [--name <name>] [--reference <repository>] [--] <repository> [<path>]
2021-08-23 09:28:08,446 [3263579] INFO - #git4idea.commands.GitHandler - or: git submodule [--quiet] status [--cached] [--recursive] [--] [<path>...]
2021-08-23 09:28:08,446 [3263579] INFO - #git4idea.commands.GitHandler - or: git submodule [--quiet] init [--] [<path>...]
2021-08-23 09:28:08,446 [3263579] INFO - #git4idea.commands.GitHandler - or: git submodule [--quiet] deinit [-f|--force] (--all| [--] <path>...)
2021-08-23 09:28:08,446 [3263579] INFO - #git4idea.commands.GitHandler - or: git submodule [--quiet] update [--init] [--remote] [-N|--no-fetch] [-f|--force] [--checkout|--merge|--rebase] [--[no-]recommend-shallow] [--reference <repository>] [--recursive] [--] [<path>...]
2021-08-23 09:28:08,446 [3263579] INFO - #git4idea.commands.GitHandler - or: git submodule [--quiet] summary [--cached|--files] [--summary-limit <n>] [commit] [--] [<path>...]
2021-08-23 09:28:08,446 [3263579] INFO - #git4idea.commands.GitHandler - or: git submodule [--quiet] foreach [--recursive] <command>
2021-08-23 09:28:08,447 [3263580] INFO - #git4idea.commands.GitHandler - or: git submodule [--quiet] sync [--recursive] [--] [<path>...]
2021-08-23 09:28:08,447 [3263580] INFO - #git4idea.commands.GitHandler - or: git submodule [--quiet] absorbgitdirs [--] [<path>...]
2021-08-23 09:28:12,573 [3267706] WARN - nSystem.impl.ActionToolbarImpl - 'VcsManager' toolbar by default uses any focused component to update its actions. Toolbar actions that need local UI context would be incorrectly disabled. Please call toolbar.setTargetComponent() explicitly.
java.lang.Throwable: toolbar creation trace
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.<init>(ActionToolbarImpl.java:112)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.createActionToolbar(ActionManagerImpl.java:432)
at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.createActionToolbar(ActionManagerImpl.java:426)
at com.intellij.openapi.vcs.impl.ProjectLevelVcsManagerImpl$VcsConsoleContent.<init>(ProjectLevelVcsManagerImpl.java:904)
at com.intellij.openapi.vcs.impl.ProjectLevelVcsManagerImpl.getOrCreateConsoleContent(ProjectLevelVcsManagerImpl.java:298)
at com.intellij.openapi.vcs.impl.ProjectLevelVcsManagerImpl.lambda$addMessageToConsoleWindow$0(ProjectLevelVcsManagerImpl.java:282)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:214)
at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:21)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:196)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:350)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:84)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:133)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:46)
at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:189)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:886)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:755)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:442)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:825)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:441)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:487)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Hello Chris Jackson
Could you please elaborate a bit more on your setup? Is there a chance that you are using git from Docker?
Could you please share screenshot of Preferences | Version Control | Git?
Just normal Git, unfortunately
Chris Jackson
Could you please clarify whether you still facing an error with "docker" in it? Or the error message has completely changed to `usage: git submodule [--quiet] add [-b <branch>] [-f|--force] [--name <name>] [--reference <repository>] [--] <repository> [<path>]` ?
What do you have under Git | Manage remotes as well as under Preferences | Version Control?
Would it be possible to submit a support request with us and attach logs to a ticket?
It's still in the logs, but appears to be intermittent. I use gittoolbox, but it's git4idea that is logging the errors, e.g.
2021-08-24 10:39:08,408 [7250979] INFO - #zielu.gittoolbox.fetch - All 1 repositories initialized
2021-08-24 10:40:35,419 [7337990] INFO - #git4idea.commands.GitHandler - [my-repo] git -c core.quotepath=false -c log.showSignature=false fetch origin --recurse-submodules=no --progress --prune
2021-08-24 10:40:36,559 [7339130] INFO - #git4idea.commands.GitHandler - fatal: parsing "*.docker.internal" - Quantifier {x,y} following nothing.
2021-08-24 10:40:38,223 [7340794] INFO - #zielu.gittoolbox.fetch - Finished auto-fetch
Manage remotes has the remote listed (not sure what else we'd expect here), and nothing but the vanilla stuff under the Version Control section.
There's no references to 'docker' in the gittoolbox code, nor in the repo, so it's not obvious why anything is using '*.docker.internal'. The error implies bad regex, on a generic level.
I'm using IDEA in a controlled/confidential environment, so I'm being careful to redact any specific information. There's nothing else related in the log file.
Chris Jackson
What git version are you running?
How do you start IDE (from console/terminal or Toolbox?)
Have you tried to run exact command in the command-line:
git -c core.quotepath=false -c log.showSignature=false fetch origin --recurse-submodules=no --progress --prune
>I'm using IDEA in a controlled/confidential environment, so I'm being careful to redact any specific information.
Could you please clarify whether you have some proxy configured?