Your PAX device can only be configured with one connection method, e.g., HTTP or TCP and that connection method must match the communication from your POS. If your POS is sending the request over HTTP and the device is configured for TCP, it will receive the error.