- **status**: assigned --> fixed
- **Comment**:

commit fb46a40444ef2cb6395278353c265169f4206735 (HEAD -> develop, 
origin/develop, ticket-3391)
Author: Nguyen Tran Trung Hau <[email protected]>
Date:   Tue Jul 28 07:31:36 2026 +0000

    osaf: tcp_server.py does not work from python 3.12 and later [#3391]

    Python 3.12 removed ssl.wrap_socket(), causing the TCP arbitrator
    to fail during startup.

    Use SSLContext.wrap_socket() for TLS setup.




---

**[tickets:#3391] osaf: tcp\_server.py does not work from python 3.12 and 
later**

**Status:** fixed
**Milestone:** 5.27.01
**Created:** Tue Nov 18, 2025 02:59 AM UTC by Thang Duc Nguyen
**Last Updated:** Thu Jul 16, 2026 07:18 AM UTC
**Owner:** Nguyen Tran Trung Hau
**Attachments:**

- 
[tcp\_server.py.patch](https://sourceforge.net/p/opensaf/tickets/3391/attachment/tcp_server.py.patch)
 (1.9 kB; application/octet-stream)


In modern Python (3.12 and later), the old ssl.wrap_socket() function was 
deprecated and removed.
`AttributeError: module 'ssl' has no attribute 'wrap_socket'`
Should adapt it to work on both old and new python.


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to