# Can't add EC2 hosts

**URL:** <https://forums.suse.com/t/cant-add-ec2-hosts/1432>\
**Category:** Rancher 1.x\
**Created:** [January 9, 2016, 7:30pm UTC](https://forums.suse.com/t/cant-add-ec2-hosts/1432 "2016-01-09T19:30:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgerry](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jgerry/32/756_2.png) [@jgerry](https://forums.suse.com/u/jgerry)\
**Post date:** [January 9, 2016, 7:30pm UTC](https://forums.suse.com/t/cant-add-ec2-hosts/1432/1 "2016-01-09T19:30:10Z")

</div>

Got up and running today with a fresh 0.51.0 install, I’m able to add hosts via Digital Ocean with no problem. Trying AWS isn’t working for me. I get the following error:

`TypeError: Cannot read property 'name' of undefined`

I checked the forums and saw that this was a problem with previous versions but had been fixed. Any ideas?

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [January 9, 2016, 9:11pm UTC](https://forums.suse.com/t/cant-add-ec2-hosts/1432/2 "2016-01-09T21:11:15Z")

</div>

> <https://github.com/rancher/rancher/issues/3185>
>
> Server version - v0.52.0-rc4
> Not able to add Amazon EC2 host
> Error: TypeError: Cannot read property 'name' of undefined
> 
> ec2.ap-northeast-2.amazonaws.com/
> /v1/proxy
> 
> \<!DOCTYPE html\>
> \<!-- If you are...

---

<div class="post-metadata">

**Author:** ![jgerry](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jgerry/32/756_2.png) [@jgerry](https://forums.suse.com/u/jgerry)\
**Post date:** [January 9, 2016, 9:29pm UTC](https://forums.suse.com/t/cant-add-ec2-hosts/1432/3 "2016-01-09T21:29:23Z")

</div>

Good workaround, thanks!
