Hi,
 
Hoping that someone can help us, and would be very grateful!
J
 
We are trying to install Mosquitto on RHEL 7 on AWS EC2, following a similar process that has worked fine on CentOS 7 on AWS EC2.
 
We have put
http://download.opensuse.org/repositories/home:/oojah:/mqtt/RedHat_RHEL-7/home:oojah:mqtt.repo in /etc/yum.repos.d/
 
Now when we try to install with yum:
 
 
 
> sudo yum install mosquitto
Loaded plugins: amazon-id, rhui-lb
Resolving Dependencies
--> Running transaction check
---> Package mosquitto.x86_64 0:1.4.3-1.1 will be installed
--> Processing Dependency: tcp_wrappers for package: mosquitto-1.4.3-1.1.x86_64
--> Processing Dependency: uuid for package: mosquitto-1.4.3-1.1.x86_64
--> Running transaction check
---> Package tcp_wrappers.x86_64 0:7.6-77.el7 will be installed
---> Package uuid.x86_64 0:1.6.2-26.el7 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
=============================================================================================================================================================================================================================================
Package                                               Arch                                            Version                                               Repository                                                                
 Size
=============================================================================================================================================================================================================================================
Installing:
mosquitto                                             x86_64                                          1.4.3-1.1                                             home_oojah_mqtt                                                          
 102 k
Installing for dependencies:
tcp_wrappers                                          x86_64                                          7.6-77.el7                                            rhui-REGION-rhel-server-releases                                          
 79 k
uuid                                                  x86_64                                          1.6.2-26.el7                                          rhui-REGION-rhel-server-releases                                          
 55 k
 
Transaction Summary
=============================================================================================================================================================================================================================================
Install  1 Package (+2 Dependent packages)
 
Total size: 236 k
Total download size: 102 k
Installed size: 544 k
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
mosquitto-1.4.3-1.1.x86_64.rpm FAILED
http://download.opensuse.org/repositories/home%3A/oojah%3A/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm:
 [Errno 12] Timeout on 
http://ftp.icm.edu.pl/pub/Linux/opensuse/repositories/home:/oojah:/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
mosquitto-1.4.3-1.1.x86_64.rpm FAILED
http://download.opensuse.org/repositories/home%3A/oojah%3A/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm:
 [Errno 12] Timeout on 
http://ftp.icm.edu.pl/pub/Linux/opensuse/repositories/home:/oojah:/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
mosquitto-1.4.3-1.1.x86_64.rpm FAILED
http://download.opensuse.org/repositories/home%3A/oojah%3A/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm:
 [Errno 12] Timeout on 
http://ftp.icm.edu.pl/pub/Linux/opensuse/repositories/home:/oojah:/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
mosquitto-1.4.3-1.1.x86_64.rpm FAILED
http://download.opensuse.org/repositories/home%3A/oojah%3A/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm:
 [Errno 12] Timeout on 
http://ftp.icm.edu.pl/pub/Linux/opensuse/repositories/home:/oojah:/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
mosquitto-1.4.3-1.1.x86_64.rpm FAILED
http://download.opensuse.org/repositories/home%3A/oojah%3A/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm:
 [Errno 12] Timeout on 
http://ftp.icm.edu.pl/pub/Linux/opensuse/repositories/home:/oojah:/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
mosquitto-1.4.3-1.1.x86_64.rpm FAILED
http://download.opensuse.org/repositories/home%3A/oojah%3A/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm:
 [Errno 12] Timeout on 
http://ftp.icm.edu.pl/pub/Linux/opensuse/repositories/home:/oojah:/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
mosquitto-1.4.3-1.1.x86_64.rpm FAILED
http://download.opensuse.org/repositories/home%3A/oojah%3A/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm:
 [Errno 12] Timeout on 
http://ftp.icm.edu.pl/pub/Linux/opensuse/repositories/home:/oojah:/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
mosquitto-1.4.3-1.1.x86_64.rpm FAILED
http://download.opensuse.org/repositories/home%3A/oojah%3A/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm:
 [Errno 12] Timeout on 
http://ftp.icm.edu.pl/pub/Linux/opensuse/repositories/home:/oojah:/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
mosquitto-1.4.3-1.1.x86_64.rpm FAILED
http://download.opensuse.org/repositories/home%3A/oojah%3A/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm:
 [Errno 12] Timeout on 
http://ftp.icm.edu.pl/pub/Linux/opensuse/repositories/home:/oojah:/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
mosquitto-1.4.3-1.1.x86_64.rpm FAILED
http://download.opensuse.org/repositories/home%3A/oojah%3A/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm:
 [Errno 12] Timeout on 
http://ftp.icm.edu.pl/pub/Linux/opensuse/repositories/home:/oojah:/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
 
 
Error downloading packages:
  mosquitto-1.4.3-1.1.x86_64: [Errno 256] No more mirrors to try.
 
 
We then try direct download with curl, but get no response from the server:
 
 
[ec2-user@aw-mdce-preprod-brk01 ~]$ curl -v
http://ftp.icm.edu.pl/pub/Linux/opensuse/repositories/home:/oojah:/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm > m.rpm
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* About to connect() to
ftp.icm.edu.pl port 80 (#0)
*   Trying 193.219.28.2...
* Connected to
ftp.icm.edu.pl (193.219.28.2) port 80 (#0)
> GET /pub/Linux/opensuse/repositories/home:/oojah:/mqtt/RedHat_RHEL-7/x86_64/mosquitto-1.4.3-1.1.x86_64.rpm HTTP/1.1
> User-Agent: curl/7.29.0
> Host: 
ftp.icm.edu.pl
> Accept: */*
> 
  0     0    0     0    0     0      0      0 --:--:--  0:02:18 --:--:--     0
 
 
(I cancelled curl after 2:18 as it was getting nowhere)
 
We can download the
file fine on other servers that are not in AWS.  We can also download other smaller files (under 1KB) from the
ftp.icm.edu.pl site with no problems on RHEL 7 on AWS:
 
curl -v 
http://ftp.icm.edu.pl/pub/Linux/opensuse/repositories/home:/oojah:/mqtt/RedHat_RHEL-7/repodata/repomd.xml.key > test.xml
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* About to connect() to
ftp.icm.edu.pl port 80 (#0)
*   Trying 193.219.28.2...
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to
ftp.icm.edu.pl (193.219.28.2) port 80 (#0)
> GET /pub/Linux/opensuse/repositories/home:/oojah:/mqtt/RedHat_RHEL-7/repodata/repomd.xml.key HTTP/1.1
> User-Agent: curl/7.29.0
> Host: 
ftp.icm.edu.pl
> Accept: */*
> 
< HTTP/1.1 200 OK
< Date: Thu, 20 Aug 2015 12:39:31 GMT
< Server: Apache/2.2.15 (Scientific Linux)
< Last-Modified: Wed, 19 Aug 2015 13:33:49 GMT
< ETag: "e511d5-3e7-51daa15af2940"
< Accept-Ranges: bytes
< Content-Length: 999
< Connection: close
< Content-Type: text/xml
< 
{ [data not shown]
100   999  100   999    0     0   1829      0 --:--:-- --:--:-- --:--:--  1826
* Closing connection 0.
 
All files over 1KB seem to fail, but we can download files larger than 1KB fine from other servers.
 
Any suggestions?
 
Thanks in advance,
William Deeks 
Embedded Systems Engineer
Sagentia Ltd
Harston Mill, Harston
Cambridge CB22 7GG
United Kingdom
Tel: +44 1223 875594
www.sagentia.com
Follow us on:
LinkedIn  | 
SlideShare  | 
Twitter  | 
Google+ 
 
A Science Group company
 
 
Company Information: Name: Sagentia Limited. Registered Address: Harston Mill, Harston Cambridge CB22 7GG. Registered as a Company in England: 2081960 VAT Number: 432214202. Website hosted by: Sagentia Limited Harston Mill, Harston, Cambridge, UK. CB22
 7GG info@xxxxxxxxxxxx