Package: libsoup-3.0-0 Version: 3.2.2-2 Severity: normal X-Debbugs-Cc: s...@robots.org.uk
With the following python script I get: $ python3 bing.py Traceback (most recent call last): File "/tmp/bing.py", line 7, in <module> ses.send_and_read(mes) gi.repository.GLib.GError: g-io-error-quark: Error receiving data: Connection reset by peer (44) Here's the script: import gi gi.require_version("Soup", "3.0") from gi.repository import Soup mes = Soup.Message.new_from_encoded_form( "GET", "https://www.bing.com/HPImageArchive.aspx", Soup.form_encode_hash( {"format": "js", "idx": "0", "n": "1", "mbl": "1", "mkt": "auto"} ), ) ses = Soup.Session() ses.send_and_read(mes) Soup 2.4 is able to access the same URL just fine, there's a gjs script to demonstrate at <https://github.com/neffo/bing-wallpaper-gnome-extension/issues/198#issuecomment-1460023197>. -- System Information: Debian Release: bookworm/sid APT prefers stable-updates APT policy: (570, 'stable-updates'), (570, 'stable-security'), (570, 'stable-debug'), (570, 'stable'), (550, 'testing-debug'), (550, 'testing'), (530, 'unstable-debug'), (530, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') merged-usr: no Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-3-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_USER Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: SELinux: enabled - Mode: Permissive - Policy name: default Versions of packages libsoup-3.0-0 depends on: ii glib-networking 2.66.0-2 ii libbrotli1 1.0.9-2+b6 ii libc6 2.36-8 ii libglib2.0-0 2.74.5-1 ii libgssapi-krb5-2 1.20.1-1 ii libnghttp2-14 1.52.0-1 ii libpsl5 0.21.0-1.2 ii libsoup-3.0-common 3.2.2-2 ii libsqlite3-0 3.40.1-1 ii zlib1g 1:1.2.11.dfsg-2+deb11u2 libsoup-3.0-0 recommends no packages. libsoup-3.0-0 suggests no packages. -- no debconf information