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

Authentication fails when deployed to Windows machine without Go installed #66

Closed
Hajus opened this issue Nov 9, 2022 · 4 comments
Closed

Comments

@Hajus
Copy link

Hajus commented Nov 9, 2022

I wrote an app on Windows using basic authentication, which appears as Go-http-client/2.0 on the server, if run from my developer machine with Go installed, and works well.

On a different machine without Go installed (or on my machine after uninstalling Go) the same client appears as Microsoft-WebDAV-MiniRedir/10.0.16299 on the server, and authentication fails.

I read quite a bit about dynamic linking if using the net package, but right now I am stuck.

@chripo
Copy link
Member

chripo commented Nov 9, 2022

can you share some build information?
do you cross compile?

@Hajus
Copy link
Author

Hajus commented Nov 9, 2022

I just run go build . with a unmodified installation of Go.
I develop and deploy on Windows 10, no cross-compilation.

@chripo
Copy link
Member

chripo commented Feb 1, 2023

Is this still an issues?

@Hajus
Copy link
Author

Hajus commented Feb 1, 2023

I haven't solved the problem, but it's not an issue for me anymore. I run the WebDAV connection on OS level and use simple file copy for my tool.

@chripo chripo closed this as completed Jun 7, 2023
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

2 participants