Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v2.0.0Beta] Issues and interim builds #252

Closed
AndersKlinting opened this issue Feb 12, 2021 · 52 comments
Closed

[v2.0.0Beta] Issues and interim builds #252

AndersKlinting opened this issue Feb 12, 2021 · 52 comments

Comments

@AndersKlinting
Copy link

Trying to connect to recent dropbox fil:
image

Trying to add a DropBox connection throws an exception

image

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(Int32 minPort, Int32 maxPort)
at KeeAnywhere.StorageProviders.Dropbox.DropboxStorageConfigurator.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.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.7.3740.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

KeePass
Assembly Version: 2.47.0.21109
Win32 Version: 2.47.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/KeePass.exe

System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3640.0 built by: NET472REL1LAST_C
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.7.3690.0 built by: NET472REL1LAST_C
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.7.3190.0 built by: NET472REL1LAST_C
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.7.3630.0 built by: NET472REL1LAST_B
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.7.3760.0 built by: NET472REL1LAST_C
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.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

KeeAnywhere
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Users/ank/AppData/Local/KeePass/PluginCache/yGc0tcQbfoxooujoUC0L/KeeAnywhere.dll

System.Net.Http.Primitives
Assembly Version: 4.2.29.0
Win32 Version: 4.2.29.0
CodeBase: file:///C:/Users/ank/AppData/Local/KeePass/PluginCache/yGc0tcQbfoxooujoUC0L/System.Net.Http.Primitives.DLL

Newtonsoft.Json
Assembly Version: 12.0.0.0
Win32 Version: 12.0.3.23909
CodeBase: file:///C:/Users/ank/AppData/Local/KeePass/PluginCache/yGc0tcQbfoxooujoUC0L/Newtonsoft.Json.DLL

Microsoft.Graph.Core
Assembly Version: 1.19.0.0
Win32 Version: 1.19.0.0
CodeBase: file:///C:/Users/ank/AppData/Local/KeePass/PluginCache/yGc0tcQbfoxooujoUC0L/Microsoft.Graph.Core.DLL

System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
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.7.3620.0 built by: NET472REL1LAST_B
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.7.3710.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

System.Security
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3701.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll

KeePass.XmlSerializers
Assembly Version: 2.47.0.21109
Win32 Version: 2.47.0.21109
CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/KeePass.XmlSerializers.DLL

Dropbox.Api
Assembly Version: 6.0.1.0
Win32 Version: 6.0.1.0
CodeBase: file:///C:/Users/ank/AppData/Local/KeePass/PluginCache/yGc0tcQbfoxooujoUC0L/Dropbox.Api.DLL

netstandard
Assembly Version: 2.0.0.0
Win32 Version: 4.7.3190.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll

IdentityModel.OidcClient
Assembly Version: 3.0.0.0
Win32 Version: 3.1.2.0
CodeBase: file:///C:/Users/ank/AppData/Local/KeePass/PluginCache/yGc0tcQbfoxooujoUC0L/IdentityModel.OidcClient.DLL

System.Net.Http
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.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.

@Kyrodan
Copy link
Owner

Kyrodan commented Feb 12, 2021

Closing this here because let's disuss this here: #237

@Kyrodan Kyrodan closed this as completed Feb 12, 2021
@Kyrodan
Copy link
Owner

Kyrodan commented Feb 12, 2021

Sorry let's reopen it and call thi sthread "2.0.0 Beta Issues"

@Kyrodan Kyrodan reopened this Feb 12, 2021
@Kyrodan Kyrodan changed the title Dropbox sync still an issue in v2.0.0 [v2.0.0Beta] Issues and interim builds Feb 12, 2021
@Kyrodan
Copy link
Owner

Kyrodan commented Feb 12, 2021

New Build

Sumup of fixes so far:

  • Authentication in System Browser for Dropbox, Google Drive and OneDrive. Uses internal HTTP-Listener now (with dynamic ports)
  • Google Drive: Authorization using OpenID connect
  • Dropbox: Authorization using external browser (one local port in range 50001- 50005 has to be unused)
  • OneDrive: using Azure AD with Graph API and OpenID connect now => you have to remove re-add your existing OneDrive-Accounts
  • Improved Linux support: hopefully all providers without internal web browser are working (S3, GDrive, Dropbox, OneDrive)
  • Removed Amazon Drive

Known issues:

  • Now proxy support

This is beta software and may not work as expected
KeeAnywhere-2.0.0-unstable-20210212.plgx.zip

Please try this build and report back.

@Kyrodan
Copy link
Owner

Kyrodan commented Feb 12, 2021

@AndersKlinting

Trying to connect to recent dropbox fil:
image

Trying to add a DropBox connection throws an exception

image

Is it the same with Google Drive?
Can you post the output of netstat -a -n -p TCP?

@AndersKlinting
Copy link
Author

Thanks for looking into this.

I just tried the latest beta - with same sad results: "No unused port found!"

the output of "netstat -a -n -p TCP":
netstat.txt

@Kyrodan
Copy link
Owner

Kyrodan commented Feb 13, 2021

@AndersKlinting
Hmm, could you repeat the netstat command but without -p TCP? Only links with Port 50001 to 50005 matter.

@AndersKlinting
Copy link
Author

@Kyrodan the result of

netstat -a -n | findstr ":5000"

is empty

@vossim
Copy link

vossim commented Feb 15, 2021

Hi, tried the pre-built binary, but can't get it to work under linux, it complains about "A newer .NET Framework is required.". I couldn't find the source for these builds, so wasn't able to do a quick build with some updated values.

@Kyrodan
Copy link
Owner

Kyrodan commented Feb 15, 2021

@vossim Okay, the source is in master branch of this repository. It can quickly be build using the build.cmd (but without proper API-Keys). If you have any improvements, just let me know or create a PR.

I recently changed a small thing for PLGX creation, but am not sure whether this helps.
.Net 4.6.1 is a minimum requirement now - don't know how it looks like with mono :-/

Attached is a newly created full package containing PLGX and DLL-Distribution.
dist-20210215.zip

@AndersKlinting
Copy link
Author

Additional info... hopefully it can be of use.
I tried debugging with dnSpy and it appears that

  • the error happens in HttpListener.
    The underlying exception (errocode = 32) evolves into this exception text from Win32Exception.GetErrorMessage:

The process cannot access the file because it is being used by another process
at System.Net.HttpListener.AddAllPrefixes()
at System.Net.HttpListener.Start()"

is this a problem of the port - or is the information written to a file which is locked?

  • if I extend range of ports, it eventually succeeds finding a port 500060
    image

  • but it ends in a authorization issue with Dropbox
    image

@Kyrodan
Copy link
Owner

Kyrodan commented Feb 15, 2021

Hey @AndersKlinting

it is not a file that is locked. It's just the System that does not allow you to open a port on your localhost (or to be more precise: on 127.0.0.1). That's why I asked several times, whether this also happens also with Google Drive (because the range is much larger there). You just need to add a Google Drive account - it's not important, whether you really have a Google Drive account or not. If Google Drive will also fail, then we have another problem: why can ports 50001 - 500005 (or another range) not be opened at your computer?
So please try Google Drive and wait until success or timeout: it may probe several thousand ports.

If Goolge Drive succeeds:
Can you just try to use a port nearer at 50000 (+/- 20) within the mentioned code?
Or should I switch to another range? Or to e.g. 3 ranges in different "regions"?

I can extend the range (as written in another reply somewhere), but I have to register each single port at Dropbox API-Console. So I can do it for 20, 30 ports or something like that, but not for e.g. 5000 :-/

Dropbox has very limited "interpretation" of the OAuth2-Standard for Desktop Apps. They inofficially support OpenID Connect, but do not support the required nonce-field in Auth URL. So Dropbox can not use a standard-library for OAuth, so I have to do experiments here.

Regards,
Daniel

@AndersKlinting
Copy link
Author

Google Drive works -
image

And OneDrive also works for me.

But if I narrow the port interval to 50001-50005 for Google Drive (as it is for for DropBox), I get the "No modules found!" exception.

So maybe a larger range or alternative ranges could be helpful (to me at least :) )

@gringette
Copy link

same for me. Google Drive and OneDrive is working fine, but DropBox do not find any unused ports

@Kyrodan
Copy link
Owner

Kyrodan commented Feb 15, 2021

@gringette @AndersKlinting
okay, I will add some other ports shortly and let you test it.

@Kyrodan
Copy link
Owner

Kyrodan commented Feb 17, 2021

New Build

Fixes since last build:

  • Dropbox: Authorization using external browser
    • added more ranges for local ports: 49306-49315, 49996-50005, 63900-63910
  • HiDrive: start reimplemting account-authorization => WIP currently broken!

Known issues:

  • Now proxy support

This is beta software and may not work as expected
dist-20210217.zip
(Contains PLGX and DLL Builds - prefer using PLGX)

Please try this build and report back.
@gringette @AndersKlinting @JTK66

@gringette
Copy link

gringette commented Feb 17, 2021

I can confirm that this version now is working very well with Dropbox. I was able to create the account in the KeeAnywhere Settings and "save to cloud drive" was working, too.

Thank you so much for your work!
Gringette

@JTK66
Copy link

JTK66 commented Feb 17, 2021 via email

@Kyrodan
Copy link
Owner

Kyrodan commented Feb 18, 2021

@JTK66 if even Google Drive not works, then I think I can't do anything for you. It seems that something is preventing to let KeeAnywhere open a port. Maybe a firewall, another security tool or something like that - Windows Firewall does not block it by default.

@mark3206
Copy link

Hi, installed dist-20210217.zip yesterday, successfully tested it with Dropbox, but couldn't get a connection going to OneDrive. I suspect because I typed an incorrect password.
Anyway, today I tried to do a "Check" of the OneDrive entry created yesterday and it took me to the mslogin screen and I entered the password. I think the browser gave me a success message but the plugin did not. (unfortunatly I wasn't paying enough attention!) I then "Remove"d the OneDrive entry and and went through the "Add" option again and this time, success.
I suppose I could have repeatedly type the wrong password for the OneDrive account, but I wonder if its possible the new code is not updating a bad password correctly?

@Kyrodan
Copy link
Owner

Kyrodan commented Feb 18, 2021

@mark3206 Improving user handling is still on my list, yes. Maybe I can do something in this direction. Currently there is no good error handling.

@mark3206
Copy link

Thanks for the response.

@wanderleihuttel
Copy link

Hello guys.

I'm running KeeAnyWhere-1.6.0 with my password in Dropbox fine.
I've tried to test KeeAnyWhee-2.0.0-beta (20210219) and I can't connect with the same account.

Only works If I use 1.6.0 version.

The error that I've receiveid is below:

[Window Title]
KeePass

[Content]
dropbox:///MyAccount/KeepPassSafe/KeepPassSafe.kdbx (mypersonaladdress@gmail.com)

Failed to load specified file!

Exception during a request from the WebClient.

[OK] [Choose different server credentials]

I've checked if my >NET Framework was up to date and is ok. I followed this post from microsoft, and returned true.
https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

(Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Release -ge 394802

I wanted to try Wasabi cause @Kyrodan asked to me for testing.

@Kyrodan
Copy link
Owner

Kyrodan commented Mar 11, 2021

@wanderleihuttel Please delete your Dropbox Account in KeeAnywhere Settings and re-create it from scratch with v2.0.0-beta

@wanderleihuttel
Copy link

Hello @Kyrodan! I've re-create the settings as you mentioned above and it worked even S3 Wasabi account.

@JTK66
Copy link

JTK66 commented Mar 12, 2021

Hi, I'm currently using release 20210219 and to my surprise now I do not get anymore the "no unused ports found" error, but I'm back to the previous "unsupported / insecure browser" problem. I'm using my onedrive account but cannot add google drive or dropbox. My netframeworks are updated and I didn't change a thing in my pc, nevertheless the situation has changed. Do you have any suggestions?

@Kyrodan
Copy link
Owner

Kyrodan commented Mar 13, 2021

@JTK66

Hi, I'm currently using release 20210219 and to my surprise now I do not get anymore the "no unused ports found" error, but I'm back to the previous "unsupported / insecure browser" problem. I'm using my onedrive account but cannot add google drive or dropbox. My netframeworks are updated and I didn't change a thing in my pc, nevertheless the situation has changed. Do you have any suggestions?

Hmm, are you sure you were using the 2.0-unstable? The error you mention is not possible with that release, because it uses your system browser.

@JTK66
Copy link

JTK66 commented Mar 13, 2021 via email

@JTK66
Copy link

JTK66 commented Mar 13, 2021 via email

@Rubydesic
Copy link

Will you upload the source code for the v2.0 beta to master or a new branch?

@Kyrodan
Copy link
Owner

Kyrodan commented Mar 17, 2021 via email

@Coasie
Copy link

Coasie commented Mar 19, 2021

used dist-20210219.zip last night on 2 different Win10 PCs with KeePass 2.47 to regain dropbox access, worked fine. Thanks for the beta and keeping it updated.

@TitoRifle
Copy link

**
image
I get this error I am on the 2021029 version
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
Dropbox.Api.OAuth2Exception: invalid_request
at Dropbox.Api.DropboxOAuth2Helper.d__7.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.Dropbox.DropboxStorageConfigurator.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.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.4250.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

KeePass
Assembly Version: 2.47.0.21109
Win32 Version: 2.47.0.0
CodeBase: file:///C:/Program%20Files/KeePass%20Password%20Safe%202/KeePass.exe

System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C
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.4250.0 built by: NET48REL1LAST_C
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.4084.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.4190.0 built by: NET48REL1LAST_B
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.4220.0 built by: NET48REL1LAST_C
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.4084.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

KeeAnywhere
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/KeeAnywhere.dll

System.Net.Http.Primitives
Assembly Version: 4.2.29.0
Win32 Version: 4.2.29.0
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/System.Net.Http.Primitives.DLL

Newtonsoft.Json
Assembly Version: 12.0.0.0
Win32 Version: 12.0.3.23909
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/Newtonsoft.Json.DLL

Microsoft.Graph.Core
Assembly Version: 1.24.0.0
Win32 Version: 1.24.0.0
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/Microsoft.Graph.Core.DLL

IdentityModel.OidcClient
Assembly Version: 3.0.0.0
Win32 Version: 3.1.2.0
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/IdentityModel.OidcClient.DLL

Box.V2
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/Box.V2.DLL

Google.Apis.Core
Assembly Version: 1.49.0.0
Win32 Version: 1.49.0.0
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/Google.Apis.Core.DLL

CredentialManagement
Assembly Version: 1.0.2.0
Win32 Version: 1.0.2
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/CredentialManagement.DLL

IdentityModel
Assembly Version: 4.1.0.0
Win32 Version: 4.1.0.0
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/IdentityModel.DLL

AWSSDK.Core
Assembly Version: 3.3.0.0
Win32 Version: 3.5.2.5
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/AWSSDK.Core.DLL

AWSSDK.S3
Assembly Version: 3.3.0.0
Win32 Version: 3.5.8.0
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/AWSSDK.S3.DLL

Microsoft.Azure.Storage.Common
Assembly Version: 11.2.2.0
Win32 Version: 11.2.2.0
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/Microsoft.Azure.Storage.Common.DLL

Microsoft.Azure.Storage.Blob
Assembly Version: 11.2.2.0
Win32 Version: 11.2.2
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/Microsoft.Azure.Storage.Blob.DLL

Microsoft.Azure.Storage.File
Assembly Version: 11.2.2.0
Win32 Version: 11.2.2
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/Microsoft.Azure.Storage.File.DLL

System.Net.Http
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.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

Dropbox.Api
Assembly Version: 6.0.1.0
Win32 Version: 6.0.1.0
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/Dropbox.Api.DLL

netstandard
Assembly Version: 2.0.0.0
Win32 Version: 4.8.4084.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll

Google.Apis.Auth
Assembly Version: 1.49.0.0
Win32 Version: 1.49.0.0
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/Google.Apis.Auth.DLL

Google.Apis.Drive.v3
Assembly Version: 1.49.0.2201
Win32 Version: 1.49.0.2201
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/Google.Apis.Drive.v3.DLL

Google.Apis
Assembly Version: 1.49.0.0
Win32 Version: 1.49.0.0
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/Google.Apis.DLL

Kyrodan.HiDrive
Assembly Version: 0.2.0.0
Win32 Version: 0.2.0.43
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/Kyrodan.HiDrive.DLL

Microsoft.Graph
Assembly Version: 3.24.0.0
Win32 Version: 3.24.0.0
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/MgWt3Hv2KaRGnjs0fEGP/Microsoft.Graph.DLL

System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

System.Security
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4261.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll

System.Runtime
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll

System.Threading.Tasks
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Threading.Tasks/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Threading.Tasks.dll

System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.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.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4261.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

KeePassSync
Assembly Version: 6.0.10.1
Win32 Version: 6.0.10.1
CodeBase: file:///C:/Users/Omar/AppData/Local/KeePass/PluginCache/j3xTm6oF52BZ6ob34siP/KeePassSync.dll

System.Web.Services
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.4084.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

KeePass.XmlSerializers
Assembly Version: 2.47.0.21109
Win32 Version: 2.47.0.21109
CodeBase: file:///C:/Program%20Files/KeePass%20Password%20Safe%202/KeePass.XmlSerializers.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.

**

@TheOpalium
Copy link
Contributor

Hello! Long time user of KeeAnywhere here. Love your work, Kyrodan!

I'm running into a strange issue when using the new S3-compatible feature. In my case I'm connecting it to Google Cloud Storage's S3-compatible endpoint (not Google Drive) since there is no native option for that.
Connecting the account, opening the database and using it all works fine. Attempting to save it, however, brings up the following cryptic errors:

KeePass_EkjT2jCkfC

I have confirmed that this is not a permissions issue - doing the same operation (overwriting the remote file) with a different program (in this case I used Cyberduck) works perfectly fine.

Any idea what this might be? And do let me know if you need any more information.
Many thanks!

P.S. is native support for GCS in KeeAnywhere planned/possible? There's support for AWS and Azure, but GCP was left out... 😢

@hstracker90
Copy link

I was able to restore access to my keepass file on Google Drive with the 20210217 beta version.
I cannot find the 20210219 beta, is it linked anywhere? But never mind, now that it works again I can wait for the release of v2.0.
Thank you very much for providing this great software and this fix.

@ArtyoZ
Copy link

ArtyoZ commented Apr 9, 2021

I was able to restore access to my keepass file on Google Drive with the 20210217 beta version.
I cannot find the 20210219 beta, is it linked anywhere? But never mind, now that it works again I can wait for the release of v2.0.
Thank you very much for providing this great software and this fix.

Do as shown below
keeanywhere

@gab
Copy link

gab commented Apr 30, 2021

I tried dist-20210219.zip - when trying to access a Dropbox or Google Drive account it crashes Keepass with the "no unused port" message others have reported.
Windows 7 x64 Ultimate, firewall is Eset Internet Security and I tested with it on and off. Other software I use can freely start local web servers that I can access through my browser, and my firewall never caused a problem with that.

However, running Keepass as admin allows me to bypass the "no unused port" problem and authenticate successfully.

@vovodroid
Copy link

I have the same issue, but dist-20210219 works for me without run as admin, thanks.

@Kyrodan
Copy link
Owner

Kyrodan commented May 18, 2021

Releases v2.0.0 today.

@Kyrodan Kyrodan closed this as completed May 18, 2021
@Eugenii10
Copy link

Hello!
Plugin of version 2.0.3 still requires KeePass software to be run as administrator to add GoogleDrive account on Windows 7 (version 6.1 build 7601 SP1). Otherwise "no unused port" error is shown, and no browser window is opened.
I think that workaround should be described on the main page or on the installation instructions/issues pages.

Btw, thanks for the plugin!

@JNavas2
Copy link

JNavas2 commented Jul 19, 2021

I confirm that 2.0.3 fails authentication (on Windows 8.1) unless KeePass is Run as Administrator.
This is a serious issue that urgently needs to be fixed. Otherwise I will have to stop recommending it.
Thank you.

@m-alice
Copy link

m-alice commented Aug 14, 2021

Same here. Successfully added onedrive sync.
Windows 8.1 Professional 6.3.9600
Keepass 2.48.1 x64 (chocolate) (administration rights)
KeeAnywhere 2.0.3 (chocolate)
kaw_exception.txt sorry, for some russian language

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests