Cloudflared - Server error: caught panic in commit async: runtime error: invalid memory address or nil pointer dereference

#1

I’m attempting to use Cloudflare Access with Argo Tunnel to proxy through to a local Proxmox server. This exposes a web UI on port 8006.

Here is my ~/.cloudflared/config.yml:

hostname: host1.example.com
url: https://localhost:8006
logfile: /var/log/cloudflared.log
no-tls-verify: true

When I run cloudflared, I get the following error message printed to STDOUT:

ERRO[0081] Register tunnel error from server side        connectionID=0 error="Server error: caught panic in commit async: runtime error: invalid memory address or nil pointer dereference, stack: goroutine 6581907 [running]:\nruntime/debug.Stack(0x110, 0x120, 0x47e2e2)\n\t/usr/local/go/src/runtime/debug/stack.go:24 +0xa7\ncode.cfops.it/tun/cftunnel/zoneconfig.commitAsyncPanicErr(0xcc1e00, 0x177d350, 0x177d350, 0x84cda6)\n\t/cfsetup_build/src/code.cfops.it/tun/cftunnel/zoneconfig/configurationsyncer.go:325 +0x26\ncode.cfops.it/tun/cftunnel/zoneconfig.(*ConfigurationSyncer).commitAsync.func1(0xc000c27f30)\n\t/cfsetup_build/src/code.cfops.it/tun/cftunnel/zoneconfig/configurationsyncer.go:306 +0x56\npanic(0xcc1e00, 0x177d350)\n\t/usr/local/go/src/runtime/panic.go:513 +0x1b9\ncode.cfops.it/tun/cftunnel/provisioner.(*PostgresRecordSerializer).Set(0xc0004112f0, 0xee8480, 0xc0001c5540, 0xc002e4b910, 0x10, 0x0, 0x0, 0x0)\n\t/cfsetup_build/src/code.cfops.it/tun/cftunnel/provisioner/recordserializer.go:103 +0x45\ncode.cfops.it/tun/cftunnel/zoneconfig.(*ConfigurationSyncer).commitAsync(0xc000871b80, 0xee8480, 0xc0001c5540, 0xc002e4b910, 0x10, 0xc000658750, 0xc003519ea0, 0xc000658750, 0xc004525490, 0x1, ...)\n\t/cfsetup_build/src/code.cfops.it/tun/cftunnel/zoneconfig/configurationsyncer.go:313 +0x15c\ncode.cfops.it/tun/cftunnel/zoneconfig.(*ConfigurationSyncer).startCommitWorker(0xc000871b80, 0xee8480, 0xc0001c5540, 0xc008c8d980, 0xc00b3c1440)\n\t/cfsetup_build/src/code.cfops.it/tun/cftunnel/zoneconfig/configurationsyncer.go:289 +0x7d\ncreated by code.cfops.it/tun/cftunnel/zoneconfig.(*ConfigurationSyncer).syncKeys\n\t/cfsetup_build/src/code.cfops.it/tun/cftunnel/zoneconfig/configurationsyncer.go:183 +0x76e\n"

(Note that I previously had cloudflared running and working on a differnet Cloudflare account. However, it was the wrong email address. So I created a new Cloudlfare account, uninstalled and reinstalled cloudflared and have set it up again. Not sure if relevant - but let me know iw you need more details here).

0 Likes

CloudFlare Access and GSuite integration - does this work with Google Groups?