Packer timeout with proxmox

I’m getting a timeout error that I’m not sure how to debug. I been stuck on this for a few hours now.

I run packer build template.json and get the following error.

proxmox output will be in this color.

==> proxmox: Creating VM
==> proxmox: Error creating VM: 596 Connection timed out, error status:  (params: map[agent:1 boot:cdn cores:1 cpu:kvm64 description:Packer ephemeral build VM hotplug: ide2:local:iso/ubuntu-18.04.3-live-server-amd64.iso,media=cdrom memory:512 name:packer-5defdb7c-7b99-6fed-60f3-60e858526852 net0:virtio=A2:83:22:32:36:AA,bridge=vmbr0 numa:false onboot:false ostype:l26 scsihw:lsi sockets:1 virtio0:media=disk,size=300G,file=local:3000/vm-3000-disk-0.qcow2,format=qcow2 vmid:3000])
Build 'proxmox' errored: Error creating VM: 596 Connection timed out, error status:  (params: map[agent:1 boot:cdn cores:1 cpu:kvm64 description:Packer ephemeral build VM hotplug: ide2:local:iso/ubuntu-18.04.3-live-server-amd64.iso,media=cdrom memory:512 name:packer-5defdb7c-7b99-6fed-60f3-60e858526852 net0:virtio=A2:83:22:32:36:AA,bridge=vmbr0 numa:false onboot:false ostype:l26 scsihw:lsi sockets:1 virtio0:media=disk,size=300G,file=local:3000/vm-3000-disk-0.qcow2,format=qcow2 vmid:3000])

==> Some builds didn't complete successfully and had errors:
--> proxmox: Error creating VM: 596 Connection timed out, error status:  (params: map[agent:1 boot:cdn cores:1 cpu:kvm64 description:Packer ephemeral build VM hotplug: ide2:local:iso/ubuntu-18.04.3-live-server-amd64.iso,media=cdrom memory:512 name:packer-5defdb7c-7b99-6fed-60f3-60e858526852 net0:virtio=A2:83:22:32:36:AA,bridge=vmbr0 numa:false onboot:false ostype:l26 scsihw:lsi sockets:1 virtio0:media=disk,size=300G,file=local:3000/vm-3000-disk-0.qcow2,format=qcow2 vmid:3000])

==> Builds finished but no artifacts were created.

My template looks like so.

{
  "variables": {
"username": "root@pam",
"password": "supersecret"
  },
  "builders": [
{
  "type": "proxmox",
  "proxmox_url": "https://proxmox.example.com:8006/api2/json",
  "insecure_skip_tls_verify": false,
  "username": "{{user `username`}}",
  "password": "{{user `password`}}",
  "vm_id": "3000",
  "os": "l26",

  "node": "proxmox",
  "network_adapters": [
    {
     "bridge": "vmbr0",
 	 "model": "virtio"
    }
  ],
  "disks": [
    {
      "type": "virtio",
      "disk_size": "300G",
      "storage_pool": "local",
      "storage_pool_type": "directory",
	  "format": "qcow2"
    }
  ],

  "iso_file": "local:iso/ubuntu-18.04.3-live-server-amd64.iso",
  "http_directory":"config",
  "boot_wait": "20s",
  "boot_command": [
    "<up><bs><bs><bs><bs>auto url=https://raw.githubusercontent.com/chef/bento/master/packer_templates/ubuntu/http/preseed.cfg<enter>"
  ],

  "ssh_username": "root",
  "ssh_timeout": "15m",
  "ssh_password": "supersecret",

  "unmount_iso": true,
  "template_name": "test",
  "template_description": "Ubuntu 18.04-3, generated on {{ isotime \"2006-01-02T15:04:05Z\" }}"
}
  ]
}