curl error on installation

I tried to install remoteit on my instance. with:

R3_REGISTRATION_CODE="xxx" sh -c "$(curl -L https://downloads.remote.it/remoteit/install_agent.sh)"

and I got error:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'remoteit' instead of '/tmp/remoteit.deb'
The following NEW packages will be installed:
  remoteit
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/142 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 /tmp/remoteit.deb remoteit amd64 5.4.0 [142 kB]
Selecting previously unselected package remoteit.
(Reading database ... 43678 files and directories currently installed.)
Preparing to unpack /tmp/remoteit.deb ...
Unpacking remoteit (5.4.0) ...
Setting up remoteit (5.4.0) ...
/usr/sbin/update-rc.d
curl: (22) The requested URL returned error: 400
curl: (22) The requested URL returned error: 400
Start Services 
Start Service schannel 
/usr/sbin/update-rc.d
schannel start : success
Start Service demuxer 
/usr/sbin/update-rc.d
demuxer start : success

/tmp/remoteit.deb is successfully downloaded. My OS is debian.
I did this 2025 02 03.
Note that I have a http, https outbound.
If what curl statement is used. I will try to fix this.

This issue was caused by a restrictive outbound firewall policy where the device was located. You can do some simple diagnosis by running the following commands:

/usr/share/remoteit/connectd -n
/usr/share/remoteit/connectd -nat

These will show you if you have outbound traffic failure to the remote.it servers.