Device Registration Troubleshooting
HTTP installation
If your device doesn't support HTTPS, and it can only work with HTTP traffic, you can download the agent using the next HTTP command:
su -c 'wget -O - "http://downloads.connect.jfrog.io/install_connect_http" | sh -s <USER_TOKEN> <PROJECT_NAME>'
Installing Connect agent returns "http/1.1 400 bad request"
Your wget
can't execute HTTPS requests. This can happen when you have an old wget binary or old Busybox binary. Connect installation requires an updated wget
or Busybox
(version compiled in 2015 and above).
To fix this you can try to run the installation command with "http" instead of "https" or upgrade your wget/busybox.
To upgrade
Busybox
, please download the binary and replace with the old binary or contact us at[email protected]
for technical installation support.To upgrade
wget
, please run the commands below:apt -y update
apt install -y wget
Cannot verify connect.jfrog.io certificate
Add --no-check-certificate
after the wget
inside the installation command:
wget --no-check-certificate -O - "https://connect.jfrog.io/install_connect"...
CentOS/Red Hat - SELinux permission issue
Connect agent can’t work properly with SELinux enabled, to fix the issue, please add the following se-policy to your Linux device or disable SELinux:
Disable SELinux
vi /etc/selinux/config
(edit SELinux config file).Change the SELINUX parameter from enforcing to disabled (disable SELinux system).
reboot
(reboot the device).
OR permit Connect's Agent in SELINUX Run:
semanage fcontext -a -t bin_t /etc/connect/service/ConnectAgent
restorecon -v /etc/connect/service/ConnectAgent
service connect restart
*Remote control / remote access will still won't work until ssh and sshd binaries will be permitted as well.
Last updated
Was this helpful?