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

Windows Version x64 errno 10057 when using ssl #1478

Closed
totaam opened this issue Mar 31, 2017 · 11 comments
Closed

Windows Version x64 errno 10057 when using ssl #1478

totaam opened this issue Mar 31, 2017 · 11 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Mar 31, 2017

Issue migrated from trac ticket # 1478

component: client | priority: blocker | resolution: fixed

2017-03-31 16:38:06: Hans created the issue


Hi,

when using http://xpra.org/beta/windows/Xpra-x86_64_Setup_2.1-[r15472](../commit/4e29efea45a86aff3af6994bcf00db0675ec3115).exe in ssl mode to attach to a xpra server, i will get the

Errorno 10057: A request to send or receive data was disallowed because the socket is not connected and (when sending on datagram socket using a sendto call) no address was supplied

Server: ubuntu xenial, 64bit, nvidia graphic
Client: Win7 64bit sp1, i guess latest patch level

Greets

@totaam
Copy link
Collaborator Author

totaam commented Mar 31, 2017

2017-03-31 16:47:42: Hans commented


tcp works fine, ssh i didnt test

@totaam
Copy link
Collaborator Author

totaam commented Mar 31, 2017

2017-03-31 16:51:03: antoine changed priority from major to blocker

@totaam
Copy link
Collaborator Author

totaam commented Mar 31, 2017

2017-03-31 16:51:03: antoine changed status from new to assigned

@totaam
Copy link
Collaborator Author

totaam commented Mar 31, 2017

2017-03-31 16:51:03: antoine changed title from Windows Version x64 errornr 10057 when using ssl to Windows Version x64 errno 10057 when using ssl

@totaam
Copy link
Collaborator Author

totaam commented Mar 31, 2017

2017-03-31 16:51:03: antoine commented


This only seems to affect the 2.x builds made with MSYS2 (#678).
Looks like this python bug: SSL handshake fails after TCP connection in getpeername() but unfortunately the fixes are for Python 3.x only, and they aren't linked from the ticket.
Also, the workaround given (calling getpeername) doesn't seem to work here.

@totaam
Copy link
Collaborator Author

totaam commented Mar 31, 2017

2017-03-31 18:17:14: antoine changed status from assigned to new

@totaam
Copy link
Collaborator Author

totaam commented Mar 31, 2017

2017-03-31 18:17:14: antoine changed owner from antoine to B

@totaam
Copy link
Collaborator Author

totaam commented Mar 31, 2017

2017-03-31 18:17:14: antoine commented


Fix for trunk in r15473, 15474 for older branches.

Uploaded 32-bit and 64-bit beta (EXE) builds: [http://xpra.org/beta/windows/]

@b: please close if this works for you.

@totaam
Copy link
Collaborator Author

totaam commented Apr 2, 2017

2017-04-02 11:06:58: Hans changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Apr 2, 2017

2017-04-02 11:06:58: Hans set resolution to fixed

@totaam
Copy link
Collaborator Author

totaam commented Apr 2, 2017

2017-04-02 11:06:58: Hans commented


works for me, great, thanks!

@totaam totaam closed this as completed Apr 2, 2017
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

1 participant