WSL2 networking no IP-address, fresh Win10 20H2 install

Environment
Windows build number: 10.0.19042.746
Your Distribution version: Debian 10
Whether the issue is on WSL 2 and/or WSL 1: Linux version 5.4.72-microsoft-standard-WSL2 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Oct 28 23:40:43 UTC 2020

Steps to reproduce
Freshly installed Windows 10 version 20H2 with all Windows Updates applied.
Followed "Manual Installation Steps" https://docs.microsoft.com/en-us/windows/wsl/install-win10 for WSL2.
Had already installed the relevant features amongst others using the "Turn Windows features on or off" GUI, but ran the relevant commands listed in the instructions anyway.
Installed and ran Debian (since Devuan isn't in Microsoft Store) before the switch to WSL2 as default, to ensure the initial distro-configuration would not break, as has happened on previous installs. Also ran "/usr/bin/apt update && /usr/bin/apt dist-upgrade" successfully at that time (thus, there was functional networking).
Then set WSL2 as default, converted Debian to be WSL2 and rebooted an extra time to ensure everything was fully restarted as WSL2.
Upon reentering the now WSL2-mode Debian, no IP-address is assigned to the networking device.
$ /bin/ip a s eth0
4: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:15:5d:0c:68:47 brd ff:ff:ff:ff:ff:ff

Had at that point not modified any system configuration in the Debian installation.
Tried applying this https://github.com/microsoft/WSL/issues/6433#issuecomment-762770527 suggestion, but that did not change the result, still no IP-address.
I have now had this error on at least 7 fresh reinstalls of Windows 10 version 2004 or newer and the only way to get networking functional in WSL2 seems to be to on every reboot use the "Virtual Switch Manager" in "Hyper-V Manager" to set the auto-created Virtual Switch "WSL" to "external network" pointing to the actual network interface and then on every fresh start of WSL2 manually request a DHCP-assigned address by "/sbin/dhclient -4 -1 eth0" and then request it manually again every time the lease times out.
This is obviously not... as expected, but quite inconvenient in particular since WSL2 was the one and only feature of Windows 10 version 2004 I was looking forward to, but this level of disfunctionality makes it practically unusable.
Converting a distro back to WSL1 makes networking functional again.
No third-party firewall/antivirus installed, yet.
No VPN installed, yet. Installing VPNs on previous installations of Windows 10 does not seem to have affected this issue at all.
The physical networking device is the motherboard internal only one (wired), with no additional networking devices ever connected to the computer since the fresh install, although attaching a USB-connected 802.11 card to previous installs of Windows did not seem to affect the issue, apart from having to select a different device during the Virtual Switch workaround described previously.
No third party virtual machine software installed, yet. Installing VMware and/or VirtualBox on previous installs of Windows 10 does not seem to have affected the issue then either.

Expected behavior
Functional networking in WSL2.

Actual behavior
No networking in WSL2 unless repeated workaround steps are performed.

Thanks for reporting this @b9AcE.
Can you please follow the (Networking issues)[https://github.com/Microsoft/WSL/blob/master/CONTRIBUTING.md#networking-issues] instructions and share the logs on this issue ?
Please also share the output of dmesg

Thanks for reporting this @b9AcE.
Can you please follow the (Networking issues)[https://github.com/Microsoft/WSL/blob/master/CONTRIBUTING.md#networking-issues] instructions and share the logs on this issue ?
Please also share the output of dmesg

Certainly, @OneBlue!

More help is available by typing NET HELPMSG 3521.

+ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
+ uname -a
Linux Anahita 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 GNU/Linux
+ ip a
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 62:d3:cc:c3:f4:35 brd ff:ff:ff:ff:ff:ff
3: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 96:fc:e6:1e:a1:ff brd ff:ff:ff:ff:ff:ff
4: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:15:5d:d4:36:76 brd ff:ff:ff:ff:ff:ff
5: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/sit <IP_ADDRESS> brd <IP_ADDRESS>
+ ip route show
++ ip route show
++ awk '/default/ { print $3 }'
+ gateway=
+ '[' 0 '!=' 0 ']'
+ ping -c 4 ''
ping: socket: Operation not permitted
+ ping -c 4 <IP_ADDRESS>
ping: socket: Operation not permitted
+ traceroute <IP_ADDRESS>
bash: line 24: traceroute: command not found
+ cat /etc/resolv.conf
# This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
# [network]
# generateResolvConf = false
nameserver <IP_ADDRESS>
+ curl -m 5 -v https://microsoft.com
bash: line 30: curl: command not found

b9ace@Anahita:~$ dmesg
[    0.000000] Linux version 5.4.72-microsoft-standard-WSL2 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Oct 28 23:40:43 UTC 2020
[    0.000000] Command line: initrd=\initrd.img panic=-1 pty.legacy_count=0 nr_cpus=4
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000e0fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000001fffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x0000000000200000-0x00000000f7ffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000003387fffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] Hypervisor detected: Microsoft Hyper-V
[    0.000000] Hyper-V: features 0x2e7f, privilege high: 0x3b8030, hints 0x60c2c, misc 0x20bed7b2
[    0.000000] Hyper-V Host Build:19041-10.0-0-0.746
[    0.000000] Hyper-V: LAPIC Timer Frequency: 0x1e8480
[    0.000000] tsc: Marking TSC unstable due to running on Hyper-V
[    0.000000] Hyper-V: Using hypercall for remote TLB flush
[    0.000000] clocksource: hyperv_clocksource_tsc_page: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns:<PHONE_NUMBER>20 ns
[    0.000001] tsc: Detected 3407.998 MHz processor
[    0.000012] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000013] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000015] last_pfn = 0x338800 max_arch_pfn = 0x400000000
[    0.000030] MTRR default type: uncachable
[    0.000030] MTRR fixed ranges disabled:
[    0.000031]   00000-FFFFF uncachable
[    0.000031] MTRR variable ranges disabled:
[    0.000032]   0 disabled
[    0.000032]   1 disabled
[    0.000032]   2 disabled
[    0.000032]   3 disabled
[    0.000033]   4 disabled
[    0.000033]   5 disabled
[    0.000033]   6 disabled
[    0.000033]   7 disabled
[    0.000033] Disabled
[    0.000034] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[    0.000038] CPU MTRRs all blank - virtualized system.
[    0.000040] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC
[    0.000041] last_pfn = 0xf8000 max_arch_pfn = 0x400000000
[    0.000052] Using GB pages for direct mapping
[    0.002696] RAMDISK: [mem 0x02e35000-0x02e44fff]
[    0.002701] ACPI: Early table checksum verification disabled
[    0.002719] ACPI: RSDP 0x00000000000E0000 000024 (v02 VRTUAL)
[    0.002722] ACPI: XSDT 0x0000000000100000 000044 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.002726] ACPI: FACP 0x0000000000101000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.002731] ACPI: DSDT 0x00000000001011B8 01E184 (v02 MSFTVM DSDT01   00000001 MSFT 05000000)
[    0.002733] ACPI: FACS 0x0000000000101114 000040
[    0.002735] ACPI: OEM0 0x0000000000101154 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.002737] ACPI: SRAT 0x000000000011F33C 000250 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.002740] ACPI: APIC 0x000000000011F58C 000068 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.002746] ACPI: Local APIC address 0xfee00000
[    0.003259] Zone ranges:
[    0.003260]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.003261]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.003262]   Normal   [mem 0x0000000100000000-0x00000003387fffff]
[    0.003262] Movable zone start for each node
[    0.003263] Early memory node ranges
[    0.003263]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.003264]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.003265]   node   0: [mem 0x0000000100000000-0x00000003387fffff]
[    0.004141] Zeroed struct page in unavailable ranges: 31073 pages
[    0.004143] Initmem setup node 0 [mem 0x0000000000001000-0x00000003387fffff]
[    0.004145] On node 0 totalpages: 3344031
[    0.004146]   DMA zone: 59 pages used for memmap
[    0.004146]   DMA zone: 22 pages reserved
[    0.004146]   DMA zone: 3743 pages, LIFO batch:0
[    0.004185]   DMA32 zone: 16320 pages used for memmap
[    0.004186]   DMA32 zone: 1011712 pages, LIFO batch:63
[    0.028419]   Normal zone: 36384 pages used for memmap
[    0.028421]   Normal zone: 2328576 pages, LIFO batch:63
[    0.029090] ACPI: Local APIC address 0xfee00000
[    0.029099] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[    0.032512] IOAPIC[0]: apic_id 4, version 17, address 0xfec00000, GSI 0-23
[    0.032519] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.032521] ACPI: IRQ9 used by override.
[    0.032523] Using ACPI (MADT) for SMP configuration information
[    0.032528] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.032537] [mem 0xf8000000-0xffffffff] available for PCI devices
[    0.032538] Booting paravirtualized kernel on Hyper-V
[    0.032540] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>2750000 ns
[    0.143931] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:4 nr_node_ids:1
[    0.144393] percpu: Embedded 50 pages/cpu s167192 r8192 d29416 u524288
[    0.144398] pcpu-alloc: s167192 r8192 d29416 u524288 alloc=1*2097152
[    0.144399] pcpu-alloc: [0] 0 1 2 3
[    0.144410] Built 1 zonelists, mobility grouping on.  Total pages: 3291246
[    0.144411] Kernel command line: initrd=\initrd.img panic=-1 pty.legacy_count=0 nr_cpus=4
[    0.147956] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[    0.149500] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.149568] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.174054] Memory: 4096436K/13376124K available (14342K kernel code, 1617K rwdata, 3124K rodata, 1552K init, 2372K bss, 333216K reserved, 0K cma-reserved)
[    0.174591] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.174597] Kernel/User page tables isolation: enabled
[    0.174607] ftrace: allocating 43998 entries in 172 pages
[    0.188046] rcu: Hierarchical RCU implementation.
[    0.188048] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.188049]  All grace periods are expedited (rcu_expedited).
[    0.188049] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.188050] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.190129] Using NULL legacy PIC
[    0.190130] NR_IRQS: 16640, nr_irqs: 456, preallocated irqs: 0
[    0.190527] random: crng done (trusting CPU's manufacturer)
[    0.190546] Console: colour dummy device 80x25
[    0.190548] printk: console [tty0] enabled
[    0.190553] ACPI: Core revision 20190816
[    0.190717] Failed to register legacy timer interrupt
[    0.190717] APIC: Switch to symmetric I/O mode setup
[    0.190743] Hyper-V: Using IPI hypercalls
[    0.190744] Hyper-V: Using enlightened APIC (xapic mode)
[    0.190813] Calibrating delay loop (skipped), value calculated using timer frequency.. 6815.99 BogoMIPS (lpj=34079980)
[    0.190815] pid_max: default: 32768 minimum: 301
[    0.190823] LSM: Security Framework initializing
[    0.190847] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.190865] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.191457] Last level iTLB entries: 4KB 128, 2MB 8, 4MB 8
[    0.191458] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
[    0.191460] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.191461] Spectre V2 : Mitigation: Full generic retpoline
[    0.191462] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.191462] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.191463] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.191463] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[    0.191466] TAA: Mitigation: Clear CPU buffers
[    0.191467] SRBDS: Unknown: Dependent on hypervisor status
[    0.191467] MDS: Mitigation: Clear CPU buffers
[    0.191686] Freeing SMP alternatives memory: 44K
[    0.191753] smpboot: CPU0: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz (family: 0x6, model: 0x9e, stepping: 0x9)
[    0.191813] Performance Events: unsupported p6 CPU model 158 no PMU driver, software events only.
[    0.191832] rcu: Hierarchical SRCU implementation.
[    0.191879] smp: Bringing up secondary CPUs ...
[    0.191994] x86: Booting SMP configuration:
[    0.191995] .... node  #0, CPUs:      #1 #2 #3
[    0.192435] smp: Brought up 1 node, 4 CPUs
[    0.192435] smpboot: Max logical packages: 1
[    0.192435] smpboot: Total of 4 processors activated (27263.98 BogoMIPS)
[    0.234421] node 0 initialised, 2236618 pages in 40ms
[    0.234487] devtmpfs: initialized
[    0.234487] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>2750000 ns
[    0.234487] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.234487] xor: automatically using best checksumming function   avx
[    0.234487] NET: Registered protocol family 16
[    0.234487] ACPI: bus type PCI registered
[    0.234487] PCI: Fatal: No config space access function found
[    0.234487] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.240888] raid6: Forced to use recovery algorithm avx2x2
[    0.240888] raid6: Forced gen() algo avx2x4
[    0.240960] ACPI: Added _OSI(Module Device)
[    0.240961] ACPI: Added _OSI(Processor Device)
[    0.240961] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.240962] ACPI: Added _OSI(Processor Aggregator Device)
[    0.240962] ACPI: Added _OSI(Linux-Dell-Video)
[    0.240963] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.240963] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.244810] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.246084] ACPI: Interpreter enabled
[    0.246084] ACPI: (supports S0 S5)
[    0.246084] ACPI: Using IOAPIC for interrupt routing
[    0.246084] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.246084] ACPI: Enabled 1 GPEs in block 00 to 0F
[    0.250815] iommu: Default domain type: Translated
[    0.250815] SCSI subsystem initialized
[    0.250892] hv_vmbus: Vmbus version:5.0
[    0.250892] PCI: Using ACPI for IRQ routing
[    0.250892] PCI: System does not support PCI
[    0.251095] hv_vmbus: Unknown GUID: c376c1c3-d276-48d2-90a9-c04748072c60
[    0.251172] clocksource: Switched to clocksource hyperv_clocksource_tsc_page
[    0.320482] VFS: Disk quotas dquot_6.6.0
[    0.320490] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.320522] FS-Cache: Loaded
[    0.320557] pnp: PnP ACPI init
[    0.320611] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.320625] pnp: PnP ACPI: found 1 devices
[    0.324974] NET: Registered protocol family 2
[    0.325082] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.325096] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.325685] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    0.325770] TCP: Hash tables configured (established 131072 bind 65536)
[    0.325794] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.325817] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.325860] NET: Registered protocol family 1
[    0.326534] RPC: Registered named UNIX socket transport module.
[    0.326534] RPC: Registered udp transport module.
[    0.326535] RPC: Registered tcp transport module.
[    0.326535] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.326538] PCI: CLS 0 bytes, default 64
[    0.326593] Trying to unpack rootfs image as initramfs...
[    0.326820] Freeing initrd memory: 64K
[    0.326823] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.326824] software IO TLB: mapped [mem 0xf4000000-0xf8000000] (64MB)
[    0.326893] kvm: no hardware support
[    0.326894] has_svm: not amd or hygon
[    0.326895] kvm: no hardware support
[    0.328322] Initialise system trusted keyrings
[    0.328413] workingset: timestamp_bits=46 max_order=22 bucket_order=0
[    0.329189] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.329400] NFS: Registering the id_resolver key type
[    0.329404] Key type id_resolver registered
[    0.329404] Key type id_legacy registered
[    0.329406] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.330103] Key type cifs.idmap registered
[    0.330167] fuse: init (API version 7.31)
[    0.330289] SGI XFS with ACLs, security attributes, realtime, scrub, repair, no debug enabled
[    0.330780] 9p: Installing v9fs 9p2000 file system support
[    0.330787] FS-Cache: Netfs '9p' registered for caching
[    0.330844] FS-Cache: Netfs 'ceph' registered for caching
[    0.330845] ceph: loaded (mds proto 32)
[    0.333342] NET: Registered protocol family 38
[    0.333344] Key type asymmetric registered
[    0.333344] Asymmetric key parser 'x509' registered
[    0.333352] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.333604] hv_vmbus: registering driver hv_pci
[    0.333875] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.334220] Non-volatile memory driver v1.3
[    0.336143] brd: module loaded
[    0.337062] loop: module loaded
[    0.337163] hv_vmbus: registering driver hv_storvsc
[    0.337214] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    0.337544] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    0.337545] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld<EMAIL_ADDRESS>All Rights Reserved.
[    0.337557] tun: Universal TUN/TAP device driver, 1.6
[    0.337610] PPP generic driver version 2.4.2
[    0.337654] PPP BSD Compression module registered
[    0.337655] PPP Deflate Compression module registered
[    0.337658] PPP MPPE Compression module registered
[    0.337688] NET: Registered protocol family 24
[    0.337693] hv_vmbus: registering driver hv_netvsc
[    0.338748] scsi host0: storvsc_host_t
[    0.353811] VFIO - User Level meta-driver version: 0.3
[    0.354127] hv_vmbus: registering driver hyperv_keyboard
[    0.354311] rtc_cmos 00:00: RTC can wake from S4
[    0.355796] rtc_cmos 00:00: registered as rtc0
[    0.355802] rtc_cmos 00:00: alarms up to one month, 114 bytes nvram
[    0.355930] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised<EMAIL_ADDRESS>[    0.356128] hv_utils: Registering HyperV Utility Driver
[    0.356128] hv_vmbus: registering driver hv_utils
[    0.356153] hv_vmbus: registering driver hv_balloon
[    0.356156] hv_utils: cannot register PTP clock: 0
[    0.356177] dxgk:err: dxg_drv_init  Version: 1
[    0.356179] hv_vmbus: registering driver dxgkrnl
[    0.356207] drop_monitor: Initializing network drop monitor service
[    0.356546] hv_utils: TimeSync IC version 4.0
[    0.356652] hv_balloon: Using Dynamic Memory protocol version 2.0
[    0.357068] hv_balloon: Cold memory discard enabled
[    0.358428] Mirror/redirect action on
[    0.358973] IPVS: Registered protocols (TCP, UDP)
[    0.358986] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[    0.359290] IPVS: ipvs loaded.
[    0.359292] IPVS: [rr] scheduler registered.
[    0.359292] IPVS: [wrr] scheduler registered.
[    0.359293] IPVS: [sh] scheduler registered.
[    0.359819] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    0.360053] Initializing XFRM netlink socket
[    0.360101] NET: Registered protocol family 10
[    0.360466] Segment Routing with IPv6
[    0.361178] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.361248] NET: Registered protocol family 17
[    0.361261] Bridge firewalling registered
[    0.361267] 8021q: 802.1Q VLAN Support v1.8
[    0.361282] sctp: Hash tables configured (bind 256/256)
[    0.361323] 9pnet: Installing 9P2000 support
[    0.361331] Key type dns_resolver registered
[    0.361341] Key type ceph registered
[    0.361486] libceph: loaded (mon/osd proto 15/24)
[    0.361500] hv_vmbus: registering driver hv_sock
[    0.361598] NET: Registered protocol family 40
[    0.361611] IPI shorthand broadcast: enabled
[    0.361675] registered taskstats version 1
[    0.361680] Loading compiled-in X.509 certificates
[    0.361850] Btrfs loaded, crc32c=crc32c-generic
[    0.362402] rtc_cmos 00:00: setting system clock to 2021-01-25T21:47:03 UTC<PHONE_NUMBER>)
[    0.362415] Unstable clock detected, switching default tracing clock to "global"
               If you want to keep using the local clock, then add:
                 "trace_clock=local"
               on the kernel command line
[    0.364016] Freeing unused kernel image memory: 1552K
[    0.410942] Write protecting the kernel read-only data: 20480k
[    0.411492] Freeing unused kernel image memory: 1992K
[    0.411870] Freeing unused kernel image memory: 972K
[    0.411923] Run /init as init process
[    0.422720] scsi 0:0:0:0: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    0.423146] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    0.428632] sd 0:0:0:0: [sda] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[    0.428633] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    0.430063] sd 0:0:0:0: [sda] Write Protect is off
[    0.430064] sd 0:0:0:0: [sda] Mode Sense: 0f 00 00 00
[    0.430220] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.741375] sd 0:0:0:0: [sda] Attached SCSI disk
[    0.823866] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[    2.308966] FS-Cache: Duplicate cookie detected
[    2.308968] FS-Cache: O-cookie c=0000000048bd0e55 [p=00000000369f8596 fl=222 nc=0 na=1]
[    2.308969] FS-Cache: O-cookie d=000000005933ef8b n=00000000becd4849
[    2.308969] FS-Cache: O-key=[10] '34323934393337353037'
[    2.308971] FS-Cache: N-cookie c=00000000e5229f3c [p=00000000369f8596 fl=2 nc=0 na=1]
[    2.308971] FS-Cache: N-cookie d=000000005933ef8b n=0000000042be1207
[    2.308971] FS-Cache: N-key=[10] '34323934393337353037'

Certainly, @OneBlue!

More help is available by typing NET HELPMSG 3521.

+ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
+ uname -a
Linux Anahita 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 GNU/Linux
+ ip a
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 62:d3:cc:c3:f4:35 brd ff:ff:ff:ff:ff:ff
3: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 96:fc:e6:1e:a1:ff brd ff:ff:ff:ff:ff:ff
4: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:15:5d:d4:36:76 brd ff:ff:ff:ff:ff:ff
5: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/sit <IP_ADDRESS> brd <IP_ADDRESS>
+ ip route show
++ ip route show
++ awk '/default/ { print $3 }'
+ gateway=
+ '[' 0 '!=' 0 ']'
+ ping -c 4 ''
ping: socket: Operation not permitted
+ ping -c 4 <IP_ADDRESS>
ping: socket: Operation not permitted
+ traceroute <IP_ADDRESS>
bash: line 24: traceroute: command not found
+ cat /etc/resolv.conf
# This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
# [network]
# generateResolvConf = false
nameserver <IP_ADDRESS>
+ curl -m 5 -v https://microsoft.com
bash: line 30: curl: command not found

b9ace@Anahita:~$ dmesg
[    0.000000] Linux version 5.4.72-microsoft-standard-WSL2 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Oct 28 23:40:43 UTC 2020
[    0.000000] Command line: initrd=\initrd.img panic=-1 pty.legacy_count=0 nr_cpus=4
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000e0fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000001fffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x0000000000200000-0x00000000f7ffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000003387fffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] Hypervisor detected: Microsoft Hyper-V
[    0.000000] Hyper-V: features 0x2e7f, privilege high: 0x3b8030, hints 0x60c2c, misc 0x20bed7b2
[    0.000000] Hyper-V Host Build:19041-10.0-0-0.746
[    0.000000] Hyper-V: LAPIC Timer Frequency: 0x1e8480
[    0.000000] tsc: Marking TSC unstable due to running on Hyper-V
[    0.000000] Hyper-V: Using hypercall for remote TLB flush
[    0.000000] clocksource: hyperv_clocksource_tsc_page: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns:<PHONE_NUMBER>20 ns
[    0.000001] tsc: Detected 3407.998 MHz processor
[    0.000012] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000013] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000015] last_pfn = 0x338800 max_arch_pfn = 0x400000000
[    0.000030] MTRR default type: uncachable
[    0.000030] MTRR fixed ranges disabled:
[    0.000031]   00000-FFFFF uncachable
[    0.000031] MTRR variable ranges disabled:
[    0.000032]   0 disabled
[    0.000032]   1 disabled
[    0.000032]   2 disabled
[    0.000032]   3 disabled
[    0.000033]   4 disabled
[    0.000033]   5 disabled
[    0.000033]   6 disabled
[    0.000033]   7 disabled
[    0.000033] Disabled
[    0.000034] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[    0.000038] CPU MTRRs all blank - virtualized system.
[    0.000040] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC
[    0.000041] last_pfn = 0xf8000 max_arch_pfn = 0x400000000
[    0.000052] Using GB pages for direct mapping
[    0.002696] RAMDISK: [mem 0x02e35000-0x02e44fff]
[    0.002701] ACPI: Early table checksum verification disabled
[    0.002719] ACPI: RSDP 0x00000000000E0000 000024 (v02 VRTUAL)
[    0.002722] ACPI: XSDT 0x0000000000100000 000044 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.002726] ACPI: FACP 0x0000000000101000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.002731] ACPI: DSDT 0x00000000001011B8 01E184 (v02 MSFTVM DSDT01   00000001 MSFT 05000000)
[    0.002733] ACPI: FACS 0x0000000000101114 000040
[    0.002735] ACPI: OEM0 0x0000000000101154 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.002737] ACPI: SRAT 0x000000000011F33C 000250 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.002740] ACPI: APIC 0x000000000011F58C 000068 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.002746] ACPI: Local APIC address 0xfee00000
[    0.003259] Zone ranges:
[    0.003260]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.003261]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.003262]   Normal   [mem 0x0000000100000000-0x00000003387fffff]
[    0.003262] Movable zone start for each node
[    0.003263] Early memory node ranges
[    0.003263]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.003264]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.003265]   node   0: [mem 0x0000000100000000-0x00000003387fffff]
[    0.004141] Zeroed struct page in unavailable ranges: 31073 pages
[    0.004143] Initmem setup node 0 [mem 0x0000000000001000-0x00000003387fffff]
[    0.004145] On node 0 totalpages: 3344031
[    0.004146]   DMA zone: 59 pages used for memmap
[    0.004146]   DMA zone: 22 pages reserved
[    0.004146]   DMA zone: 3743 pages, LIFO batch:0
[    0.004185]   DMA32 zone: 16320 pages used for memmap
[    0.004186]   DMA32 zone: 1011712 pages, LIFO batch:63
[    0.028419]   Normal zone: 36384 pages used for memmap
[    0.028421]   Normal zone: 2328576 pages, LIFO batch:63
[    0.029090] ACPI: Local APIC address 0xfee00000
[    0.029099] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[    0.032512] IOAPIC[0]: apic_id 4, version 17, address 0xfec00000, GSI 0-23
[    0.032519] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.032521] ACPI: IRQ9 used by override.
[    0.032523] Using ACPI (MADT) for SMP configuration information
[    0.032528] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.032537] [mem 0xf8000000-0xffffffff] available for PCI devices
[    0.032538] Booting paravirtualized kernel on Hyper-V
[    0.032540] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>2750000 ns
[    0.143931] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:4 nr_node_ids:1
[    0.144393] percpu: Embedded 50 pages/cpu s167192 r8192 d29416 u524288
[    0.144398] pcpu-alloc: s167192 r8192 d29416 u524288 alloc=1*2097152
[    0.144399] pcpu-alloc: [0] 0 1 2 3
[    0.144410] Built 1 zonelists, mobility grouping on.  Total pages: 3291246
[    0.144411] Kernel command line: initrd=\initrd.img panic=-1 pty.legacy_count=0 nr_cpus=4
[    0.147956] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[    0.149500] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.149568] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.174054] Memory: 4096436K/13376124K available (14342K kernel code, 1617K rwdata, 3124K rodata, 1552K init, 2372K bss, 333216K reserved, 0K cma-reserved)
[    0.174591] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.174597] Kernel/User page tables isolation: enabled
[    0.174607] ftrace: allocating 43998 entries in 172 pages
[    0.188046] rcu: Hierarchical RCU implementation.
[    0.188048] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.188049]  All grace periods are expedited (rcu_expedited).
[    0.188049] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.188050] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.190129] Using NULL legacy PIC
[    0.190130] NR_IRQS: 16640, nr_irqs: 456, preallocated irqs: 0
[    0.190527] random: crng done (trusting CPU's manufacturer)
[    0.190546] Console: colour dummy device 80x25
[    0.190548] printk: console [tty0] enabled
[    0.190553] ACPI: Core revision 20190816
[    0.190717] Failed to register legacy timer interrupt
[    0.190717] APIC: Switch to symmetric I/O mode setup
[    0.190743] Hyper-V: Using IPI hypercalls
[    0.190744] Hyper-V: Using enlightened APIC (xapic mode)
[    0.190813] Calibrating delay loop (skipped), value calculated using timer frequency.. 6815.99 BogoMIPS (lpj=34079980)
[    0.190815] pid_max: default: 32768 minimum: 301
[    0.190823] LSM: Security Framework initializing
[    0.190847] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.190865] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.191457] Last level iTLB entries: 4KB 128, 2MB 8, 4MB 8
[    0.191458] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
[    0.191460] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.191461] Spectre V2 : Mitigation: Full generic retpoline
[    0.191462] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.191462] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.191463] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.191463] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[    0.191466] TAA: Mitigation: Clear CPU buffers
[    0.191467] SRBDS: Unknown: Dependent on hypervisor status
[    0.191467] MDS: Mitigation: Clear CPU buffers
[    0.191686] Freeing SMP alternatives memory: 44K
[    0.191753] smpboot: CPU0: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz (family: 0x6, model: 0x9e, stepping: 0x9)
[    0.191813] Performance Events: unsupported p6 CPU model 158 no PMU driver, software events only.
[    0.191832] rcu: Hierarchical SRCU implementation.
[    0.191879] smp: Bringing up secondary CPUs ...
[    0.191994] x86: Booting SMP configuration:
[    0.191995] .... node  #0, CPUs:      #1 #2 #3
[    0.192435] smp: Brought up 1 node, 4 CPUs
[    0.192435] smpboot: Max logical packages: 1
[    0.192435] smpboot: Total of 4 processors activated (27263.98 BogoMIPS)
[    0.234421] node 0 initialised, 2236618 pages in 40ms
[    0.234487] devtmpfs: initialized
[    0.234487] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>2750000 ns
[    0.234487] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.234487] xor: automatically using best checksumming function   avx
[    0.234487] NET: Registered protocol family 16
[    0.234487] ACPI: bus type PCI registered
[    0.234487] PCI: Fatal: No config space access function found
[    0.234487] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.240888] raid6: Forced to use recovery algorithm avx2x2
[    0.240888] raid6: Forced gen() algo avx2x4
[    0.240960] ACPI: Added _OSI(Module Device)
[    0.240961] ACPI: Added _OSI(Processor Device)
[    0.240961] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.240962] ACPI: Added _OSI(Processor Aggregator Device)
[    0.240962] ACPI: Added _OSI(Linux-Dell-Video)
[    0.240963] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.240963] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.244810] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.246084] ACPI: Interpreter enabled
[    0.246084] ACPI: (supports S0 S5)
[    0.246084] ACPI: Using IOAPIC for interrupt routing
[    0.246084] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.246084] ACPI: Enabled 1 GPEs in block 00 to 0F
[    0.250815] iommu: Default domain type: Translated
[    0.250815] SCSI subsystem initialized
[    0.250892] hv_vmbus: Vmbus version:5.0
[    0.250892] PCI: Using ACPI for IRQ routing
[    0.250892] PCI: System does not support PCI
[    0.251095] hv_vmbus: Unknown GUID: c376c1c3-d276-48d2-90a9-c04748072c60
[    0.251172] clocksource: Switched to clocksource hyperv_clocksource_tsc_page
[    0.320482] VFS: Disk quotas dquot_6.6.0
[    0.320490] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.320522] FS-Cache: Loaded
[    0.320557] pnp: PnP ACPI init
[    0.320611] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.320625] pnp: PnP ACPI: found 1 devices
[    0.324974] NET: Registered protocol family 2
[    0.325082] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.325096] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.325685] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    0.325770] TCP: Hash tables configured (established 131072 bind 65536)
[    0.325794] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.325817] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.325860] NET: Registered protocol family 1
[    0.326534] RPC: Registered named UNIX socket transport module.
[    0.326534] RPC: Registered udp transport module.
[    0.326535] RPC: Registered tcp transport module.
[    0.326535] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.326538] PCI: CLS 0 bytes, default 64
[    0.326593] Trying to unpack rootfs image as initramfs...
[    0.326820] Freeing initrd memory: 64K
[    0.326823] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.326824] software IO TLB: mapped [mem 0xf4000000-0xf8000000] (64MB)
[    0.326893] kvm: no hardware support
[    0.326894] has_svm: not amd or hygon
[    0.326895] kvm: no hardware support
[    0.328322] Initialise system trusted keyrings
[    0.328413] workingset: timestamp_bits=46 max_order=22 bucket_order=0
[    0.329189] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.329400] NFS: Registering the id_resolver key type
[    0.329404] Key type id_resolver registered
[    0.329404] Key type id_legacy registered
[    0.329406] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.330103] Key type cifs.idmap registered
[    0.330167] fuse: init (API version 7.31)
[    0.330289] SGI XFS with ACLs, security attributes, realtime, scrub, repair, no debug enabled
[    0.330780] 9p: Installing v9fs 9p2000 file system support
[    0.330787] FS-Cache: Netfs '9p' registered for caching
[    0.330844] FS-Cache: Netfs 'ceph' registered for caching
[    0.330845] ceph: loaded (mds proto 32)
[    0.333342] NET: Registered protocol family 38
[    0.333344] Key type asymmetric registered
[    0.333344] Asymmetric key parser 'x509' registered
[    0.333352] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.333604] hv_vmbus: registering driver hv_pci
[    0.333875] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.334220] Non-volatile memory driver v1.3
[    0.336143] brd: module loaded
[    0.337062] loop: module loaded
[    0.337163] hv_vmbus: registering driver hv_storvsc
[    0.337214] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    0.337544] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    0.337545] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld<EMAIL_ADDRESS>All Rights Reserved.
[    0.337557] tun: Universal TUN/TAP device driver, 1.6
[    0.337610] PPP generic driver version 2.4.2
[    0.337654] PPP BSD Compression module registered
[    0.337655] PPP Deflate Compression module registered
[    0.337658] PPP MPPE Compression module registered
[    0.337688] NET: Registered protocol family 24
[    0.337693] hv_vmbus: registering driver hv_netvsc
[    0.338748] scsi host0: storvsc_host_t
[    0.353811] VFIO - User Level meta-driver version: 0.3
[    0.354127] hv_vmbus: registering driver hyperv_keyboard
[    0.354311] rtc_cmos 00:00: RTC can wake from S4
[    0.355796] rtc_cmos 00:00: registered as rtc0
[    0.355802] rtc_cmos 00:00: alarms up to one month, 114 bytes nvram
[    0.355930] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised<EMAIL_ADDRESS>[    0.356128] hv_utils: Registering HyperV Utility Driver
[    0.356128] hv_vmbus: registering driver hv_utils
[    0.356153] hv_vmbus: registering driver hv_balloon
[    0.356156] hv_utils: cannot register PTP clock: 0
[    0.356177] dxgk:err: dxg_drv_init  Version: 1
[    0.356179] hv_vmbus: registering driver dxgkrnl
[    0.356207] drop_monitor: Initializing network drop monitor service
[    0.356546] hv_utils: TimeSync IC version 4.0
[    0.356652] hv_balloon: Using Dynamic Memory protocol version 2.0
[    0.357068] hv_balloon: Cold memory discard enabled
[    0.358428] Mirror/redirect action on
[    0.358973] IPVS: Registered protocols (TCP, UDP)
[    0.358986] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[    0.359290] IPVS: ipvs loaded.
[    0.359292] IPVS: [rr] scheduler registered.
[    0.359292] IPVS: [wrr] scheduler registered.
[    0.359293] IPVS: [sh] scheduler registered.
[    0.359819] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    0.360053] Initializing XFRM netlink socket
[    0.360101] NET: Registered protocol family 10
[    0.360466] Segment Routing with IPv6
[    0.361178] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.361248] NET: Registered protocol family 17
[    0.361261] Bridge firewalling registered
[    0.361267] 8021q: 802.1Q VLAN Support v1.8
[    0.361282] sctp: Hash tables configured (bind 256/256)
[    0.361323] 9pnet: Installing 9P2000 support
[    0.361331] Key type dns_resolver registered
[    0.361341] Key type ceph registered
[    0.361486] libceph: loaded (mon/osd proto 15/24)
[    0.361500] hv_vmbus: registering driver hv_sock
[    0.361598] NET: Registered protocol family 40
[    0.361611] IPI shorthand broadcast: enabled
[    0.361675] registered taskstats version 1
[    0.361680] Loading compiled-in X.509 certificates
[    0.361850] Btrfs loaded, crc32c=crc32c-generic
[    0.362402] rtc_cmos 00:00: setting system clock to 2021-01-25T21:47:03 UTC<PHONE_NUMBER>)
[    0.362415] Unstable clock detected, switching default tracing clock to "global"
               If you want to keep using the local clock, then add:
                 "trace_clock=local"
               on the kernel command line
[    0.364016] Freeing unused kernel image memory: 1552K
[    0.410942] Write protecting the kernel read-only data: 20480k
[    0.411492] Freeing unused kernel image memory: 1992K
[    0.411870] Freeing unused kernel image memory: 972K
[    0.411923] Run /init as init process
[    0.422720] scsi 0:0:0:0: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    0.423146] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    0.428632] sd 0:0:0:0: [sda] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[    0.428633] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    0.430063] sd 0:0:0:0: [sda] Write Protect is off
[    0.430064] sd 0:0:0:0: [sda] Mode Sense: 0f 00 00 00
[    0.430220] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.741375] sd 0:0:0:0: [sda] Attached SCSI disk
[    0.823866] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[    2.308966] FS-Cache: Duplicate cookie detected
[    2.308968] FS-Cache: O-cookie c=0000000048bd0e55 [p=00000000369f8596 fl=222 nc=0 na=1]
[    2.308969] FS-Cache: O-cookie d=000000005933ef8b n=00000000becd4849
[    2.308969] FS-Cache: O-key=[10] '34323934393337353037'
[    2.308971] FS-Cache: N-cookie c=00000000e5229f3c [p=00000000369f8596 fl=2 nc=0 na=1]
[    2.308971] FS-Cache: N-cookie d=000000005933ef8b n=0000000042be1207
[    2.308971] FS-Cache: N-key=[10] '34323934393337353037'

@b9AcE: This script also creates a log file, wsl.etl.
Can you share that as well ?

@b9AcE: This script also creates a log file, wsl.etl.
Can you share that as well ?

Of course, @OneBlue!
I ran the script again and since the file is both in binary and >4MB large, you can find it here:
http://b9ace.thoon.feralhosting.com/wsl.etl
Please inform me when you have it, so I can remove it.

Of course, @OneBlue!
I ran the script again and since the file is both in binary and >4MB large, you can find it here:
http://b9ace.thoon.feralhosting.com/wsl.etl
Please inform me when you have it, so I can remove it.

Thanks @b9AcE.
I'm a bit puzzled because I don't see any WSL log entry in the file you shared.
Looking at the script, I discovered that some log providers are not correctly enabled.
I've created a PR to fix that, but until its merged, can you please run the script again from this branch ?

Thanks @b9AcE.
I'm a bit puzzled because I don't see any WSL log entry in the file you shared.
Looking at the script, I discovered that some log providers are not correctly enabled.
I've created a PR to fix that, but until its merged, can you please run the script again from this branch ?

OK, @OneBlue, I re-ran the script from that branch instead and the resulting file is now in the same location as before:
http://b9ace.thoon.feralhosting.com/wsl.etl
Again, please let me know when it can be removed, for housekeeping.
Thanks!

OK, @OneBlue, I re-ran the script from that branch instead and the resulting file is now in the same location as before:
http://b9ace.thoon.feralhosting.com/wsl.etl
Again, please let me know when it can be removed, for housekeeping.
Thanks!

Thank you @b9AcE. Downloaded the file.
Looking at it now.

Thank you @b9AcE. Downloaded the file.
Looking at it now.

@b9AcE: Looking at the logs, it appears that something is going wrong when WSL attempts to create the swap disk. An error there would kill the code path that configures networking.
Can you try to set wsl2.swap to 0 in .wslconfig, restart the lxssmanager service, and try again ?

@b9AcE: Looking at the logs, it appears that something is going wrong when WSL attempts to create the swap disk. An error there would kill the code path that configures networking.
Can you try to set wsl2.swap to 0 in .wslconfig, restart the lxssmanager service, and try again ?

If @OneBlue's suggestion fixes your issue, this /dupe #5437.

If @OneBlue's suggestion fixes your issue, this /dupe #5437.

Thanks @OneBlue!
I tested your .wslconfig solution and it worked, but as having a swap is preferable I switched to the symlink solution by running
New-Item -ItemType SymbolicLink -Path $env:USERPROFILE\AppData\Local\Temp -Value "$env:TEMP" -force

After a reboot, that workaround still works.
This suggests that the issue may affect everyone that changes their temp-directory system environment variables, which is a feature native to Windows for as long as I can remember... Windows 3.x? DOS?
If so, it's likely that enough people get affected by this issue that probably the symlink-workaround should get added to the Troubleshooting Windows Subsystem for Linux-page.
Thanks again!

Thanks @OneBlue!
I tested your .wslconfig solution and it worked, but as having a swap is preferable I switched to the symlink solution by running
New-Item -ItemType SymbolicLink -Path $env:USERPROFILE\AppData\Local\Temp -Value "$env:TEMP" -force

After a reboot, that workaround still works.
This suggests that the issue may affect everyone that changes their temp-directory system environment variables, which is a feature native to Windows for as long as I can remember... Windows 3.x? DOS?
If so, it's likely that enough people get affected by this issue that probably the symlink-workaround should get added to the Troubleshooting Windows Subsystem for Linux-page.
Thanks again!

@b9AcE - Did the $env:USERPROFILE\AppData\Local\Temp directory not exist prior to your creation of the symlink?

@b9AcE - Did the $env:USERPROFILE\AppData\Local\Temp directory not exist prior to your creation of the symlink?

No @benhillis, I had deleted it as well as "$env:SystemRoot\TEMP" as part of my standard installation step of unifying the several temp-directory locations to instead only use "$env:SystemDrive" for all four temp-variables.
This is the first time I can recall that leading to any apparent problems, apart from some software that just doesn't check the environment variables' current values and use "C:\Windows\TEMP" regardless of system configuration.

No @benhillis, I had deleted it as well as "$env:SystemRoot\TEMP" as part of my standard installation step of unifying the several temp-directory locations to instead only use "$env:SystemDrive" for all four temp-variables.
This is the first time I can recall that leading to any apparent problems, apart from some software that just doesn't check the environment variables' current values and use "C:\Windows\TEMP" regardless of system configuration.

Hi, I can create a symbolinc link with your command:
Au caractère Ligne:1 : 1

New-Item -ItemType SymbolicLink -Path $env:USERPROFILE\AppData\Local\ ...

  + CategoryInfo          : WriteError: (C:\Users\XNWW3722\AppData\Local\Temp:String) [New-Item], IOException
  + FullyQualifiedErrorId : NewItemDeleteIOError,Microsoft.PowerShell.Commands.NewItemCommand

New-Item : Impossible de créer un fichier déjà existant (which means impossible to create an existing file)
Do you have a solution please ?

Hi, I can create a symbolinc link with your command:
Au caractère Ligne:1 : 1

New-Item -ItemType SymbolicLink -Path $env:USERPROFILE\AppData\Local\ ...

  + CategoryInfo          : WriteError: (C:\Users\XNWW3722\AppData\Local\Temp:String) [New-Item], IOException
  + FullyQualifiedErrorId : NewItemDeleteIOError,Microsoft.PowerShell.Commands.NewItemCommand

New-Item : Impossible de créer un fichier déjà existant (which means impossible to create an existing file)
Do you have a solution please ?

Sounds to me like there already is a directory (or file) in that location with the same name as you are trying to create, @samuelguesnier.
Try checking in that location if it already exists, for example by entering "%USERPROFILE%\AppData\Local" in the "Run" dialog box (press "+r" on your keyboard to open that dialog box).

Sounds to me like there already is a directory (or file) in that location with the same name as you are trying to create, @samuelguesnier.
Try checking in that location if it already exists, for example by entering "%USERPROFILE%\AppData\Local" in the "Run" dialog box (press "+r" on your keyboard to open that dialog box).

Thanks for your answer @b9AcE !
You are right , there is already a Temp folder in %USERPROFILE%\AppData\Local .
So, your solution of creating a simlink is not possible for me ?
I have exactly the same issue as you but can't find a sollution :(

Thanks for your answer @b9AcE !
You are right , there is already a Temp folder in %USERPROFILE%\AppData\Local .
So, your solution of creating a simlink is not possible for me ?
I have exactly the same issue as you but can't find a sollution :(

Unless you  know that you have changed your system's environment variables %TEMP% and/or %TMP% it seems this solution is irrelevant to you @samuelguesnier, as far as I can tell.
If you have not done so, removing/replacing that directory will potentially cause even worse problems.

Unless you  know that you have changed your system's environment variables %TEMP% and/or %TMP% it seems this solution is irrelevant to you @samuelguesnier, as far as I can tell.
If you have not done so, removing/replacing that directory will potentially cause even worse problems.

Oh ok, thanks

Oh ok, thanks

For some reason, changing the swap.vhdx file permissions solved the problem. Looks like my user didn't have full control over the swap.vhdx file

@b9AcE: Looking at the logs, it appears that something is going wrong when WSL attempts to create the swap disk. An error there would kill the code path that configures networking.
Can you try to set wsl2.swap to 0 in .wslconfig, restart the lxssmanager service, and try again ?

For some reason, changing the swap.vhdx file permissions solved the problem. Looks like my user didn't have full control over the swap.vhdx file


issue-382 Security context + labels configuration for connect and sch…

…ema-registry.
What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
How was this patch tested?
(Please explain how this patch was tested. E.g. helm upgrade on minikube, helm install on gke)

It looks like @tomek0021 hasn't signed our Contributor License Agreement, yet.

The purpose of a CLA is to ensure that the guardian of a project's outputs has the necessary ownership or grants of rights over all contributions to allow them to distribute under the chosen licence.
Wikipedia

You can read and sign our full Contributor License Agreement here.
Once you've signed reply with [clabot:check] to prove it.
Appreciation of efforts,
clabot

[clabot:check]

@confluentinc It looks like @tomek0021 just signed our Contributor License Agreement. :+1:
Always at your service,
clabot

[clabot:check]

@confluentinc It looks like @tomek0021 just signed our Contributor License Agreement. :+1:
Always at your service,
clabot

FIXES #382

@gAmUssA Is there anything to be done to merge this?

@tomek0021 kindly rebase and fix conflicts (cc @kevinnoel-be )

@gAmUssA conflicts resolved.

Hi @gAmUssA can anything be done to push this through?

@mackoko

resolve conflicts
provide steps to validate.

Thank you


Non-regenerating tokens

Added option to make tokens never regenerate
Also, gave better names to the “toggle_fields#” series of methods

@MBAustin I think this is good. Please do a pull from master.

@david-yz-liu I think this branch is now current with master, but I'm not sure

@MBAustin I need you to do a git pull upstream master.

@david-yz-liu Ok I think now I've done that? Sorry, I'm pretty inexperienced with git (up till now I've just used github desktop, but that messed up somehow). Is it correct now?


the requested PHP extension gmp is missing

hi there ,
I'm trying to install the package but I get these errors:
Problem 1     - mdanter/ecc v0.4.2 requires ext-gmp * -> the requested PHP extension gmp is missing from your system.     - mdanter/ecc v0.4.1 requires ext-gmp * -> the requested PHP extension gmp is missing from your system.     - mdanter/ecc v0.4.0 requires ext-gmp * -> the requested PHP extension gmp is missing from your system.     - laravel-notification-channels/webpush 0.1.1 requires minishlink/web-push 1.1.* -> satisfiable by minishlink/web-push[v1.1].     - minishlink/web-push v1.1 requires mdanter/ecc ^0.4.0 -> satisfiable by mdanter/ecc[v0.4.0, v0.4.1, v0.4.2].     - Installation request for laravel-notification-channels/webpush ^0.1.1 -> satisfiable by laravel-notification-channels/webpush[0.1.1].
I tried to solve the issue with your solution in the other "issue" which is adding
   "mdanter/ecc": "dev-master as 0.3.0",         "minishlink/web-push": "^1.0"
but I got another error
 Problem 1     - Installation request for mdanter/ecc dev-master as 0.3.0 -> satisfiable by mdanter/ecc[dev-master].     - mdanter/ecc dev-master requires ext-gmp * -> the requested PHP extension gmp is missing from your system.   Problem 2     - minishlink/web-push v1.1 requires mdanter/ecc ^0.4.0 -> satisfiable by mdanter/ecc[v0.4.0, v0.4.1, v0.4.2] but these conflict with your requirements or minimum-stability.     - laravel-notification-channels/webpush 0.1.1 requires minishlink/web-push 1.1.* -> satisfiable by minishlink/web-push[v1.1].     - Installation request for laravel-notification-channels/webpush ^0.1.1 -> satisfiable by laravel-notification-channels/webpush[0.1.1].

The package requires the GMP and OpenSSL PHP extensions.


Java Swing Examples snappy playpen

Currently not functional due to various desktop integration issues. I'm gonna update the example as new desktop snappy interfaces are made available.

Nice work - thanks so much for this. Especially that you did within just a few minutes of the playpen being announced. :smiley:
I'll merge this and make sure we track non-working snaps, so we can stay on top of them in the future. Keep up the good work - it's much appreciated!

Maybe you can take a look at https://github.com/ubuntu/snappy-playpen/pull/23 too?

In all fairness, I did hear about it in the mailing lists a few days ago... :D


"Viewing only" notes can be edited on web but don't submit edits

View-only URLs create the impression that the document can be edited, but edits are not feeding back into the document. That's confusing. Better don't allow users to edit text and don't give them a curser that allows the viewer to type.

True, I left that in there for the beginning so that people can try it out. I'll take out fake-editing soon.


Newsletters: add #43 (2019-04-23)

Notes:

Makes a one-word edit to a previous newsletter after I couldn't find text I knew I'd written by the keyword I was expecting.  (If anyone objects, I'm 100% ok reverting that change.)
The BIP158 bullet is in the News section because, when I started writing it, I didn't think we had any other news.  However, I remembered the LND release, which is actual news.  If anyone would like, I'm happy to move the BIP158 bullet to the notable code changes section that might be more appropriate.
I won't be available for edits Monday afternoon/evening, so please feel free to make any edits y'all think are appropriate.  (Remember the editors razor: if in doubt, delete.)  I will be available early Tuesday morning, so please feel free to leave me things to fix or review then.

utACK c13a6837d2f05a1fe1da6822b8a353e225833636. No review comments!

Makes a one-word edit to a previous newsletter after I couldn't find text I knew I'd written by the keyword I was expecting.

Change looks good to me :+1:

The BIP158 bullet is in the News section because, when I started writing it, I didn't think we had any other news. However, I remembered the LND release, which is actual news. If anyone would like, I'm happy to move the BIP158 bullet to the notable code changes section that might be more appropriate.

No, I think this is interesting enough to be in the News section

BIP157 not BIP158, right?

Force-pushed a small edit to the main text and a detailed footnote explaining the differences between 157, 158, and how the current PR implements parts of both of them (but mainly 158 IMO).

Made some minor edits to the footnote: https://github.com/bitcoinops/bitcoinops.github.io/pull/137/commits/2f070d730fda3d22aa4cbacc066738ea3fb7290e

Squashed to aa673ccaf76d13a0edfbba401d84f16b3cdba7e2

Post-merge ACK on the edits.  Thanks, and thanks for the reviews!


Fix typo in example code

Coverage remained the same at 85.22% when pulling 4928b78b6e8d376d4aec862b83b64102f0394eeb on rherrmann:patch-1 into a3bf2afc448aa6e99ccec355cd34d0776c37916b on NanoHttpd:master.


INTRODUCING REAL-TIME ORDER TRACKING: SEAMLESSLY MONITOR YOUR ORDER S…

…REAL TIME ORDER tracking Orders.jsx
Closes #192
Description
A clear and concise description of what the PR does.

This PR does the following:

Adds ...
Fixes #192
Updates ...

Related Issues
Link any related issues using the format Fixes #issue_number.
This helps to automatically close related issues when the PR is merged.

Placeholder: "Fixes #192 "

Changes
List the detailed changes made in this PR.

Added a new feature to ...
Refactored the ...
Fixed a bug in ...

Testing Instructions
Detailed instructions on how to test the changes. Include any setup needed and specific test cases.

Pull this branch.
Run npm install to install dependencies.
Run npm test to execute the test suite.
Verify that ...

Screenshots (if applicable)
Add any screenshots that help explain or visualize the changes.
Additional Context
Any additional context or information that reviewers should be aware of.

This PR is based on the following...

Checklist
Make sure to check off all the items before submitting. Mark with [x] if done.

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] My changes generate no new warnings
[ ] I am working on this issue under GSSOC

@Trisha-tech Please merge this when you are free.


lve commit not working properly

I had troubles using lve commit for past couple of weeks, the latest lve version is throwing pydantic errors. Looks like there is an issue when auto-filling read.me file for a new LVE:
File "lve\lve-tools\lve_tools\lve\cli\readme.py", line 131, in get_readme_update
    readme_content = patch_readme(readme_content, lve)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "lve\lve-tools\lve_tools\lve\cli\readme.py", line 68, in patch_readme
    instance = TestInstance(**json.loads(line))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]
    For further information visit https://errors.pydantic.dev/2.4/v/string_type

@ayukh Could you check if it works now? I think it might be fixed with my last commit.

@mbalunovic yes, it works ok now, thanks!


Control over Drum Pad LEDs?

Hi,
I am looking into using MIDI devices as inputs for gaming, productivity etc, so please forgive my ignorance when it comes to all things MIDI.
I picked up a Behringer Motor 49 to see if I could use MIDI devices like regular forms of input (Joystick, Keyboard etc), and it seems I can - absolutely no problems reading input, very simple.
I also worked out how to move the motorized faders on this thing, and can change the LEDs on the dials no problem.
Both of these were easy to figure out - I just registered an input handler, manipulated the appropriate control, and when I sent the same ControlChangeEvent as output, it had the desired effect.
With the drum pads however, I am stumped.
I get a NoteOn event when I tap them:
Channel: 2, Event: 0 NoteOn Ch: 2 F#5 Vel:100 Len: 0
Channel: 2, Event: 0 NoteOff Ch: 2 F#5 Vel:127

I tried sending NoteOn events with the same notes and various parameters, but no joy.
Normally, the LEDs light up when you tap the pads, but ideally I would like full control over the LEDs - eg use them as toggles (Light switches between on/off, or cycles between some colours)
Can anyone lend any assistance?

There's no guarantee that the LEDs on the device respond to MIDI messages, but if they do it's likely to be some custom CCs rather than NoteOn messages. If you can get hold of the manual there is often a MIDI section which might reveal what controllers they might be assigned to.


[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated.

Since 2.4, "include" statement is marked as  deprecated. It can be easy fixed by just changing it to "include_tasks" which will only include the file when the condition matches.
For completness, here the complete warning generated by ansible <IP_ADDRESS>.

[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this rationale.. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

The file "tasks/main.yml" would therefore look like this.
- include_tasks: rules.yml

- include_tasks: persist-debian.yml
  when: ansible_os_family == 'Debian'

- include_tasks: persist-redhat.yml
when: ansible_os_family == 'RedHat'

I guess its not worth creating a fork and a pull request for this, isn't it?

Sorry for the delay, better late than never 🙏


[OSS-ONLY] Cache mappings for sys.remove_accents_internal

Description
To support like operator for AI collations, we strip the accents from the strings before doing the matching.
To do so we used the ICU transliterate function utrans_transUChars which is quite slow.
So as an improvement we cache the mappings for it locally and use it if the ICU version on host matches to
the one we used to generate the mapping, otherwise we fallback to the ICU function utrans_transUChars
Issues Resolved
[BABEL-5008]
Cherry Picked From https://github.com/babelfish-for-postgresql/babelfish_extensions/pull/2713
Sign Off
Signed-off-by: Tanzeel Khan<EMAIL_ADDRESS>Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

4 of 73 (5.48%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.09%) to 73.48%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

contrib/babelfishpg_tsql/src/collation.c
4
73
5.48%

Totals

Change from base Build<PHONE_NUMBER>4:
-0.09%

Covered Lines:
42508

Relevant Lines:
57850

💛  - Coveralls


Make configurable: Do not close debug console when debuggin

I liked when the debug console hided automatically, despite I was debugging or not. It would be great that this was configurable so that everybody is happy :)

+1

+1

This was fixed by merging #15


Add PEP 484 type stubs

Also make the package compatible with PEP 561. This adds better code completion in IDEs and typechecking possibilities against invocations in code, e.g.
key = xmlsec.Key.from_file(
    file='/etc/keys/mykey.pem',
    format=xmlsec.constants.KeyDataFormatPem
)

will typecheck, whilst e.g.
key = xmlsec.Key.from_file(
    file=object(),
    format=xmlsec.constants.KeyDataFormatPem
)
key = xmlsec.Key.from_file(
    file='/etc/keys/mykey.pem',
    format=xmlsec.constants.TransformAes128Cbc
)

will not: checking with mypy reports
main.py:3: error: Argument "file" to "from_file" of "Key" has incompatible type "object"; expected "Union[str, bytes, PurePath, _PathLike[str], _PathLike[bytes]]"
main.py:4: error: Argument "format" to "from_file" of "Key" has incompatible type "__Transform"; expected "int"
Found 2 errors in 1 file (checked 1 source file)

Codecov Report

Merging #126 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #126   +/-   ##
=======================================
  Coverage   75.65%   75.65%
=======================================
  Files          11       11
  Lines        1376     1376
=======================================
  Hits         1041     1041
  Misses        335      335

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d9ff252...24a39ae. Read the comment docs.

Codecov Report

Merging #126 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #126   +/-   ##
=======================================
  Coverage   76.64%   76.64%
=======================================
  Files          11       11
  Lines        1396     1396
=======================================
  Hits         1070     1070
  Misses        326      326

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6e448fa...2c3f60a. Read the comment docs.


ENV Variables

echo "" > .env.local # Clear the .env.local file
          echo DATABASE_URL: ${{ secrets.DATABASE_URL }} >> .env
          echo GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} >> .env.local
          echo GOOGLE_ID: ${{ secrets.GOOGLE_ID }} >> .env.local
          echo GOOGLE_SECRET: ${{ secrets.GOOGLE_SECRET }} >> .env.local
          echo RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }} >> .env.local
          echo DO_ENDPOINT: ${{ secrets.DO_ENDPOINT }} >> .env.local
          echo DO_REGION: ${{ secrets.DO_REGION }} >> .env.local
          echo DO_ACCESS_KEY_ID: ${{ secrets.DO_ACCESS_KEY_ID }} >> .env.local
          echo DO_ACCESS_KEY_SECRET: ${{ secrets.DO_ACCESS_KEY_SECRET }} >> .env.local
          echo DATABASE_URL: ${{ secrets.DATABASE_URL }} >> .env.local
          echo JWT_SECRET: ${{ secrets.JWT_SECRET }} >> .env.local
          echo NEXTAUTH_URL: ${{ secrets.NEXTAUTH_URL }} >> .env.local
          echo NEXT_PUBLIC_APP_NAME: ${{ secrets.NEXT_PUBLIC_APP_NAME }} >> .env.local
          echo NEXT_PUBLIC_APP_V: ${{ secrets.NEXT_PUBLIC_APP_V }} >> .env.local
          echo NEXT_PUBLIC_APP_URL: ${{ secrets.NEXT_PUBLIC_APP_URL }} >> .env.local

Should list all required env variables in the Readme. Should also clarify how to define all these.
Finally, feels like all the DO  vars should not be required for Vercel deployment. Nor the Google or Github ones.
The .env.example should maintain all required env variables necessary to successfully run.

Thanks for reporting this - I'll take a look at it.

Yep, it's a known problem. I've seen everything from clearing the browser cache to changing browsers and everyhtin in between - https://github.com/vercel/next.js/issues/48748#issuecomment-1578374105

I think it could be an alternative - in the last few days, I've been looking for similar starters, but everything revolves around this same problem - always slow with the actions

You can check out a new one I'm working on here: https://github.com/saashqdev/crm

I tried today to update to next 15, using next dev --turbo and seems a little faster

Nice! I never tired that.


Add support for changing and uploading avatars

Summary & Motivation
Introduce functionality allowing users to change their avatars, with an option to upload a new avatar when saving their User Profile. Supported formats include JPEG, PNG, GIF, and WebP, providing users with flexibility in avatar choices.
Address several issues with Gravatar handling: users without Gravatars now correctly avoid default Gravatar images, and the system gracefully handles timeouts when fetching Gravatars, returning a Not Found status if an image is missing. Additionally, the user profile no longer displays a broken image for users without an avatar.
The recently introduced GravatarClient has been decoupled from the Users feature, enabling more modular use across the application.
To streamline avatar uploads, a strongly-typed api.uploadFile method has been implemented, enhancing type safety and usability.
Lastly, an issue in RepositoryBase.Update has been fixed to prevent unnecessary entity fetching during updates, improving efficiency.
Checklist

[x] I have added a Label to the pull-request
[x] I have added tests, and done manual regression tests
[x] I have updated the documentation, if necessary

@tjementum any reason for not using a regular multipart form?


refactor: remove read state

Depends-On: #851 #852
Closes: #782, #501, #497, as we don't rely on this mechanism any more
Removes the current read state mechanism, and sets all proxied etcd commands to use slow path.
The read state requires the leader to query it's UncommittedPool. However, for every query, we must lock it in another tokio worker thread. Lock in multiple threads could reduce general performance, I think it's best to remove the current implementation and reimplement it in the future.
All etcd commands need to use slow path because we need 2RTTs to acquire a revision.
Please briefly answer these questions:

what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)

what changes does this pull request make?

are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)

Please leave an issue to track this problem: when a network partition occurs, the leader in the smaller partition may not be aware that a new leader has already been elected in the cluster. If the original leader continues to serve read-only requests to clients during this time, it could result in stale reads.

Tracked in https://github.com/xline-kv/Xline/issues/870


fix(taiko-client): get L2 block hash from event instead of contract

Closed by https://github.com/taikoxyz/taiko-mono/pull/17268


Unknown data type: int64 when integrated with spark project

Hi, I got an exception when the data was saved to clickhouse by sparkSQL with clickhouse-jdbc.
This would happen, when the type of the columns was Array[Int64].
And the SparkSql will handle the array type using following codes: spark code
The nested type Int64 of Array type, was converted into its lowercase form int64, and then it was passed as a parameter to the com.clickhouse.jdbc.ClickHouseConnection.createArrayOf.
And When I read the source code of clickhouse-jdbc, I found that ClickHouseDataType used enum names for case-sensitive types for matching.
So I will suggest that when we do the match, we use the upperCase form for all clickhouse data types for compatibility and I raise a PR for that

Caused by: java.lang.IllegalArgumentException: Unknown data type: int64
at com.clickhouse.client.ClickHouseDataType.of(ClickHouseDataType.java:231)
at com.clickhouse.client.ClickHouseColumn.readColumn(ClickHouseColumn.java:361)
at com.clickhouse.client.ClickHouseColumn.of(ClickHouseColumn.java:407)
at com.clickhouse.jdbc.ClickHouseConnection.createArrayOf(ClickHouseConnection.java:42)
at com.clickhouse.jdbc.ClickHouseConnection.createArrayOf(ClickHouseConnection.java:25)
at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.$anonfun$makeSetter$15(JdbcUtils.scala:624)
at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.$anonfun$makeSetter$15$adapted(JdbcUtils.scala:621)
at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.savePartition(JdbcUtils.scala:715)
at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.$anonfun$saveTable$1(JdbcUtils.scala:890)
at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.$anonfun$saveTable$1$adapted(JdbcUtils.scala:888)
at org.apache.spark.rdd.RDD.$anonfun$foreachPartition$2(RDD.scala:1020)
at org.apache.spark.rdd.RDD.$anonfun$foreachPartition$2$adapted(RDD.scala:1020)
at org.apache.spark.SparkContext.$anonfun$runJob$5(SparkContext.scala:2254)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
at org.apache.spark.scheduler.Task.run(Task.scala:131)
at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:506)
at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1462)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:509)

Hi @shaokunW, thanks for reporting the issue and providing a quick fix. Is there any good reason Spark enforcing nested type name in lower case?

Sorry, I don't have a deep understanding of the Spark framework. Most databases accept both upper and lower case when defining a column in a DDL statement, so I think this conversion is just for formatting purposes.
I have found that Clickhouse works well for ints, such as int, int, int, but not for 'int64'. I have also seen data type definitions and aliases from 'select * from system.data_type_families'.. I'm confused about the format consistency of the data types.

@shaokunW, ClickHouse supports both case-sensitive and case-insensitive data types. You may get the full list from system.data_type_families. The implementation in Spark has 3 problems to me: 1) enforcing case-insensitive data type, which might not be suitable for all databases; 2) only part of nested type name was passed to JDBC driver, meaning you'll have problem dealing with cases like Array(Nullable(String)), Array(LowCardinality(String)), Array(Tuple(Int8,String)) etc.; and most importantly 3) lack of support for Object.
Anyway, I think we can introduce a JDBC-specific option caseInsensitiveTypeName (defaults to false) and move the changes to clickhouse-jdbc. JbdcDialect should be implemented in the future to support more data types.

Aggred with that. It is not proper to alter the nested type again since the operation has been delegated to JdbcDialect implementation.
Yes, a option field can work for this, but which datatypes are suitable to has a true caseInsensitiveTypeName this time?
It would be great to have its implementation for JdbcDialect of Spark.

Spark JDBC implementation does not support nested data type well, so I guess it's better to implement a JdbcDialect instead of adding workaround in JDBC driver. I think you can take this as an example to register your own dialect(with enhanced ArrayType support).

Thanks. The  example you shared has been integrated into my project to support nested data type like Array. However, when the type is Array, Spark will call createArrayOf method of ClickhouseConnection with lowercase type name, which can be avoided..

@zhicwu For JDBC-specific option caseInsensitiveTypeName, you mean to add a config option into com.clickhouse.jdbc.JdbcConfig?

@zhicwu For JDBC-specific option caseInsensitiveTypeName, you mean to add a config option into com.clickhouse.jdbc.JdbcConfig?

Sorry for the late reply. Yes, in JdbcConfig so it won't impact Java client. On a second thought, it might be better to provide a mapping between ClickHouse native data type and standardized case-insensitive types, so that it's easier for Spark to understand. There's an option for renaming response column, I think I can add one more to rename column type as well.

Any updates on this issue?


Adds example to review request body for troubleshooting.

Fixes #13 .

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@mbernier can you please check this PR and let me know if anything else needs to be done?

I think we're good to go!

Hello @mukulmishra18,Thanks again for the PR! We want to show our appreciation by sending                                              you some swag. Could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX

Hi @thinkingserious, Filled the form. Thanks!


fix doc typo

Thanks for the PR! But the docs are generated, I've fixed them in the script :smile:


Add maintenance and upgrade overview

This adds basic information on upgrades and maintenance procedures for various services.

better use simple language

We can publish a version in "simple English" later, but I would deem translations into, say, German to provide more value at this point in time.


Is room name unique?

Is room name unique per node? If it is unique will room name be unique per node?
Thanks.

it's unique across all instances.


npm or node-gyp using the wrong user when running under sudo.

Node Version: node v14.0.0 and npm 6.14.4 (installed via nodesource rpm)
Platform: Linux staging-v3-2020 3.10.0-1062.18.1.el7.x86_64 #1 SMP Tue Mar 17 23:49:17 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Compiler: gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)

Module: heapdump (or any other module that needs node-gyp)

Key Facts: npm is running via sudo.  SUDO_USER is "jesse".

The relevant error from the log is this line: gyp WARN EACCES current user ("jesse") does not have permission to access the dev dir "/root/.cache/node-gyp/14.0.0"
The bug is that node-gyp should never be opening anything as SUDO_USER.  The system is correctly rejecting node-gyp's attempt to write into /root as a non-root user.
Verbose output (from npm or node-gyp):

npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>                                                                                [27/1912]

><EMAIL_ADDRESS>install /opt/mpath/api/node_modules/heapdump
> node-gyp rebuild

gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   '/usr/bin/node',
gyp verb cli   '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild'
gyp verb cli ]
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb find Python Python is not set from command line or npm configuration
gyp verb find Python Python is not set from environment variable PYTHON
gyp verb find Python checking if "python" can be used
gyp verb find Python - executing "python" to get executable path
gyp verb find Python - executable path is "/bin/python"
gyp verb find Python - executing "/bin/python" to get version
gyp verb find Python - version is "2.7.5"
gyp info find Python using Python version 2.7.5 found at "/bin/python"
gyp verb get node dir no --target version specified, falling back to host node version: 14.0.0
gyp verb command install [ '14.0.0' ]
gyp verb install input version string "14.0.0"
gyp verb install installing version: 14.0.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp WARN EACCES current user ("jesse") does not have permission to access the dev dir "/root/.cache/node-gyp/14.0.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/mpath/api/node_modules/heapdump/.node-gyp"
gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
gyp verb command install [ '--node_gyp_internal_noretry', '14.0.0' ]
gyp verb install input version string "14.0.0"
gyp verb install installing version: 14.0.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version not already installed, continuing with install 14.0.0
gyp verb ensuring nodedir is created /opt/mpath/api/node_modules/heapdump/.node-gyp/14.0.0
gyp WARN install got an error, rolling back install
gyp verb command remove [ '14.0.0' ]
gyp verb remove using node-gyp dir: /opt/mpath/api/node_modules/heapdump/.node-gyp
gyp verb remove removing target version: 14.0.0
gyp verb remove removing development files for version: 14.0.0
gyp WARN install got an error, rolling back install
gyp verb command remove [ '14.0.0' ]
gyp verb remove using node-gyp dir: /opt/mpath/api/node_modules/heapdump/.node-gyp
gyp verb remove removing target version: 14.0.0
gyp verb remove removing development files for version: 14.0.0
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/mpath/api/node_modules/heapdump/.node-gyp'
gyp ERR! System Linux 3.10.0-1062.18.1.el7.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/mpath/api/node_modules/heapdump
gyp ERR! node -v v14.0.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok

Please upgrade your Python.  v2.7.5 is 8 years old and contains well documented security flaws so running it as sudo is not a good idea.  Python 2 is end of life at v2.7.18.  If possible, please consider upgrading to something more current like v3.8.2.

Key Facts: npm is running via sudo. SUDO_USER is "jesse" [..] The bug is that node-gyp should never be opening anything as SUDO_USER.

There's no bug. node-gyp is invoked as user 'jesse' but you didn't update $HOME to point to /home/jesse or wherever that user's home dir is, it's still pointing to /root.
In other words, you should fix your sudoers setup. See https://unix.stackexchange.com/a/91572 for tips.


Only HLS works

For both my cameras I see no proper stream in MSE and WebRTC, but works fine with HLS.
For MSE, the camera loads, but just after a few seconds it get stuck and I see this error:
ERRO[2022-02-14T21:32:02+01:00] stream no video                               call=ErrorStreamNoVideo channel=0 func=HTTPAPIServerStreamMSE module=http_mse stream=5171db18-46f0-4b20-ba1f-a64ace0b26c9
ERRO[2022-02-14T21:32:02+01:00] read tcp <IP_ADDRESS>:8083-><IP_ADDRESS>:55972: use of closed network connection  call=Receive channel=0 func=HTTPAPIServerStreamMSE module=http_mse stream=5171db18-46f0-4b20-ba1f-a64ace0b26c9
ERRO[2022-02-14T21:32:02+01:00] <nil>                                         call=Close channel=0 func=HTTPAPIServerStreamMSE module=http_mse stream=5171db18-46f0-4b20-ba1f-a64ace0b26c9
INFO[2022-02-14T21:32:02+01:00] Client Full Exit

For WebRTC the camera never loads, and a loading indicator is shown
ERRO[2022-02-14T21:30:16+01:00] stream no video                               call=ErrorStreamNoVideo channel=0 func=HTTPAPIServerStreamWebRTC module=http_webrtc stream=9f6de91a-2745-4c24-ad77-5b22ca8b25b2
2022/02/14 21:30:23 [OPTIONS rtsp://<IP_ADDRESS>:554/onvif1 RTSP/1.0
CSeq: 5
Require: implicit-play
User-Agent: Lavf58.76.100
Session: 1a1078f9

]
ERRO[2022-02-14T21:30:26+01:00] stream no video                               call=ErrorStreamNoVideo channel=0 func=HTTPAPIServerStreamWebRTC module=http_webrtc stream=9f6de91a-2745-4c24-ad77-5b22ca8b25b2
2022/02/14 21:30:49 [OPTIONS rtsp://<IP_ADDRESS>:554/onvif1 RTSP/1.0
CSeq: 6
Require: implicit-play
User-Agent: Lavf58.76.100
Session: 1a1078f9

]

Am I missing something with camera configurations or is this a bug?

It works for a while actually, I have installed it outside the container and it's ok. Not sure what makes webRTC not work in an LXC container.
It still crashes in a few seconds with the following error, running on a raspberry pi 4
2022/02/14 21:22:11 [OPTIONS rtsp://<IP_ADDRESS>:554/onvif1 RTSP/1.0
CSeq: 12
Require: implicit-play
User-Agent: Lavf58.76.100
Session: 3b5fc8e2

]

share you camera stream and send me url

Thank you for your interest! Sent you my streams by email

I can confirm this issue. I was using @allenporter  ghcr.io/allenporter/amd64-rtsp-to-web:latest. Out of container it working fine.

need update?

I'm using HomeAssistant core setup, so not using the addon. But so it doesn't work for the addon as well @luzik?
I haven't tried on Docker, but had issues having websocket stream in an LXC container.

I'm not sure how Lxc container, works but assuming it's like docker is there a motion of opening or using the host network? HLS uses everything over http however webrtc needs, for example, some udp ports opened up.

I think this can be the issue, that I didn't forward the right ports, I started by having a clue at what ports I need from here
I have pulled the latest changes just now and tested the stream and these are my results running on the host Raspberry PI
Stream URL used: rtsp://xxx:xxx@<IP_ADDRESS>:5541/Streaming/Channels/101/
rtsp_port used in config.json: 5541
In Play webrtc video page: Stream loads fine but breaks after a few seconds
Logs from page load till stream breaks:
ERRO[2022-02-19T14:27:21Z] WebRTC Client Offline                         call=WritePacket channel=0 func=HTTPAPIServerStreamWebRTC module=http_webrtc stream=d342e19a-5894-4094-a492-3b23c07c2b54
2022/02/19 14:27:23 [OPTIONS rtsp://<IP_ADDRESS>:5541/Streaming/Channels/101/ RTSP/1.0
CSeq: 22
Authorization: Digest username="admin", realm="IP Camera(E3293)", nonce="dd393a305d1ba08f9d088f3f720ee0e3", uri="rtsp://<IP_ADDRESS>:5541/Streaming/Channels/101/", response="b522cd05187b79e94073e8ff34798655"
Require: implicit-play
User-Agent: Lavf58.76.100
Session:<PHONE_NUMBER>

]
2022/02/19 14:27:23 [OPTIONS rtsp://<IP_ADDRESS>:5541/Streaming/Channels/101/ RTSP/1.0
CSeq: 22
Authorization: Digest username="admin", realm="IP Camera(E3293)", nonce="2dc706f9f54322a04a954f203162f7f7", uri="rtsp://<IP_ADDRESS>:5541/Streaming/Channels/101/", response="d1b3c27f82095bc5f8484d002c5a7229"
Require: implicit-play
User-Agent: Lavf58.76.100
Session:<PHONE_NUMBER>

]
ERRO[2022-02-19T14:27:33Z] stream no video                               call=ErrorStreamNoVideo channel=0 func=HTTPAPIServerStreamWebRTC module=http_webrtc stream=d342e19a-5894-4094-a492-3b23c07c2b54

In Play mse video: Stream loads but breaks after a few seconds
Logs from page load till stream breaks:
ERRO[2022-02-19T14:26:26Z] EOF                                           call=Receive channel=0 func=HTTPAPIServerStreamMSE module=http_mse stream=d342e19a-5894-4094-a492-3b23c07c2b54
ERRO[2022-02-19T14:26:26Z] Client Reader Exit                            call=controlExit channel=0 func=HTTPAPIServerStreamMSE module=http_mse stream=d342e19a-5894-4094-a492-3b23c07c2b54
ERRO[2022-02-19T14:26:26Z] <nil>                                         call=Close channel=0 func=HTTPAPIServerStreamMSE module=http_mse stream=d342e19a-5894-4094-a492-3b23c07c2b54
INFO[2022-02-19T14:26:26Z] Client Full Exit
2022/02/19 14:26:31 [OPTIONS rtsp://<IP_ADDRESS>:5541/Streaming/Channels/101/ RTSP/1.0
CSeq: 20
Authorization: Digest username="admin", realm="IP Camera(E3293)", nonce="dd393a305d1ba08f9d088f3f720ee0e3", uri="rtsp://<IP_ADDRESS>:5541/Streaming/Channels/101/", response="b522cd05187b79e94073e8ff34798655"
Require: implicit-play
Session:<PHONE_NUMBER>
User-Agent: Lavf58.76.100

]
2022/02/19 14:26:31 [OPTIONS rtsp://<IP_ADDRESS>:5541/Streaming/Channels/101/ RTSP/1.0
CSeq: 20
Authorization: Digest username="admin", realm="IP Camera(E3293)", nonce="2dc706f9f54322a04a954f203162f7f7", uri="rtsp://<IP_ADDRESS>:5541/Streaming/Channels/101/", response="d1b3c27f82095bc5f8484d002c5a7229"
Require: implicit-play
User-Agent: Lavf58.76.100
Session:<PHONE_NUMBER>

]
ERRO[2022-02-19T14:26:44Z] stream no video                               call=ErrorStreamNoVideo channel=0 func=HTTPAPIServerStreamMSE module=http_mse stream=d342e19a-5894-4094-a492-3b23c07c2b54
ERRO[2022-02-19T14:26:44Z] read tcp <IP_ADDRESS>:8083-><IP_ADDRESS>:62776: use of closed network connection  call=Receive channel=0 func=HTTPAPIServerStreamMSE module=http_mse stream=d342e19a-5894-4094-a492-3b23c07c2b54
ERRO[2022-02-19T14:26:44Z] <nil>                                         call=Close channel=0 func=HTTPAPIServerStreamMSE module=http_mse stream=d342e19a-5894-4094-a492-3b23c07c2b54
INFO[2022-02-19T14:26:44Z] Client Full Exit

All fine with HLS
When running in container same results except that WebRTC never loads. I have opened port 5541 and 8083 both TCP and UDP.

How about when using host network? That config file you pointed to is using the host network.

As I understand it, the issue here is with the port forwarding of the container and not with the project as a whole?

If you have an example how to do it I can do it.

can i read ports from flags or global variables (ENV) or can i do

local storage of the configuration file not in the container

on startup, extract the ports from the config file and add them to the docker startup keys

My issues are two actually, 1. that it's not working on container with the setup I configured and 2. on my host webrtc and mse streams stop like after 5 seconds
In my previous comment I was testing directly on the host and comparing the results to that of the container.
@deepch if you are interested to setup an LXC container you can follow the below. Keep in that I'm using a Raspberry Pi running on Raspbian debian 11 with LAN IP <IP_ADDRESS>
Install LXD
apt-get snapd
snap install core
snap install lxd

Setup LXD
lxd init

Setup inputs...
expect "Would you like to use LXD clustering?"
send -- "\r"
expect "Do you want to configure a new storage pool?"
send -- "\r"
expect "Name of the new storage pool"
send -- "\r"
expect "Name of the storage backend to use"
send -- "\r"
expect "Create a new BTRFS pool?"
send -- "\r"
expect "Would you like to use an existing empty block device"
send -- "\r"
expect "Size in GB of the new loop device"
send -- "\r"
expect "Would you like to connect to a MAAS server?"
send -- "\r"
expect "Would you like to create a new local network bridge?"
send -- "\r"
expect "What should the new bridge be called?"
send -- "\r"
expect "What IPv4 address should be used?"
send -- "<IP_ADDRESS>/24\r"
expect "Would you like LXD to NAT IPv4 traffic on your bridge?"
send -- "\r"
expect "What IPv6 address should be used?"
send -- "none\r"
expect "Would you like the LXD server to be available over the network?"
send -- "\r"
expect "Would you like stale cached images to be updated automatically?"
send -- "\r"
expect "Would you like a YAML \"lxd init\" preseed to be printed?"
send -- "\r"

Create two yaml files:
container.yaml
config:
  boot.autostart: true
  boot.autostart.delay: 5
  environment.TZ: Europe/Malta
description: ""
devices:
  root:
    path: /
    pool: default
    type: disk
name: container
used_by: []

webrtc.yaml (here is where the port forwarding is configured - the machine should have these ports free)
config:
  boot.autostart.priority: "8"
description: ""
devices:
  eth0:
    ipv4.address: <IP_ADDRESS>
    name: eth0
    network: lxdbr0
    type: nic
  proxy5541UDP:
    connect: udp:<IP_ADDRESS>:5541
    listen: udp:<IP_ADDRESS>:5541
    type: proxy
  proxy5541:
    connect: tcp:<IP_ADDRESS>:5541
    listen: tcp:<IP_ADDRESS>:5541
    type: proxy
  proxy8083:
    connect: tcp:<IP_ADDRESS>:8083
    listen: tcp:<IP_ADDRESS>:8083
    type: proxy
  proxy8083UDP:
    connect: udp:<IP_ADDRESS>:8083
    listen: udp:<IP_ADDRESS>:8083
    type: proxy
name: webrtc
used_by: []

Create LXD profiles
cat .container.yaml | lxc profile edit container
cat .webrtc.yaml | lxc profile edit webrtc

Launch the container
lxc launch images:debian/11/armhf webrtc -p container -p webrtc

Let me know if you are interested and need any more info

I'm using HomeAssistant core setup, so not using the addon. But so it doesn't work for the addon as well @luzik? Was tempted to try out Docker setup once I have time.
I haven't tried on Docker, but had issues having websocket stream in an LXC container.

No, my setup is home assistant in docker no hass, no addons. So this is probably only issue with port forwarding, or I have outdated docker image (Version: 2022-02-19 16:51:00.446258043)
My docker-compose
homeassistant:
container_name: homeassistant
image: homeassistant/home-assistant:stable
environment:
- TZ=Europe/Warsaw
restart: unless-stopped
ports:
- 8123:8123
depends_on:
- influxdb
- mosquitto
- mariadb
#- glances
- shinobi
- motioneye
volumes:
- ~/ha/homeassistant:/config
devices:
- /dev/serial/by-id/usb-1a86_USB2.0-Ser_-if00-port0:/dev/ttyUSB0
rtsp-to-web:
image: ghcr.io/allenporter/amd64-rtsp-to-web:latest
container_name: rtsp-to-web
restart: unless-stopped
ports:
- 8230:8083
- 5541:5541
- 5353:5353
As you can see those ports are exposed and webrtc do not work

I've added a docker example: https://github.com/deepch/RTSPtoWeb#installation-from-docker -- you need to use host network

@allenporter with using the host network, you mean not to use a virtual bridge interface setup at the host ( used for containers ), but to use the host physical network interface?

I don't know the LXC details, but if you're relying on forwarding individual ports you may not be getting everything.

I believe that we are talking about same issue. @xiki808 just using different virtualization. If ports generated for webrtc are random, then lxc will need bridge mode because I don't know --network host lxc substitute. For docker this option is working fine.
@allenporter please add docker-compose example to your documentation

  rtsp-to-web:
    image: ghcr.io/allenporter/amd64-rtsp-to-web:latest
    restart: unless-stopped
    network_mode: host

I see, ok thanks guys, will see what I can do for LXC there and will post here once I find something.
Do you have any suggestions why my webrtc and mse are stopping after just a few settings? This I can observe when I setup this project on the host system.

For more info regarding stream stopping after few seconds, in browser console I find this log:

Would really appreciate any guidance on this!

Any progress on this issue, I got same issue when connect to internet by IPV6, only HLS works.


DIST different repo staging problem

Hey guys, awesome utility you've got here.
I've got only one problem so far, when publishing to a different dist repo, the way the distribution files are staged is a bit not ok for me.
I used verbose  mode and I saw that that  staging of a dist repo is updating like this
git add . --update
this means (and I've stumbled on it) that only updated files are getting to the dist repo, if I add a new file to my angular module it will not be pushed to the dist repo.
My use case is a private angular 6 library, with a structure which isn't always the same, especially in initial development, and new files won't get added to the release repo.
Is there an option to tell release-it on staging the dist files to just  git add . without update ?
Thanks a lot,
Arthur.

Awesome!
Just tried it out, it works!
Thanks a lot @webpro


Fix error in readme

Related Issue: https://github.com/ptarjan/node-cache/issues/90

Hi @ptarjan! Do you intend to merge this? If so, you can close this one too, since it's the same: https://github.com/ptarjan/node-cache/pull/100


Instal the client before publishing the client mount

Follow-up to #2678
We need to install the client to run the mount publishing steps.

@prbot approve to unbreak deploys

one day i'll learn how to spell


Colors: use start++ instead of adding it manually after case

Description
Code is self-explanatory. Just a small detail.

Neato! :+1:


Allow the bookmark store in the local file

allow bookmark store in a json file in local project, so we can git commit the bookmarks

there is a same issue


Update dependencies

Update dependencies & fix router deprecated message.

Pull Request Test Coverage Report for Build 69

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.861%

Totals

Change from base Build 63:
0.0%

Covered Lines:
443

Relevant Lines:
467

💛  - Coveralls

So quick so fast