A number of users have reported issues with the Windows Subsystem for Linux (WSL) server in versions of Ubuntu 18.04 and Debian 9.0, which may be further complicated by upgrades to these distributions. The issue is not due to Windows itself but to the Ubuntu and Debian packages. Therefore, a clean installation of Ubuntu 18.04 or Debian 9.0 may be attempted as a workaround. The issue may also be experienced by using `wsl -v` to verify if the issue is present on the operating system. The issue does not appear to be present in Ubuntu 17.10 or Debian 8.0. A work around is to use a different WSL server, such as `wine`, `nvidia-tesla`, or `nvidia-docker`. The issue has been addressed in Twisted 22.4.0rc1.

A regression in the Python 3.6+ version of the Twisted Web HTTP 1.1 server has caused the server to crash upon encountering certain malformed HTTP requests. This regression may affect users of Twisted Web at the level of the Twisted Web HTTP 1.1 server. This issue has been fixed and Twisted Web HTTP 1.1 server now correctly handles malformed requests.

The Python 3.6+ Twisted Web HTTP 1.1 server has been upgraded to use the new deprecation system. This adds a deprecationWarning() method to the twisted.web.server.HTTPServer class. If you have

Windows Subsystem for Linux

The Windows Subsystem for Linux (WSL) is a subsystem of Windows 10 that allows you to run a Unix-like command line inside the Microsoft Windows environment.

WSL provides support for running Bash, with Ubuntu as the default shell, and adding additional shells such as Zsh. WSL also provides an interface to the Windows file system that can be used to run other Unix-like environments using tools such as Cygwin.

Known issues

Known issues:
**Miscellaneous**
- On first use, you may need to 'sudo apt-get install python3.6'
- If you are using Python 3.6+, you may see the following warning: "DeprecationWarning: The 'deprecated' module is deprecated." This warning can be ignored.

Changes in Twisted 22.4.0 Release ##

The Twisted 22.4.0 release contains a number of changes that may affect existing systems, including:
- The Python 3.6+ version of the Twisted Web HTTP 1.1 server has been upgraded to use the new deprecation system which adds a deprecationWarning() method to the twisted.web.server.HTTPServer class.
- The ability to set timeout and retry times on HTTP request is now an option for the Twisted Web HTTP 1.1 server.
- Several security vulnerabilities have been addressed throughout the Twisted core, libraries and applications

Dependency Updates

Twisted Web has been upgraded to the Twisted 22.4.0 release series, which includes a number of small bug fixes and security updates.

Changes in dependencies:
The Python 3.6+ (3.7) version of the Twisted Web HTTP 1.1 server has been updated to use the new deprecation system.

Timeline

Published on: 04/04/2022 18:15:00 UTC
Last modified on: 07/25/2022 18:22:00 UTC

References