Unable to create new host, times out during DHCP setting

Problem: Attempting to create a new host via webGUI. Receive error:

2023-10-12T13:17:34 [E|app|0dd7da93] Failed to save: Create DHCP Settings for foremantest.----.dev task failed with the following error: ERF12-6899 [ProxyAPI::ProxyException]: Unable to set DHCP entry ([RestClient::Exceptions::ReadTimeout]: Timed out reading data from server) for proxy https://----.----.dev:8443/dhcp

Expected outcome: Host creates properly with DHCP set to PXE boot.

Foreman and Proxy versions: 3.7

Distribution and version: Ubuntu 20.04 LTS

Other relevant data:

I have DHCP managed on the server hosting Foreman. I’m not sure if the error indicates there’s a permissions issue where it’s not allowing the DHCP information to be read, or if there needs to be something changed to allow the connection/writing to occur to move forward.

I can share any logs/configs needed to assist in assisting me.

I’ve still been unable to find anything to try to resolve this… any one have advice?

Getting a 504 Gateway Timeout error; however, reviewing the logs still shows the same error occurring.

Tried chmod 755 /etc/dhcp in Ubuntu, and it didn’t fix it…

Log from /var/log/foreman/production.log:

2023-10-23T13:28:28 [W|app|e816bcd2] Rolling back due to a problem: [#<Orchestration::Task:0x00007f4bb871d8f0 @name="Create DHCP Settings for foremantest.spectric.dev", @id="dhcp_create_00:0c:-:-:-:-", @status="failed", @priority=10, @action=[#<Nic::Managed id: nil, mac: "00:0c:-:-:-:-", ip: "10.-.-.-", type: "Nic::Managed", name: "foremantest.-.dev", host_id: nil, subnet_id: 1, domain_id: 2, attrs: {}, created_at: nil, updated_at: nil, provider: nil, username: nil, password: nil, virtual: false, link: true, identifier: "ens160", tag: "", attached_to: "", managed: true, mode: "balance-rr", attached_devices: "", bond_options: "", primary: true, provision: true, compute_attributes: {}, ip6: "", subnet6_id: nil>, :set_dhcp], @created=1698067647.970819, @timestamp=2023-10-23 13:28:28.118894025 UTC>]
2023-10-23T13:28:28 [E|app|e816bcd2] Failed to save: Create DHCP Settings for foremantest.spectric.dev task failed with the following error: ERF12-6899 [ProxyAPI::ProxyException]: Unable to set DHCP entry ([RestClient::Exceptions::ReadTimeout]: Timed out reading data from server) for proxy https://-.-.dev:8443/dhcp

Log from /var/log/syslog when trying to create the host:

Oct 23 13:26:37 puppet dhcpd[57823]: reuse_lease: lease age 10185 (secs) under 25% threshold, reply with unaltered, existing lease for 10.-.-.-
Oct 23 13:26:37 puppet dhcpd[57823]: DHCPDISCOVER from 00:0c:-:-:-:- via ens160
Oct 23 13:26:38 puppet dhcpd[57823]: DHCPOFFER on 10.-.-.- to 00:0c:-:-:-:- via ens160
Oct 23 13:26:40 puppet dhcpd[57823]: reuse_lease: lease age 10188 (secs) under 25% threshold, reply with unaltered, existing lease for 10.-.-.-
Oct 23 13:26:40 puppet dhcpd[57823]: DHCPREQUEST for 10.-.-.- (10.-.-.-) from 00:0c:-:-:-:- via ens160
Oct 23 13:26:40 puppet dhcpd[57823]: DHCPACK on 10.-.-.- to 00:0c:-:-:-:- via ens160
Oct 23 13:26:40 puppet in.tftpd[312368]: tftp: client does not accept options