Issue with google sync
jeremy-nicholls opened this issue · comments
Hi Daniel - great plugin thanks!
However, I just tried to upgrade to v2.0.3 (in keepass 2.52) and im getting this error when trying to (re) add my google drive
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Exception: No unused port found!
at KeeAnywhere.OAuth2.OidcSystemBrowser..ctor(IEnumerable`1 ports)
at KeeAnywhere.OAuth2.OidcFlow.d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at KeeAnywhere.StorageProviders.GoogleDrive.GoogleDriveStorageConfigurator.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at KeeAnywhere.StorageProviders.StorageService.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at KeeAnywhere.UIService.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at KeeAnywhere.Forms.SettingsForm.d__a.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3928.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
KeePass
Assembly Version: 2.52.0.17694
Win32 Version: 2.52.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/KeePass/KeePass.exe
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3928.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3928.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3928.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
KeeAnywhere
Assembly Version: 2.0.3.0
Win32 Version: 2.0.3.0
CodeBase: file:///C:/Users/Beweb/AppData/Local/KeePass/PluginCache/NiA4Q4xJAc1GZ9OEEELw/KeeAnywhere.dll
System.Net.Http.Primitives
Assembly Version: 4.2.29.0
Win32 Version: 4.2.29.0
CodeBase: file:///C:/Users/Beweb/AppData/Local/KeePass/PluginCache/NiA4Q4xJAc1GZ9OEEELw/System.Net.Http.Primitives.DLL
Newtonsoft.Json
Assembly Version: 12.0.0.0
Win32 Version: 12.0.3.23909
CodeBase: file:///C:/Users/Beweb/AppData/Local/KeePass/PluginCache/NiA4Q4xJAc1GZ9OEEELw/Newtonsoft.Json.DLL
Microsoft.Graph.Core
Assembly Version: 1.24.0.0
Win32 Version: 1.24.0.0
CodeBase: file:///C:/Users/Beweb/AppData/Local/KeePass/PluginCache/NiA4Q4xJAc1GZ9OEEELw/Microsoft.Graph.Core.DLL
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3928.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
KeePass.XmlSerializers
Assembly Version: 2.52.0.17694
Win32 Version: 2.52.0.17694
CodeBase: file:///C:/Program%20Files%20(x86)/KeePass/KeePass.XmlSerializers.DLL
IdentityModel.OidcClient
Assembly Version: 3.0.0.0
Win32 Version: 3.1.2.0
CodeBase: file:///C:/Users/Beweb/AppData/Local/KeePass/PluginCache/NiA4Q4xJAc1GZ9OEEELw/IdentityModel.OidcClient.DLL
Google.Apis.Auth
Assembly Version: 1.49.0.0
Win32 Version: 1.49.0.0
CodeBase: file:///C:/Users/Beweb/AppData/Local/KeePass/PluginCache/NiA4Q4xJAc1GZ9OEEELw/Google.Apis.Auth.DLL
Google.Apis.Core
Assembly Version: 1.49.0.0
Win32 Version: 1.49.0.0
CodeBase: file:///C:/Users/Beweb/AppData/Local/KeePass/PluginCache/NiA4Q4xJAc1GZ9OEEELw/Google.Apis.Core.DLL
Google.Apis.Drive.v3
Assembly Version: 1.49.0.2201
Win32 Version: 1.49.0.2201
CodeBase: file:///C:/Users/Beweb/AppData/Local/KeePass/PluginCache/NiA4Q4xJAc1GZ9OEEELw/Google.Apis.Drive.v3.DLL
Google.Apis
Assembly Version: 1.49.0.0
Win32 Version: 1.49.0.0
CodeBase: file:///C:/Users/Beweb/AppData/Local/KeePass/PluginCache/NiA4Q4xJAc1GZ9OEEELw/Google.Apis.DLL
System.Net.Http
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
IdentityModel
Assembly Version: 4.1.0.0
Win32 Version: 4.1.0.0
CodeBase: file:///C:/Users/Beweb/AppData/Local/KeePass/PluginCache/NiA4Q4xJAc1GZ9OEEELw/IdentityModel.DLL
Microsoft.Extensions.Logging
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.18136
CodeBase: file:///C:/Users/Beweb/AppData/Local/KeePass/PluginCache/NiA4Q4xJAc1GZ9OEEELw/Microsoft.Extensions.Logging.DLL
netstandard
Assembly Version: 2.0.0.0
Win32 Version: 4.8.3761.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll
Microsoft.Extensions.Logging.Abstractions
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.18136
CodeBase: file:///C:/Users/Beweb/AppData/Local/KeePass/PluginCache/NiA4Q4xJAc1GZ9OEEELw/Microsoft.Extensions.Logging.Abstractions.DLL
Microsoft.Extensions.Options
Assembly Version: 2.1.0.0
Win32 Version: 2.1.0.18136
CodeBase: file:///C:/Users/Beweb/AppData/Local/KeePass/PluginCache/NiA4Q4xJAc1GZ9OEEELw/Microsoft.Extensions.Options.DLL
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Actually, I managed to solve it! Just needed 'run as administrator' when running KeePass