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

ldap_tls_test fails #30

Closed
sirewix opened this issue Jul 4, 2024 · 1 comment · Fixed by #31
Closed

ldap_tls_test fails #30

sirewix opened this issue Jul 4, 2024 · 1 comment · Fixed by #31
Assignees
Labels
bug Something isn't working

Comments

@sirewix
Copy link
Contributor

sirewix commented Jul 4, 2024

On current main 9eb4d397f9bf3a60ffc6d34675ca1fd252acb6ab, running

cargo make start-docker-setup
cargo test -- --ignored ldap_tls_test

results in

---- ldap_tls_test stdout ----
Error: Io { source: Custom { kind: UnexpectedEof, error: "tls handshake eof" } }

openldap logs:

6686c1bd.167d62ac 0x702481a006c0 conn=1000 fd=14 ACCEPT from IP=172.19.0.1:55250 (IP=0.0.0.0:1336)
6686c1bd.167e1c45 0x7024824006c0 daemon: activity on 1 descriptor
6686c1bd.167e3067 0x7024824006c0 daemon: activity on:6686c1bd.167e364a 0x7024824006c0
6686c1bd.167e455f 0x7024824006c0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
6686c1bd.167e4b21 0x7024824006c0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
6686c1bd.167e4fe7 0x7024824006c0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
6686c1bd.167e5497 0x7024824006c0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
6686c1bd.167e58f2 0x7024824006c0 daemon: epoll: listen=10 active_threads=0 tvp=NULL
6686c1bd.172cc284 0x7024824006c0 daemon: activity on 1 descriptor
6686c1bd.172cfdb0 0x7024824006c0 daemon: activity on:6686c1bd.172d0980 0x7024824006c0  14r6686c1bd.172d0ded 0x7024824006c0
6686c1bd.172d150d 0x7024824006c0 daemon: read active on 14
6686c1bd.172d5dab 0x7024824006c0 daemon: epoll: listen=6 active_threads=0 tvp=NULL
6686c1bd.172d6456 0x7024824006c0 daemon: epoll: listen=7 active_threads=0 tvp=NULL
6686c1bd.172d68ed 0x7024824006c0 daemon: epoll: listen=8 active_threads=0 tvp=NULL
6686c1bd.172d6d3d 0x7024824006c0 daemon: epoll: listen=9 active_threads=0 tvp=NULL
6686c1bd.172d720d 0x7024824006c0 daemon: epoll: listen=10 active_threads=0 tvp=NULL
6686c1bd.172d7f56 0x702481a006c0 connection_get(14)
6686c1bd.172d93fc 0x702481a006c0 connection_get(14): got connid=1000
6686c1bd.172d9c3c 0x702481a006c0 connection_read(14): checking for input on id=1000
6686c1bd.172db3b2 0x702481a006c0 TLS: init_def_ctx: .
6686c1bd.172dbbef 0x702481a006c0 connection_read(14): TLS accept failure error=-1 id=1000, closing
6686c1bd.172dcb97 0x702481a006c0 connection_closing: readying conn=1000 sd=14 for close
6686c1bd.172de5ee 0x702481a006c0 connection_close: conn=1000 sd=14
6686c1bd.172e24c4 0x702481a006c0 daemon: removing 14
6686c1bd.172ee2b3 0x7024824006c0 daemon: activity on 1 descriptor
6686c1bd.172efa02 0x7024824006c0 daemon: activity on:6686c1bd.172f011f 0x7024824006c0
6686c1bd.172f5cf6 0x702481a006c0 conn=1000 fd=14 closed (TLS negotiation failure)
@sirewix sirewix added the bug Something isn't working label Jul 4, 2024
@skomski
Copy link
Contributor

skomski commented Jul 11, 2024

I could not reproduce it locally but maybe a lingering certificate in git was a problem. I added #31 which adds integration tests to CI and they run fine so it should be fixed,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants