Description | This article describes how to resolve a scenario where FortiSwitch is showing the error 'Fail to create socket connection' and not coming online on FortiLAN Cloud. |
Scope |
FortiSwitch versions 7.2.x and above, FortiLan Cloud. |
Solution |
To understand how to provision FortiSwitch on FortiLAN Cloud, see this documentation.
This article explains the following errors that prevent FortiSwitch from showing online on FortiLAN Cloud.
get system flan-cloud-mgr connection-info Fail to create socket connection
When FortiLAN debug is run on the FortiSwitch, the following errors are noticed:
diagnose debug application flan-mgr -1 diag debug console timestamp enable diag debug enable FortiSwitch # create_and_conn_sockfd:925: [SID: -1] connect() error 10.34.93.89::443. err=Operation now in progress
Disable the debugging:
diag debug disable diag debug reset
Solution: Make sure that auto-network is disabled.
config switch auto-network set status disable end
Reason: FortiSwitch should be in standalone mode to come online on FortiLAN. Refer to the following article for an explanation of the auto-network functionality: Configuring auto-topology - FortiSwitch OS administration guide. |