Sensor Gateway: Retrieving Registration Code Fails With "Failed to Retrieve Code for Sensor Gateway"
book
Article ID: 289257
calendar_today
Updated On:
Products
Carbon Black Cloud Workload
Environment
- Carbon Black Cloud Console: All Supported Versions
- Sensor Gateway: All Supported Versions
Cause
- This can be caused by the Sensor Gateway URL having a / at the end of it
- https://sensor.gateway.url/ instead of https://sensor.gateway.url
Resolution
Removing the / at the end of the Sensor Gateway URL
- Remove the existing docker containerÂ
docker rm -f <container id>
- Run the installation script
./sensor_gw_install.sh
- Configure everything the same except remove the training slash in the Sensor Gateway entry point URL
https://sensor.gateway.url
- Verify the Connect to Carbon Black Cloud through Sensor Gateway Registration Code now works
Feedback
thumb_up
Yes
thumb_down
No