[arin-tech-discuss] API breakage after website change

Brian Rak brak at gameservers.com
Mon Mar 4 14:54:52 EST 2019


We noticed that something broke with the API with the new website.  We 
used to hit URLs like this:

https://reg.arin.net//rest/report/reassignment/NET6-2001-19F0-1?apikey=xxxx

However, these have started throwing 404s now.  In addition, they 
redirect us to the non-existant domain http.arin.net:

$ wget --spider 
https://reg.arin.net//rest/report/reassignment/NET6-2001-19F0-1?apikey=xxxx
Spider mode enabled. Check if remote file exists.
--2019-03-04 14:51:23-- 
https://reg.arin.net//rest/report/reassignment/NET6-2001-19F0-1?apikey=xxxx
Resolving reg.arin.net (reg.arin.net)... 2001:500:4:c000::72, 199.43.0.72
Connecting to reg.arin.net (reg.arin.net)|2001:500:4:c000::72|:443... 
connected.
HTTP request sent, awaiting response... 302 Found
Location: https://http.arin.net/404.html [following]
Spider mode enabled. Check if remote file exists.
--2019-03-04 14:51:24--  https://http.arin.net/404.html
Resolving http.arin.net (http.arin.net)... failed: Name or service not 
known.
wget: unable to resolve host address ‘http.arin.net’

In this case, it's the duplicate slash in the URL that's causing the 
problem, so the workaround on our end is pretty straightforward, but I 
was not expecting this to break with the website change.



More information about the arin-tech-discuss mailing list