Unable to install modules from module repository

Hi,

I have IP-Symcon installed on an Odroid C2 running Ubuntu 16.04. Everything has been working fine for the past month with some 1-Wire sensors attached to a Symcon 1-Wire LAN Gateway. Today I was planning work on a PHP-Module. Unfortunately I am unable to add PHP modules.

When I try to add a module from a GitHub repository I get the following error:

"Error: Failed to resolve address for github.com: Temporary failure in name resolution".

When I try a https URL instead I get the error:

"Error: SSL error: error:140E0114LSSL routines:SSL_shutdown:uninitialized."

The IP-Symcon Connect connection is also in error state. Message from the message log:

"Cannot contact IP-Symcon Live srver. Message: try again later"

On the command line the system has no issues resolving domain names.

Any idea how I can fix this issue?

Can you check your resolv.conf if you have a valid IPv4 DNS Server?

paresy

There are valid IPv4 DNS servers configured in /etc/resolv.conf.

I am not able to resolve any addresses in PHP scripts in the Symcon environment:

Warning:  dns_get_record(): A temporary server error occurred. in /var/lib/symcon/scripts/53031.ips.php on line 11

Warning:  file_get_contents(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /var/lib/symcon/scripts/53031.ips.php on line 15

Warning:  file_get_contents(http://www.example.com/): failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /var/lib/symcon/scripts/53031.ips.php on line 15

For now, adding the address to /etc/hosts or using Github’s IP in the URL of a repository is a workaround.

I am using Symcon on Ubuntu arm64 with armhf as a foreign architecture, maybe that’s causing some issues.