Sunday, April 07, 2024

OpenBSD 7.5 - relayd -> vaultwarden - websockets payload not working

I have been running the Vaultwarden password manager behind relayd for a couple of years now, and have spun up a new 7.5 VM on Vultr to test.

I'm using pkg_add to install the binary package for the 7.5 release - vaultwarden-1.30.5, so nothing nonstandard.

The problem - Vaultwarden uses a websockets connection to push changes to user data in real time to all connected devices, and on 7.5 with relayd acting as reverse proxy, websockets sessions get established successfully, but no payload is able to pass from the server to the client.

Here are two images that show the dev console in Firefox - https://imgur.com/a/msvyXbX

The first image shows websockets working correctly when public traffic is directed to Vaultwarden's Rocket server without using relayd as a reverse proxy.

The second image shows relayd in place; no websockets payload can pass and the Vaultwarden application cannot push changes to user data.

Relayd worked great for Vaultwarden in 7.4 and earlier. I saw that relayd got touched in the changelogs.

My relayd.conf is:
------------------------------------------------------------------------
table <vaultwarden-default-host> { localhost }

# protocol definition for vaultwarden with tls
http protocol vaultwarden-https {

        # forward connections to vaultwarden rocket
        match request path "/*" forward to <vaultwarden-default-host>

        # add headers vaultwarden may need
        match request header append "Host" value "$HOST"
        match request header append "X-Real-IP" value "$REMOTE_ADDR"
        match request header append "X-Forwarded-For" value "$REMOTE_ADDR"
        match request header append "X-Forwarded-By" value "$SERVER_ADDR:$SERVER_PORT"
        match request header append "CF-Connecting-IP" value "$REMOTE_ADDR"

        # various TCP options
        tcp { nodelay, sack, backlog 128 }

        # tls config
        tls keypair vault.example.com
        tls { no tlsv1.0, ciphers HIGH }

        # allow websockets - this is nice it handles all the headers no need for manual header edits
        http websockets
}

# relay definition for vaultwarden - forward inbound 443 tls on the egress interface to rocket on default port 8000
relay vaultwarden-https-relay {
        listen on egress port 443 tls
        protocol vaultwarden-https
        forward to <vaultwarden-default-host> port 8000
}
------------------------------------------------------------------------

And dmesg (VM on vultr) is:
------------------------------------------------------------------------
OpenBSD 7.5 (GENERIC.MP) #82: Wed Mar 20 15:48:40 MDT 2024
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4278042624 (4079MB)
avail mem = 4127375360 (3936MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0
acpi0 at bios0: ACPI 3.0
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP APIC HPET MCFG WAET
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD EPYC-Rome Processor, 1996.57 MHz, 17-31-00
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,AMCR8,ABM,SSE4A,MASSE,OSVW,TOPEXT,CPCTR,FSGSBASE,BMI1,AVX2,SMEP,BMI2,CLFLUSHOPT,CLWB,SHA,UMIP,IBRS,IBPB,SSBD,IBPB,STIBP,XSAVEOPT,XSAVES
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 1000MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD EPYC-Rome Processor, 1996.74 MHz, 17-31-00
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,AMCR8,ABM,SSE4A,MASSE,OSVW,TOPEXT,CPCTR,FSGSBASE,BMI1,AVX2,SMEP,BMI2,CLFLUSHOPT,CLWB,SHA,UMIP,IBRS,IBPB,SSBD,IBPB,STIBP,XSAVEOPT,XSAVES
cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu1: smt 1, core 0, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 11, 24 pins
acpihpet0 at acpi0: 100000000 Hz
acpimcfg0 at acpi0
acpimcfg0: addr 0xb0000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
"ACPI0006" at acpi0 not configured
acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000
"PNP0A06" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"QEMU0002" at acpi0 not configured
acpicmos0 at acpi0
"ACPI0010" at acpi0 not configured
acpicpu0 at acpi0: C1(@1 halt!)
acpicpu1 at acpi0: C1(@1 halt!)
pvbus0 at mainbus0: KVM
pvclock0 at pvbus0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82G33 Host" rev 0x00
vga1 at pci0 dev 1 function 0 "Bochs VGA" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb0 at pci0 dev 2 function 0 "Red Hat PCIE" rev 0x00: apic 0 int 22
pci1 at ppb0 bus 1
virtio0 at pci1 dev 0 function 0 "Qumranet Virtio 1.x Network" rev 0x01
vio0 at virtio0: address 56:00:04:d7:dd:16
virtio0: msix per-VQ
ppb1 at pci0 dev 2 function 1 "Red Hat PCIE" rev 0x00: apic 0 int 22
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 "Red Hat PCI" rev 0x00
pci3 at ppb2 bus 3
"Intel 6300ESB WDT" rev 0x00 at pci3 dev 1 function 0 not configured
ppb3 at pci0 dev 2 function 2 "Red Hat PCIE" rev 0x00: apic 0 int 22
pci4 at ppb3 bus 4
xhci0 at pci4 dev 0 function 0 "Red Hat xHCI" rev 0x01: msix, xHCI 0.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Red Hat xHCI root hub" rev 3.00/1.00 addr 1
ppb4 at pci0 dev 2 function 3 "Red Hat PCIE" rev 0x00: apic 0 int 22
pci5 at ppb4 bus 5
virtio1 at pci5 dev 0 function 0 "Qumranet Virtio 1.x Storage" rev 0x01
vioblk0 at virtio1
scsibus1 at vioblk0: 1 targets
sd0 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, >
sd0: 51200MB, 512 bytes/sector, 104857600 sectors
virtio1: msix per-VQ
ppb5 at pci0 dev 2 function 4 "Red Hat PCIE" rev 0x00: apic 0 int 22
pci6 at ppb5 bus 6
virtio2 at pci6 dev 0 function 0 "Qumranet Virtio 1.x Memory Balloon" rev 0x01
viomb0 at virtio2
virtio2: apic 0 int 22
ppb6 at pci0 dev 2 function 5 "Red Hat PCIE" rev 0x00: apic 0 int 22
pci7 at ppb6 bus 7
virtio3 at pci7 dev 0 function 0 "Qumranet Virtio 1.x RNG" rev 0x01
viornd0 at virtio3
virtio3: msix per-VQ
ppb7 at pci0 dev 2 function 6 "Red Hat PCIE" rev 0x00: apic 0 int 22
pci8 at ppb7 bus 8
ppb8 at pci0 dev 2 function 7 "Red Hat PCIE" rev 0x00: apic 0 int 22
pci9 at ppb8 bus 9
ppb9 at pci0 dev 3 function 0 "Red Hat PCIE" rev 0x00: apic 0 int 23
pci10 at ppb9 bus 10
ppb10 at pci0 dev 3 function 1 "Red Hat PCIE" rev 0x00: apic 0 int 23
pci11 at ppb10 bus 11
ppb11 at pci0 dev 3 function 2 "Red Hat PCIE" rev 0x00: apic 0 int 23
pci12 at ppb11 bus 12
ppb12 at pci0 dev 3 function 3 "Red Hat PCIE" rev 0x00: apic 0 int 23
pci13 at ppb12 bus 13
ppb13 at pci0 dev 3 function 4 "Red Hat PCIE" rev 0x00: apic 0 int 23
pci14 at ppb13 bus 14
ppb14 at pci0 dev 3 function 5 "Red Hat PCIE" rev 0x00: apic 0 int 23
pci15 at ppb14 bus 15
ppb15 at pci0 dev 3 function 6 "Red Hat PCIE" rev 0x00: apic 0 int 23
pci16 at ppb15 bus 16
ppb16 at pci0 dev 3 function 7 "Red Hat PCIE" rev 0x00: apic 0 int 23
pci17 at ppb16 bus 17
ppb17 at pci0 dev 4 function 0 "Red Hat PCIE" rev 0x00: apic 0 int 20
pci18 at ppb17 bus 18
ppb18 at pci0 dev 4 function 1 "Red Hat PCIE" rev 0x00: apic 0 int 20
pci19 at ppb18 bus 19
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: msi
azalia0: No codecs found
pcib0 at pci0 dev 31 function 0 "Intel 82801IB LPC" rev 0x02
ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x02: msi, AHCI 1.0
ahci0: port 2: 1.5Gb/s
scsibus2 at ahci0: 32 targets
cd0 at scsibus2 targ 2 lun 0: <QEMU, QEMU DVD-ROM, 2.5+> removable
ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x02: apic 0 int 16
iic0 at ichiic0
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
uhidev0 at uhub0 port 5 configuration 1 interface 0 "QEMU QEMU USB Tablet" rev 2.00/0.00 addr 2
uhidev0: iclass 3/0
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd0a (c7f9b5c386becdce.a) swap on sd0b dump on sd0b
------------------------------------------------------------------------

Here are the Vaultwarden logs for the roughly 30 second period from logging in and establishing the websockets session to when the session is closed, never having received any payload from the server.

------------------------------------------------------------------------
[2024-04-07 20:30:09.554][routes][INFO] GET    /attachments/<uuid>/<file_id>?<token>
[2024-04-07 20:30:09.554][routes][INFO] POST   /events/collect
[2024-04-07 20:30:09.554][routes][INFO] GET    /icons/<domain>/icon.png
[2024-04-07 20:30:09.554][routes][INFO] POST   /identity/accounts/prelogin
[2024-04-07 20:30:09.554][routes][INFO] POST   /identity/accounts/register
[2024-04-07 20:30:09.554][routes][INFO] POST   /identity/connect/token
[2024-04-07 20:30:09.554][routes][INFO] GET    /notifications/anonymous-hub?<token..>
[2024-04-07 20:30:09.554][routes][INFO] GET    /notifications/hub?<data..>
[2024-04-07 20:30:09.555][routes][INFO] GET    /vw_static/<filename> [2]
[2024-04-07 20:30:09.555][start][INFO] Rocket has launched from http://127.0.0.1:8000
[2024-04-07 20:30:26.087][tracing::span][TRACE] parse_headers;
[2024-04-07 20:30:26.087][tracing::span::active][TRACE] -> parse_headers;
[2024-04-07 20:30:26.087][tracing::span::active][TRACE] <- parse_headers;
[2024-04-07 20:30:26.087][tracing::span][TRACE] -- parse_headers;
[2024-04-07 20:30:26.087][request][INFO] GET /api/accounts/revision-date
[2024-04-07 20:30:26.089][response][INFO] (revision_date) GET /api/accounts/revision-date => 200 OK
[2024-04-07 20:30:26.089][tracing::span][TRACE] encode_headers;
[2024-04-07 20:30:26.089][tracing::span::active][TRACE] -> encode_headers;
[2024-04-07 20:30:26.090][tracing::span::active][TRACE] <- encode_headers;
[2024-04-07 20:30:26.090][tracing::span][TRACE] -- encode_headers;
[2024-04-07 20:30:26.176][tracing::span][TRACE] parse_headers;
[2024-04-07 20:30:26.177][tracing::span::active][TRACE] -> parse_headers;
[2024-04-07 20:30:26.177][tracing::span::active][TRACE] <- parse_headers;
[2024-04-07 20:30:26.177][tracing::span][TRACE] -- parse_headers;
[2024-04-07 20:30:26.177][request][INFO] GET /notifications/hub?access_token=eyJ0eXAiOiJKV1QiL
[2024-04-07 20:30:26.177][vaultwarden::api::notifications][INFO] Accepting Rocket WS connection from 123.45.678.90
[2024-04-07 20:30:26.177][response][INFO] (websockets_hub) GET /notifications/hub?<data..> => 200 OK
[2024-04-07 20:30:26.177][tracing::span][TRACE] encode_headers;
[2024-04-07 20:30:26.177][tracing::span::active][TRACE] -> encode_headers;
[2024-04-07 20:30:26.177][tracing::span::active][TRACE] <- encode_headers;
[2024-04-07 20:30:26.177][tracing::span][TRACE] -- encode_headers;
[2024-04-07 20:30:26.177][hyper::upgrade][TRACE] pending upgrade fulfill
[2024-04-07 20:30:26.178][tokio_tungstenite::handshake][TRACE] Setting context when skipping handshake
[2024-04-07 20:30:26.178][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:288 Stream.poll_next
[2024-04-07 20:30:26.178][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:243 WebSocketStream.with_context
[2024-04-07 20:30:26.178][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:298 Stream.with_context poll_next -> read()
[2024-04-07 20:30:26.178][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:149 Read.read
[2024-04-07 20:30:26.178][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:126 AllowStd.with_context
[2024-04-07 20:30:26.178][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:152 Read.with_context read -> poll_read
[2024-04-07 20:30:26.178][tokio_tungstenite::compat][TRACE] WouldBlock
[2024-04-07 20:30:26.197][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:243 WebSocketStream.with_context
[2024-04-07 20:30:26.197][tungstenite::protocol][TRACE] Sending frame: Frame { header: FrameHeader { is_final: true, rsv1: false, rsv2: false, rsv3: false, opcode: Control(Ping), mask: None }, payload: [2, 145, 6] }
[2024-04-07 20:30:26.197][tungstenite::protocol::frame][TRACE] writing frame
<FRAME>
final: true
reserved: false false false
opcode: PING
length: 5
payload length: 3
payload: 0x029106

[2024-04-07 20:30:26.197][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:243 WebSocketStream.with_context
[2024-04-07 20:30:26.197][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:167 Write.write
[2024-04-07 20:30:26.197][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:126 AllowStd.with_context
[2024-04-07 20:30:26.197][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:169 Write.with_context write -> poll_write
[2024-04-07 20:30:26.197][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:178 Write.flush
[2024-04-07 20:30:26.197][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:126 AllowStd.with_context
[2024-04-07 20:30:26.197][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:180 Write.with_context flush -> poll_flush
[2024-04-07 20:30:26.198][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:288 Stream.poll_next
[2024-04-07 20:30:26.198][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:243 WebSocketStream.with_context
[2024-04-07 20:30:26.198][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:298 Stream.with_context poll_next -> read()
[2024-04-07 20:30:26.198][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:149 Read.read
[2024-04-07 20:30:26.198][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:126 AllowStd.with_context
[2024-04-07 20:30:26.198][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:152 Read.with_context read -> poll_read
[2024-04-07 20:30:26.198][tokio_tungstenite::compat][TRACE] WouldBlock
[2024-04-07 20:30:26.217][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:288 Stream.poll_next
[2024-04-07 20:30:26.217][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:243 WebSocketStream.with_context
[2024-04-07 20:30:26.218][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:298 Stream.with_context poll_next -> read()
[2024-04-07 20:30:26.218][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:149 Read.read
[2024-04-07 20:30:26.218][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:126 AllowStd.with_context
[2024-04-07 20:30:26.218][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:152 Read.with_context read -> poll_read
[2024-04-07 20:30:26.218][tungstenite::protocol::frame::frame][TRACE] Parsed headers [129, 167]
[2024-04-07 20:30:26.218][tungstenite::protocol::frame::frame][TRACE] First: 10000001
[2024-04-07 20:30:26.218][tungstenite::protocol::frame::frame][TRACE] Second: 10100111
[2024-04-07 20:30:26.218][tungstenite::protocol::frame::frame][TRACE] Opcode: Data(Text)
[2024-04-07 20:30:26.218][tungstenite::protocol::frame::frame][TRACE] Masked: true
[2024-04-07 20:30:26.218][tungstenite::protocol::frame][TRACE] received frame
<FRAME>
final: true
reserved: false false false
opcode: TEXT
length: 45
payload length: 39
payload: 0x2aca49593e9c56483e841b1173855c5822895e4e21895a4073c41b5d349a4a423e861b11609527

[2024-04-07 20:30:26.218][tungstenite::protocol][TRACE] Received message {"protocol":"messagepack","version":1}
[2024-04-07 20:30:26.218][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:243 WebSocketStream.with_context
[2024-04-07 20:30:26.218][tungstenite::protocol][TRACE] Sending frame: Frame { header: FrameHeader { is_final: true, rsv1: false, rsv2: false, rsv3: false, opcode: Data(Binary), mask: None }, payload: [123, 125, 30] }
[2024-04-07 20:30:26.218][tungstenite::protocol::frame][TRACE] writing frame
<FRAME>
final: true
reserved: false false false
opcode: BINARY
length: 5
payload length: 3
payload: 0x7b7d1e

[2024-04-07 20:30:26.218][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:243 WebSocketStream.with_context
[2024-04-07 20:30:26.218][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:167 Write.write
[2024-04-07 20:30:26.218][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:126 AllowStd.with_context
[2024-04-07 20:30:26.218][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:169 Write.with_context write -> poll_write
[2024-04-07 20:30:26.218][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:178 Write.flush
[2024-04-07 20:30:26.218][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:126 AllowStd.with_context
[2024-04-07 20:30:26.218][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:180 Write.with_context flush -> poll_flush
[2024-04-07 20:30:26.218][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:288 Stream.poll_next
[2024-04-07 20:30:26.218][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:243 WebSocketStream.with_context
[2024-04-07 20:30:26.218][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:298 Stream.with_context poll_next -> read()
[2024-04-07 20:30:26.218][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:149 Read.read
[2024-04-07 20:30:26.219][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:126 AllowStd.with_context
[2024-04-07 20:30:26.219][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:152 Read.with_context read -> poll_read
[2024-04-07 20:30:26.219][tokio_tungstenite::compat][TRACE] WouldBlock
[2024-04-07 20:30:39.547][vaultwarden::api::core::accounts][DEBUG] Purging auth requests
[2024-04-07 20:30:39.547][vaultwarden::api::core::two_factor][DEBUG] Sending notifications for incomplete 2FA logins
[2024-04-07 20:30:41.197][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:243 WebSocketStream.with_context
[2024-04-07 20:30:41.197][tungstenite::protocol][TRACE] Sending frame: Frame { header: FrameHeader { is_final: true, rsv1: false, rsv2: false, rsv3: false, opcode: Control(Ping), mask: None }, payload: [2, 145, 6] }
[2024-04-07 20:30:41.198][tungstenite::protocol::frame][TRACE] writing frame
<FRAME>
final: true
reserved: false false false
opcode: PING
length: 5
payload length: 3
payload: 0x029106

[2024-04-07 20:30:41.198][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:243 WebSocketStream.with_context
[2024-04-07 20:30:41.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:167 Write.write
[2024-04-07 20:30:41.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:126 AllowStd.with_context
[2024-04-07 20:30:41.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:169 Write.with_context write -> poll_write
[2024-04-07 20:30:41.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:178 Write.flush
[2024-04-07 20:30:41.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:126 AllowStd.with_context
[2024-04-07 20:30:41.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:180 Write.with_context flush -> poll_flush
[2024-04-07 20:30:41.199][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:288 Stream.poll_next
[2024-04-07 20:30:41.199][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:243 WebSocketStream.with_context
[2024-04-07 20:30:41.199][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:298 Stream.with_context poll_next -> read()
[2024-04-07 20:30:41.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:149 Read.read
[2024-04-07 20:30:41.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:126 AllowStd.with_context
[2024-04-07 20:30:41.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:152 Read.with_context read -> poll_read
[2024-04-07 20:30:41.199][tokio_tungstenite::compat][TRACE] WouldBlock
[2024-04-07 20:30:56.197][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:243 WebSocketStream.with_context
[2024-04-07 20:30:56.197][tungstenite::protocol][TRACE] Sending frame: Frame { header: FrameHeader { is_final: true, rsv1: false, rsv2: false, rsv3: false, opcode: Control(Ping), mask: None }, payload: [2, 145, 6] }
[2024-04-07 20:30:56.198][tungstenite::protocol::frame][TRACE] writing frame
<FRAME>
final: true
reserved: false false false
opcode: PING
length: 5
payload length: 3
payload: 0x029106

[2024-04-07 20:30:56.198][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:243 WebSocketStream.with_context
[2024-04-07 20:30:56.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:167 Write.write
[2024-04-07 20:30:56.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:126 AllowStd.with_context
[2024-04-07 20:30:56.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:169 Write.with_context write -> poll_write
[2024-04-07 20:30:56.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:178 Write.flush
[2024-04-07 20:30:56.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:126 AllowStd.with_context
[2024-04-07 20:30:56.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:180 Write.with_context flush -> poll_flush
[2024-04-07 20:30:56.199][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:288 Stream.poll_next
[2024-04-07 20:30:56.199][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:243 WebSocketStream.with_context
[2024-04-07 20:30:56.199][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:298 Stream.with_context poll_next -> read()
[2024-04-07 20:30:56.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:149 Read.read
[2024-04-07 20:30:56.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:126 AllowStd.with_context
[2024-04-07 20:30:56.199][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:152 Read.with_context read -> poll_read
[2024-04-07 20:30:56.199][tokio_tungstenite::compat][TRACE] WouldBlock
[2024-04-07 20:30:56.221][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:288 Stream.poll_next
[2024-04-07 20:30:56.222][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:243 WebSocketStream.with_context
[2024-04-07 20:30:56.222][tokio_tungstenite][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/lib.rs:298 Stream.with_context poll_next -> read()
[2024-04-07 20:30:56.222][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:149 Read.read
[2024-04-07 20:30:56.222][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:126 AllowStd.with_context
[2024-04-07 20:30:56.222][tokio_tungstenite::compat][TRACE] /usr/obj/ports/vaultwarden-1.30.5/vaultwarden-1.30.5/modcargo-crates/tokio-tungstenite-0.20.1/src/compat.rs:152 Read.with_context read -> poll_read
[2024-04-07 20:30:56.222][tungstenite::protocol::frame::frame][TRACE] Parsed headers [136, 128]
[2024-04-07 20:30:56.222][tungstenite::protocol::frame::frame][TRACE] First: 10001000
[2024-04-07 20:30:56.222][tungstenite::protocol::frame::frame][TRACE] Second: 10000000
[2024-04-07 20:30:56.222][tungstenite::protocol::frame::frame][TRACE] Opcode: Control(Close)
[2024-04-07 20:30:56.222][tungstenite::protocol::frame::frame][TRACE] Masked: true
[2024-04-07 20:30:56.222][tungstenite::protocol::frame][TRACE] received frame
<FRAME>
final: true
reserved: false false false
opcode: CLOSE
length: 6
payload length: 0
payload: 0x

[2024-04-07 20:30:56.222][tungstenite::protocol][DEBUG] Received close frame: None
[2024-04-07 20:30:56.222][tungstenite::protocol][DEBUG] Replying to close with Frame { header: FrameHeader { is_final: true, rsv1: false, rsv2: false, rsv3: false, opcode: Control(Close), mask: None }, payload: [] }
[2024-04-07 20:30:56.223][tungstenite::protocol][TRACE] Received message
[2024-04-07 20:30:56.223][vaultwarden::api::notifications][INFO] Closing WS connection from 123.45.678.90
------------------------------------------------------------------------

Ollie

No comments:

Post a Comment