System logs display "CURL ERROR: bind failed with errno 124: Address family not supported by protocol"
24156
Created On 06/21/22 09:25 AM - Last Modified 04/24/24 18:42 PM
Symptom
- System Logs (show log system), display the following error message.
medium url-fil url-clo 0 CURL ERROR: bind failed with errno 124: Address family not supported by protocol
- Device server logs report similar messages ( less mp-log devsrv.log)
- Though CURL error messages are is recorded, the corresponding download action is finished successfully.
Environment
- Palo Alto Firewalls
- PAN-OS 10.1, 10.2
- PAN-DB URL Filtering is activated and enabled
Cause
The error message is displayed when there is temporary connection failure with the URL cloud server.
Resolution
- Verify devsrv logs (less mp-log devsrv.log) and confirm if the download is completed successfuly.
https://s0000.urlcloud.paloaltonetworks.com/urlcloud_list, path
20xx-xx-xx xx:xx:xx.xxx +0000 Downloading file size is 125 Bytes.
20xx-xx-xx xx:xx:xx.xxx +0000 =======================================
20xx-xx-xx xx:xx:xx.xxx +0000 Cloud IP 34.120.220.202
20xx-xx-xx xx:xx:xx.xxx +0000 Source IP xxx.xxx.xxx.xxx
==snip==
20xx-xx-xx xx:xx:xx.xxx +0000 curl error: bind failed with errno 124: Address family not supported by protocol
20xx-xx-xx xx:xx:xx.xxx +0000 =======================================
20xx-xx-xx xx:xx:xx.xxx +0000 Perform download from cloud with result No error.
20xx-xx-xx xx:xx:xx.xxx +0000 PAN-DB cloud list download: Finished successfully.
- If yes the error message is caused by temporary disconnect from URL Cloud Server
- Re verify the connectivity by using "show url-cloud status"
> show url-cloud status
PAN-DB URL Filtering
License : valid
Current cloud server : serverlist.urlcloud.paloaltonetworks.com
Cloud connection : connected
Cloud mode : public
==snip==
- If the connection says "connected" the error message can be safely ignored
- The final resolution is targeted in PAN-OS 10.2.8.
- If the cloud connection is "disconnected" contact support for assistance.
Additional Information
In some cases, the similar log message with different errno 97 appears in System Log as below.
CURL ERROR: bind failed with errno 97: Address family not supported by protocol
The appearance of this message can be recognized as same as described in this article.