-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ddns-scripts_route53-v1: request rejected because Route53 is processing a prior request #7492
Comments
Hi Martin,
In first glance a shared lock sounds like it could work. I don't know if
there are any "openwrt standards" regarding this.
The proper way to get this included would be if you try to solve the issue
and create a pull request. I can then test your changes to ensure that also
work on a different system, Chris is the main maintainer here.
Max
Am 21.11.2018 09:52 schrieb "Martin Konrad" <[email protected]>:
Maintainer
@chris5560 <https://github.com/chris5560>, @maxberger
<https://github.com/maxberger>
Environment
OpenWRT 18.06.0
DDNS version: 2.7.8-5
Description
I have multiple host names that need to be updated using the Route53 DDNS
script. After starting the scripts only one or two of them are submitting
their first update to Route53 successfully. The others fail with the
following message:
...<Code>PriorRequestNotComplete</Code><Message>The request was
rejected because Route 53 was still processing a prior
request.</Message>...
After 5 min the scripts retry and one or two more succeed. Eventually they
all go to normal. Seems like this issue only occurs when too many *updates*
occur within a short time. *Checking* the IP address doesn't seem to be an
issue.
Turns out I'm hitting a limit documented in the Route53 documentation
<https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-requests-route-53>.
Not sure if the script could prevent this somehow. (Maybe by sharing a lock
(flock?) between all the instances of ddns-scripts_route53-v1 that ensures
only one of them is requesting an update at a time?)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7492>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAIv3R-8NYJiPdIBKruTPhTxMLae9Bf1ks5uxNTxgaJpZM4YsYEf>
.
|
mark0n
added a commit
to mark0n/packages
that referenced
this issue
Nov 23, 2018
This prevents updates from failing if multiple instances of the script are running in parallel. This fixes openwrt#7492. Signed-off-by: Martin Konrad <[email protected]>
mark0n
added a commit
to mark0n/packages
that referenced
this issue
Nov 23, 2018
This prevents updates from failing if multiple instances of the script are running in parallel. This fixes openwrt#7492. Signed-off-by: Martin Konrad <[email protected]>
Locking solves the problem reliably for me. |
Great! Can you create a pull request?
Am Fr., 23. Nov. 2018, 23:08 hat Martin Konrad <[email protected]>
geschrieben:
… Locking solves the problem reliably for me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7492 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAIv3WloAhYKLanYCsne1ZlzfR9NUXUGks5uyEeugaJpZM4YsYEf>
.
|
thiagoricciardi
pushed a commit
to thiagoricciardi/packages
that referenced
this issue
Apr 3, 2019
This prevents updates from failing if multiple instances of the script are running in parallel. This fixes openwrt#7492. Signed-off-by: Martin Konrad <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maintainer
@chris5560, @maxberger
Environment
OpenWRT 18.06.0
DDNS version: 2.7.8-5
Description
I have multiple host names that need to be updated using the Route53 DDNS script. After starting the scripts only one or two of them are submitting their first update to Route53 successfully. The others fail with the following message:
After 5 min the scripts retry and one or two more succeed. Eventually they all go to normal. Seems like this issue only occurs when too many updates occur within a short time. Checking the IP address doesn't seem to be an issue.
Turns out I'm hitting a limit documented in the Route53 documentation. Not sure if the script could prevent this somehow. (Maybe by sharing a lock (flock?) between all the instances of
ddns-scripts_route53-v1
that ensures only one of them is requesting an update at a time?)The text was updated successfully, but these errors were encountered: