OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: jclendineng on August 06, 2023, 01:34:33 AM

Title: DHCP leases can't be deleted
Post by: jclendineng on August 06, 2023, 01:34:33 AM
DHCP leases that are active dynamic and dynamic in-active cannot be deleted, the only error I see is this:

10.10.10.1 gateway.mydomain.com - [05/Aug/2023:19:33:06 -0400] "POST /api/dhcp/leases/delLease/10.0.10.10 HTTP/1.1" 400 84 "https://gateway.mydomain.com/ui/dhcpv4/leases" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15"

Edit: Same results when not using the custom domain, i.e. direct to IP of OPNSense
Title: Re: DHCP leases can't be deleted
Post by: jclendineng on August 07, 2023, 02:51:53 PM
Bump
Title: Re: DHCP leases can't be deleted
Post by: terry274 on August 07, 2023, 03:28:46 PM
I have leases marked abandoned that I can't delete. I don't know why. They are set to expire, so I believe they will go away then.
Title: Re: DHCP leases can't be deleted
Post by: jclendineng on August 07, 2023, 04:18:08 PM
Quote from: terry274 on August 07, 2023, 03:28:46 PM
I have leases marked abandoned that I can't delete. I don't know why. They are set to expire, so I believe they will go away then.

Still a bug though since that's unexpected behavior + it worked on the previous release, glad to see I'm not the only one
Title: Re: DHCP leases can't be deleted
Post by: JoK on August 07, 2023, 04:23:20 PM
Got the same issue