Build with other location SMART-proxy

Problem:
Im am using Foreman with Katello (Foreman 1.15.6 and Katello 3.4.5). Building new hosts with that is working without any problems. The problem is when i try to build an host on other location with a Smart-proxy that is located on othet location.
I allway get the massage:

TFTP prefix:
Unable to locate configuration file.

Status of Smart-proxy is OK and he is synchronized:
Pulp node

Version 1.3.0
Pulp server version 2.13.2
Database connection OK
Messaging connection OK
Workers 4

TFTP

Version 1.15.6
TFTP server “other location SMART-proxy hostname”

Templates

Version 1.15.6

If i set the Proxys in the subnet to TFTP proxy: “other location SMART-proxy hostname” then the build doesent work. If i set it to Foreman then it is working but he gets it from Foreman and not from local smart-proxy???

Expected outcome:

Foreman and Proxy versions:
Foreman 1.15.6
Foreman and Proxy plugin versions:
Foreman 1.15.6, Katello 3.4.5,

Dynflow
Version 0.1.8

Pulp
Version 1.3.0
Pulp server version 2.13.2

SSH
Version 0.1.6

TFTP
Version 1.15.6

Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]

Where are you getting this message? Foreman UI?
What’s on /var/log/foreman-proxy/proxy.log on the proxy you’re trying to use?

I am getting that on the host that should be installed by reboot.

Log file on the local smart-proxy:

D, [2018-03-14T11:47:08.110328 ] DEBUG -- : close: 10.12.81.86:40058
D, [2018-03-14T11:47:08.136362 ] DEBUG -- : accept: 10.12.81.86:40062
D, [2018-03-14T11:47:08.151726 ] DEBUG -- : Rack::Handler::WEBrick is invoked.
I, [2018-03-14T11:47:08.153029 ]  INFO -- : 10.12.81.86 - - [14/Mar/2018:11:47:08 +0100] "GET /pulpnode/status/puppet HTTP/1.1" 200 58 0.0006

D, [2018-03-14T11:47:08.203388 ] DEBUG -- : close: 10.12.81.86:40062
D, [2018-03-14T11:47:08.227184 ] DEBUG -- : accept: 10.12.81.86:40066
D, [2018-03-14T11:47:08.236149 ] DEBUG -- : Rack::Handler::WEBrick is invoked.
I, [2018-03-14T11:47:08.237631 ]  INFO -- : 10.12.81.86 - - [14/Mar/2018:11:47:08 +0100] "GET /features HTTP/1.1" 200 58 0.0006

D, [2018-03-14T11:47:08.292776 ] DEBUG -- : close: 10.12.81.86:40066
D, [2018-03-14T11:47:10.149322 ] DEBUG -- : accept: 10.12.81.86:40106
D, [2018-03-14T11:47:10.166132 ] DEBUG -- : Rack::Handler::WEBrick is invoked.
I, [2018-03-14T11:47:10.167568 ]  INFO -- : 10.12.81.86 - - [14/Mar/2018:11:47:10 +0100] "GET /unattended/templateServer HTTP/1.1" 200 62 0.0006

D, [2018-03-14T11:47:10.219790 ] DEBUG -- : close: 10.12.81.86:40106
D, [2018-03-14T11:47:10.301620 ] DEBUG -- : accept: 10.12.81.86:40110
D, [2018-03-14T11:47:10.318466 ] DEBUG -- : Rack::Handler::WEBrick is invoked.
D, [2018-03-14T11:47:10.319810 ] DEBUG -- : verifying remote client 10.12.81.86 against trusted_hosts ["FOREMAN", "LOCAL SMART PROXY"]
D, [2018-03-14T11:47:10.320637 ] DEBUG -- : TFTP: /var/lib/tftpboot/pxelinux.cfg/01-00-50-56-af-6b-32 created successfully
I, [2018-03-14T11:47:10.321122 ]  INFO -- : 10.12.81.86 - - [14/Mar/2018:11:47:10 +0100] "POST /tftp/PXELinux/00:50:56:af:6b:32 HTTP/1.1" 200 - 0.0017

D, [2018-03-14T11:47:10.338715 ] DEBUG -- : close: 10.12.81.86:40110
D, [2018-03-14T11:47:10.422256 ] DEBUG -- : accept: 10.12.81.86:40114
D, [2018-03-14T11:47:10.462284 ] DEBUG -- : Rack::Handler::WEBrick is invoked.
D, [2018-03-14T11:47:10.463659 ] DEBUG -- : verifying remote client 10.12.81.86 against trusted_hosts ["FOREMAN", "LOCAL SMART PROXY"]
D, [2018-03-14T11:47:10.464571 ] DEBUG -- : Starting task: /usr/bin/wget --timeout=10 --tries=3 --no-check-certificate -nv -c "http://LOCAL SMART PROXY/pulp/repos/COMPANY/Library/content/dist/rhel/workstation/7/7.4/x86_64/kickstart//images/pxeboot/vmlinuz" -O "/var/lib/tftpboot/boot/RedHat-7.4-x86_64-vmlinuz"
I, [2018-03-14T11:47:10.468262 ]  INFO -- : 10.12.81.86 - - [14/Mar/2018:11:47:10 +0100] "POST /tftp/fetch_boot_file HTTP/1.1" 200 - 0.0049

D, [2018-03-14T11:47:10.478338 ] DEBUG -- : close: 10.12.81.86:40114
D, [2018-03-14T11:47:10.540307 ] DEBUG -- : accept: 10.12.81.86:40118
D, [2018-03-14T11:47:10.552263 ] DEBUG -- : Rack::Handler::WEBrick is invoked.
D, [2018-03-14T11:47:10.553680 ] DEBUG -- : verifying remote client 10.12.81.86 against trusted_hosts ["FOREMAN", "LOCAL SMART PROXY"]
D, [2018-03-14T11:47:10.554509 ] DEBUG -- : Starting task: /usr/bin/wget --timeout=10 --tries=3 --no-check-certificate -nv -c "http://LOCAL SMART PROXY/pulp/repos/COMPANY/Library/content/dist/rhel/workstation/7/7.4/x86_64/kickstart//images/pxeboot/initrd.img" -O "/var/lib/tftpboot/boot/RedHat-7.4-x86_64-initrd.img"
I, [2018-03-14T11:47:10.555071 ]  INFO -- : 10.12.81.86 - - [14/Mar/2018:11:47:10 +0100] "POST /tftp/fetch_boot_file HTTP/1.1" 200 - 0.0018

D, [2018-03-14T11:47:10.563171 ] DEBUG -- : close: 10.12.81.86:40118

I changed the PXE helper on local smart-proxy and it is starting to instal the OS.
But now i get the the error:

Failed connect to LOCAL SMART PROXY:8000; Connection refused
dracut-initqueue[553]: Warning: anaconda: failed to fetch kickstart from http://LOCAL SMART PROXY:8000/unattended/provision?token=…

http_port: 8000 in /etc/foreman-proxy/settings.yml has to be enabled.