Knowledge Base


Knowledge Base / XFilesharing Pro / Troubleshooting

Error happened when generating Download Link: Can't connect to...
05/26/2014 06:01 AM

Question

I'm getting the following error when resaving a file server tab:

Error happened when generating Download Link.
Please try again or Contact administrator.
(Can't connect to xfilesharing.com:80 (Bad hostname) LWP::Protocol::http::Socket: Bad hostname 'xfilesharing.com' at /usr/local/share/perl5/LWP/Protocol/http.pm line 51. )

Answer

This indicates that your server is not able to resolve your own domain to a corresponding IP address which tends to be a common issue. Please login in your SSH shell and ensure that with ping (most likely you'll have to either add a new record /etc/hosts or point /etc/resolv.conf to another DNS server in order to resolve that).