IBM Support

Connection adapter error with a function due to a missing protocol

Troubleshooting


Problem

A connection was not established and an error, "No connection adapters were found," was seen in the logs, when the Fortigate function is configured without the use of a protocol.

Symptom

The Fortigate functions would not work.
The following error was printed to the logs.
2023-01-05 15:09:10,795 INFO [decorators] [fortigate_get_addresses] StatusMessage: Starting App Function: 'fortigate_get_addresses'
2023-01-05 15:09:10,796 DEBUG [requests_common]   timeout: 30
2023-01-05 15:09:10,796 DEBUG [requests_common]   url: <IP ADDRESS>:8443/api/v2/cmdb/firewall/address
2023-01-05 15:09:10,796 DEBUG [requests_common]   method: get
2023-01-05 15:09:10,797 ERROR [requests_common] No connection adapters were found for '<IP ADDRESS>:8443/api/v2/cmdb/firewall/address'

Cause

The client did not set the protocol, in this case HTTPS:// in the fortigate_address value in the app.config.

Environment

The same error could be returned by other Python based functions.

Resolving The Problem

The client amended fortigate_address value in the app.config adding the firewall's IP address with HTTPS://.
Seek clarification with the remote system's administrators as to what protocol needs to be.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSA230","label":"IBM Security QRadar SOAR"},"ARM Category":[{"code":"a8m0z000000cvqKAAQ","label":"Integrations"}],"ARM Case Number":"TS011725362","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEGM63","label":"IBM Security QRadar SOAR on Cloud"},"ARM Category":[{"code":"a8m0z000000cvqKAAQ","label":"Integrations"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Type":"MASTER","Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTDPP","label":"IBM Cloud Pak for Security"},"ARM Category":[{"code":"a8m0z0000001h8pAAA","label":"Cases"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
09 January 2023

UID

ibm16853615