Skip to content
This repository was archived by the owner on Oct 4, 2024. It is now read-only.

No IP range gives error #23

Open
chipach opened this issue Jun 5, 2018 · 0 comments
Open

No IP range gives error #23

chipach opened this issue Jun 5, 2018 · 0 comments

Comments

@chipach
Copy link

chipach commented Jun 5, 2018

The error below is given when a blank entry is used for Allowed IPs, forcing execution to stop. When I put in a valid CIDR address, things seemed to process further.

u'' does not appear to be an IPv4 or IPv6 network: ValueError
Traceback (most recent call last):
File "/var/task/lambda_function.py", line 128, in lambda_handler
ipranges.append(ip_network(u'%s' % i))
File "/var/task/ipaddress.py", line 202, in ip_network
address)
ValueError: u'' does not appear to be an IPv4 or IPv6 network

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant