[solved/linux] unable to activate library (no Internet connection)

When do new activation, or even try to de-activate an old one, it tell me check the Internet connection.
I do not know if it works in Windows because it refuses to run in VM.

Synthesizer V Studio Pro 1.4.0
Synthesizer V Engine 2.3.0
© 2020 Dreamtonics Co., Ltd.

== System Info ==
CPU: GenuineIntel 2100 MHz 6 Cores 12 Threads
CPU Features: SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2, FMA3
Memory: 31952 MBytes
Operating System: Linux 64 bits
User Language: Chinese
User Region: China
Installation Path: /opt/synthv-pro/synthv-studio
Application Directory: /opt/synthv-pro

== Type Checks ==
sizeof(int) = 4
sizeof(long) = 8
sizeof(void*) = 8

Report generated at 11 Dec 2021 22:11.
Built on Nov 18 2021.
Double click to copy this report.

result of proxychains:

|DNS-request| auth.dreamtonics.com 
|S-chain|-<>-127.0.0.1:1080-<><>-1.1.1.1:53-<><>-OK
|S-chain|-<>-127.0.0.1:1080-<><>-1.1.1.1:53-<><>-OK
|DNS-response|: auth.dreamtonics.com does not exist

result of strace, without proxy server:

[pid  4754] socket(AF_INET6, SOCK_DGRAM, IPPROTO_IP) = 13
[pid  4754] socketpair(AF_UNIX, SOCK_STREAM, 0, [13, 14]) = 0
[pid  4754] socketpair(AF_UNIX, SOCK_STREAM, 0, [15, 16]) = 0
strace: Process 4794 attached
[pid  4794] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 17
[pid  4794] connect(17, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
[pid  4794] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 17
[pid  4794] connect(17, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
[pid  4794] socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 17
[pid  4794] setsockopt(17, SOL_IP, IP_RECVERR, [1], 4) = 0
[pid  4794] connect(17, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.53")}, 16) = 0
[pid  4794] sendmmsg(17, [{msg_hdr={msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\377F\1\0\0\1\0\0\0\0\0\0\4auth\vdreamtonics\3co"..., iov_len=38}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, msg_len=38}, {msg_hdr={msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\27A\1\0\0\1\0\0\0\0\0\0\4auth\vdreamtonics\3co"..., iov_len=38}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, msg_len=38}], 2, MSG_NOSIGNAL) = 2
[pid  4794] recvfrom(17, "\377F\201\200\0\1\0\2\0\0\0\0\4auth\vdreamtonics\3co"..., 2048, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.53")}, [28->16]) = 70
[pid  4794] recvfrom(17, "\27A\201\200\0\1\0\2\0\0\0\0\4auth\vdreamtonics\3co"..., 65536, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.53")}, [28->16]) = 94
[pid  4794] socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC, NETLINK_ROUTE) = 17
[pid  4794] bind(17, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 0
[pid  4794] getsockname(17, {sa_family=AF_NETLINK, nl_pid=4745, nl_groups=00000000}, [12]) = 0
[pid  4794] sendto(17, {{len=20, type=RTM_GETADDR, flags=NLM_F_REQUEST|NLM_F_DUMP, seq=1639227113, pid=0}, {ifa_family=AF_UNSPEC, ...}}, 20, 0, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 20
[pid  4794] socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_IP) = 17
[pid  4794] connect(17, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("172.67.160.28")}, 16) = 0
[pid  4794] getsockname(17, {sa_family=AF_INET, sin_port=htons(54685), sin_addr=inet_addr("10.70.0.10")}, [28->16]) = 0
[pid  4794] connect(17, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0
[pid  4794] connect(17, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("104.21.14.176")}, 16) = 0
[pid  4794] getsockname(17, {sa_family=AF_INET, sin_port=htons(60373), sin_addr=inet_addr("10.70.0.10")}, [28->16]) = 0
[pid  4794] socket(AF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_IP) = 17
[pid  4794] connect(17, {sa_family=AF_INET6, sin6_port=htons(443), sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "2606:4700:3035::ac43:a01c", &sin6_addr), sin6_scope_id=0}, 28) = 0
[pid  4794] getsockname(17, {sa_family=AF_INET6, sin6_port=htons(49000), sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "2400:4151:****:****::", &sin6_addr), sin6_scope_id=0}, [28]) = 0
[pid  4794] connect(17, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0
[pid  4794] connect(17, {sa_family=AF_INET6, sin6_port=htons(443), sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "2606:4700:3036::6815:eb0", &sin6_addr), sin6_scope_id=0}, 28) = 0
[pid  4794] getsockname(17, {sa_family=AF_INET6, sin6_port=htons(42375), sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "2400:4151:****:****::", &sin6_addr), sin6_scope_id=0}, [28]) = 0
[pid  4794] sendto(16, "\1", 1, MSG_NOSIGNAL, NULL, 0) = 1
[pid  4794] +++ exited with 0 +++
[pid  4754] socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP) = 15
[pid  4754] setsockopt(15, SOL_TCP, TCP_NODELAY, [1], 4) = 0
[pid  4754] connect(15, {sa_family=AF_INET6, sin6_port=htons(443), sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "2606:4700:3035::ac43:a01c", &sin6_addr), sin6_scope_id=0}, 28) = -1 EINPROGRESS (Operation now in progress)
[pid  4754] getsockopt(15, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
[pid  4754] getpeername(15, {sa_family=AF_INET6, sin6_port=htons(443), sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "2606:4700:3035::ac43:a01c", &sin6_addr), sin6_scope_id=0}, [128->28]) = 0
[pid  4754] getsockname(15, {sa_family=AF_INET6, sin6_port=htons(43216), sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "2400:4151:****:****::", &sin6_addr), sin6_scope_id=0}, [128->28]) = 0

result of strace without ipv6:

[pid  6157] socket(AF_INET6, SOCK_DGRAM, IPPROTO_IP) = 13
[pid  6157] socketpair(AF_UNIX, SOCK_STREAM, 0, [13, 14]) = 0
[pid  6157] socketpair(AF_UNIX, SOCK_STREAM, 0, [15, 16]) = 0
strace: Process 6186 attached
[pid  6186] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 17
[pid  6186] connect(17, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
[pid  6186] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 17
[pid  6186] connect(17, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
[pid  6186] socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 17
[pid  6186] setsockopt(17, SOL_IP, IP_RECVERR, [1], 4) = 0
[pid  6186] connect(17, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.53")}, 16) = 0
[pid  6186] sendmmsg(17, [{msg_hdr={msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="!\27\1\0\0\1\0\0\0\0\0\0\4auth\vdreamtonics\3co"..., iov_len=38}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, msg_len=38}, {msg_hdr={msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\213\v\1\0\0\1\0\0\0\0\0\0\4auth\vdreamtonics\3co"..., iov_len=38}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, msg_len=38}], 2, MSG_NOSIGNAL) = 2
[pid  6186] recvfrom(17, "!\27\201\200\0\1\0\2\0\0\0\0\4auth\vdreamtonics\3co"..., 2048, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.53")}, [28->16]) = 70
[pid  6186] recvfrom(17, "\213\v\201\200\0\1\0\2\0\0\0\0\4auth\vdreamtonics\3co"..., 65536, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.53")}, [28->16]) = 94
[pid  6186] socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC, NETLINK_ROUTE) = 17
[pid  6186] bind(17, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 0
[pid  6186] getsockname(17, {sa_family=AF_NETLINK, nl_pid=6146, nl_groups=00000000}, [12]) = 0
[pid  6186] sendto(17, {{len=20, type=RTM_GETADDR, flags=NLM_F_REQUEST|NLM_F_DUMP, seq=1639227610, pid=0}, {ifa_family=AF_UNSPEC, ...}}, 20, 0, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 20
[pid  6186] socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_IP) = 17
[pid  6186] connect(17, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("104.21.14.176")}, 16) = 0
[pid  6186] getsockname(17, {sa_family=AF_INET, sin_port=htons(42058), sin_addr=inet_addr("10.70.0.10")}, [28->16]) = 0
[pid  6186] connect(17, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0
[pid  6186] connect(17, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("172.67.160.28")}, 16) = 0
[pid  6186] getsockname(17, {sa_family=AF_INET, sin_port=htons(43914), sin_addr=inet_addr("10.70.0.10")}, [28->16]) = 0
[pid  6186] socket(AF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_IP) = 17
[pid  6186] connect(17, {sa_family=AF_INET6, sin6_port=htons(443), sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "2606:4700:3035::ac43:a01c", &sin6_addr), sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable)
[pid  6186] connect(17, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0
[pid  6186] connect(17, {sa_family=AF_INET6, sin6_port=htons(443), sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "2606:4700:3036::6815:eb0", &sin6_addr), sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable)
[pid  6186] sendto(16, "\1", 1, MSG_NOSIGNAL, NULL, 0) = 1
[pid  6186] +++ exited with 0 +++
[pid  6157] socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
[pid  6157] setsockopt(15, SOL_TCP, TCP_NODELAY, [1], 4) = 0
[pid  6157] connect(15, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("104.21.14.176")}, 16) = -1 EINPROGRESS (Operation now in progress)
[pid  6157] getsockopt(15, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
[pid  6157] getpeername(15, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("104.21.14.176")}, [128->16]) = 0
[pid  6157] getsockname(15, {sa_family=AF_INET, sin_port=htons(54212), sin_addr=inet_addr("10.70.0.10")}, [128->16]) = 0

The solution is not so complicated.
I forgot to try this simple command:

curl -v https://auth.dreamtonics.com

which gives:

*   Trying 2606:4700:3036::6815:eb0:443...
* TCP_NODELAY set
* Connected to auth.dreamtonics.com (2606:4700:3036::6815:eb0) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* Closing connection 0
curl: (77) error setting certificate verify locations:
  CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs

The cause of this problem is from my system setting.
So just do these two command and it works.

# find /etc/ssl -type d -print0 | xargs -i -t -0 chmod o+rx '{}'
# find /etc/ssl -type f -print0 | xargs -i -t -0 chmod o+r '{}'