While using AIJ in an astronomy class, a few of us have run into a problem: If "skip images with WCS" is turned on while plate solving a batch of images, after several in a row AIJ will return the error "IO Exception during astrometry.net login: Server returned HTTP response code: 403 for URL:
https://nova.astrometry.net/api/login". After this, every plate solve will fail with the same error whether it has WCS or not as AIJ continues to run through the images.
I
asked the astrometry.net devs what might cause this, and they replied that this is actually the incorrect error code: it should be 429 Too Many Requests. It looks like AIJ is sending requests too fast and the site is temporarily blocking that IP address, leading to the string of failed plate solving.
This also occurs sometimes even with batches that don't have WCS - although in this case, AIJ does return the correct 429 error. Possibly this is related to the user's internet speed, where AIJ solves faster and thus sends requests more quickly.
I wanted to alert y'all to the error issue and ask if there is any setting somewhere that can limit the request rate in order to avoid this.
Thanks!