Can't connect device to TV account

izpb
izpb Posts: 1
edited April 2023 in IoT Forum

I ran the command to add the device to our account and group:

sudo teamviewer-iot-agent assign -t xxxx -g $'Device'

And received an error:

2023/03/17 02:22:24.733 7725 547691220752 !! HttpRequestImpl::CurlFinished(): curl request failed: SSL connect error (35), error:0A000152:lib(20)::reason(338)

2023/03/17 02:22:24.734 7725 547697138448 !! DeviceAssignmentStarter::Run: device assignment failed - connection to WebAPI failed - HTTP request has failed - https://webapi.teamviewer.com/api/v1/devices - error:0A000152:lib(20)::reason(338), Errorcode=2

2023/03/17 02:22:24.734 7725 547697138448  DeviceAssignmentStarter::RunInternalAssignment: retrying device assignment

2023/03/17 02:22:24.734 7725 547697138448 + AssignDeviceSequence::Step1_GetExistingDevices: trying to get existing device with id r1573457627

2023/03/17 02:22:24.734 7725 547697138448  HttpClient::CreateRequest options=<none>

2023/03/17 02:22:24.734 7725 547697138448  HttpRequest::StartGet url=https://webapi.teamviewer.com/api/v1/devices?remotecontrol_id=r[Removed as per Community Guidelines]

2023/03/17 02:22:25.079 7725 547674435344 !! HttpRequestImpl::CurlFinished(): curl request failed: SSL connect error (35), error:0A000152:lib(20)::reason(338)

2023/03/17 02:22:25.079 7725 547697138448 !! DeviceAssignmentStarter::Run: device assignment failed - connection to WebAPI failed - HTTP request has failed - https://webapi.teamviewer.com/api/v1/devices - error:0A000152:lib(20)::reason(338), Errorcode=2

Please suggest how to resolve this issue.

Tagged:

Answers

  • Errors indicate that the device assignment failed due to a problem connecting to the TeamViewer WebAPI.The SSL error (35) is usually related to network connectivity issues such as a firewall blocking the connection or an issue with the SSL certificate.

    Try checking your firewall settings to make sure it's not blocking the connection to the TeamViewer WebAPI.

    Check the validity and validity of the SSL certificate on the device