Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

POST request to /letsencrypt/autorenew results in traffic ops failure #4480

@ericholguin

Description

@ericholguin

I'm submitting a ...

  • bug report
  • new feature / enhancement request
  • improvement request (usability, performance, tech debt, etc.)
  • other

Traffic Control components affected ...

  • CDN in a Box
  • Documentation
  • Grove
  • Traffic Control Client
  • Traffic Monitor
  • Traffic Ops
  • Traffic Ops ORT
  • Traffic Portal
  • Traffic Router
  • Traffic Stats
  • Traffic Vault
  • unknown

Current behavior:

When making a POST request to letsencrypt/autorenew (empty request body) results in traffic ops failing with the following status:

Mar 10 20:24:11 ...: panic: runtime error: invalid memory address or nil pointer dereference
Mar 10 20:24:11 ...: [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xa8926c]
Mar 10 20:24:11 ...: goroutine 239953 [running]:
Mar 10 20:24:11 ...: github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/deliveryservice.RunAutorenewal(0xc0010f4080, 0x3, 0x4, 0xc000196480, 0xee6700, 0xc000c99a40, 0xc00109f950)
Mar 10 20:24:11 ...: /tmp/go/src/github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/deliveryservice/autorenewcerts.go:194 +0x29c
Mar 10 20:24:11 ...: created by github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/deliveryservice.RenewCertificates
Mar 10 20:24:11 ...: /tmp/go/src/github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/deliveryservice/autorenewcerts.go:92 +0x4a7

Expected / new behavior:

Should not bring down traffic ops

Minimal reproduction of the problem with instructions:

Anything else:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Opsrelated to Traffic Opsbugsomething isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions