[Chicago] Digital Ocean, pip, and UFW on Ubuntu

Aaron Elmquist elmq0022 at umn.edu
Wed Dec 21 16:57:48 EST 2016


Okay

sudo ufw allow 53
sudo ufw allow in 53

resolves the DNS issue (the host command still works).

sudo ufw allow https
sudo ufw allow out https

fixes the pip's https connection to pypi,* but is that not secure*?  Should
I just specify the pypi server directly instead?

Again thanks for the replies.  They are very much appreciated.

On Wed, Dec 21, 2016 at 3:17 PM, Carl Karsten <carl at personnelware.com>
wrote:

>
> On Wed, Dec 21, 2016 at 3:09 PM, Aaron Elmquist <elmq0022 at umn.edu> wrote:
>
>> Temporary failure in name resolution
>
>
> -v should show you what it is trying to resolve:
>
>
> (test3)carl at twist:~$ pip install requestsx -v
> Collecting requestsx
>   1 location(s) to search for versions of requestsx:
>   * https://pypi.python.org/simple/requestsx/
>   Getting page https://pypi.python.org/simple/requestsx/
>   Looking up "https://pypi.python.org/simple/requestsx/" in the cache
>   No cache entry available
>   Starting new HTTPS connection (1): pypi.python.org
> ...
>
> Try using the host command to look it up, see if it errors:
>
> (test3)carl at twist:~$ host pypi.python.org
> pypi.python.org is an alias for prod.python.map.fastly.net.
> prod.python.map.fastly.net has address 151.101.64.223
> prod.python.map.fastly.net has address 151.101.128.223
> prod.python.map.fastly.net has address 151.101.192.223
> prod.python.map.fastly.net has address 151.101.0.223
> prod.python.map.fastly.net has IPv6 address 2a04:4e42:b::223
>
>
>
>
> --
> Carl K
>
>
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> https://mail.python.org/mailman/listinfo/chicago
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20161221/3bcdd176/attachment.html>


More information about the Chicago mailing list