Whoops error in firmware update check in Digium Phones module

Got the following error when attempting to do a check for firmware updates from the ‘Digium Phones’ module:

Whoops \ Exception \ErrorException(E_WARNING)


file_get_contents(http://downloads.digium.com/pub/telephony/res_digium_phone/firmware/dpma-firmware.json): failed to open stream: Connection timed out


This appears to be a recent development, as I check for firmware updates fairly regularly and it has worked in the past but now I am getting this identical error on multiple systems. Any insights?

This essentially means it couldn’t reach the url. This could be for a number of reasons. If you want to file a ticket at http://issues.freepbx.org for “error handling” we can make that prettier but it is likely a networking issue of some fashion assuming the remote server is up

$ curl -I http://downloads.digium.com/pub/telephony/res_digium_phone/firmware/dpma-firmware.json
HTTP/1.1 200 OK
Date: Mon, 07 Nov 2016 18:32:40 GMT
Server: Apache/2.2.22 (Ubuntu)
Last-Modified: Tue, 27 Sep 2016 19:55:42 GMT
ETag: "5e0533-bc9-53d82a1250127"
Accept-Ranges: bytes
Content-Length: 3017
Content-Type: application/json

As of this reply it is up.

I rather surmised that from the error message, as messy as it is in its presentation. And I did verify that the URL was in fact available from both the locations that are currently reporting the issue which leads me to believe that it is a bug introduced in a recent update rather than a networking issue.

The initial dialog box presented when the function is invoked appears incomplete:

And as noted this had been working previously. Further thoughts?

And just to save time, I did check for updates on the system this morning. There were a total of four which appeared unrelated and had no obvious effect in any case.