Skip to content
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

Clearer logging on RRDP download timeout #1023

Open
ties opened this issue Mar 18, 2025 · 1 comment
Open

Clearer logging on RRDP download timeout #1023

ties opened this issue Mar 18, 2025 · 1 comment

Comments

@ties
Copy link
Contributor

ties commented Mar 18, 2025

As a user, it took me embarrassingly long to realise that this probably was my RP hitting the 60s timeout that we have configured.

config:

# timeout quickly to prevent slow updates
rsync-timeout = 60
rrdp-timeout = 60

log:

2025-03-18T07:44:16.244422000Z [DEBUG] RRDP https://rrdp.example.org/notification.xml: updating from snapshot.
2025-03-18T07:45:16.250553000Z [WARN] RRDP https://rrdp.example.org/notification.xml: failed to process snapshot file https://rrdp.example.org/4a394319-7460-4141-a416-1addb69284ff/105645/snapshot.xml: I/O error: request or response body error
2025-03-18T07:45:16.255118000Z [INFO] RRDP https://rrdp.example.org/notification.xml: Update failed and there is no current copy.
2025-03-18T07:45:16.255208000Z [INFO] RRDP https://rrdp.example.org/notification.xml: Falling back to rsync.
@ties
Copy link
Contributor Author

ties commented Mar 18, 2025

For what it's worth, downloads outside routinator seems to easily complete in 60s:

# wget --header="accept-encoding: gzip"  https://rrdp.example.org/4a394319-7460-4141-a416-1addb69284ff/105645/snapshot.xml -O /dev/null
--2025-03-18 07:48:54--  https://rrdp.example.org/4a394319-7460-4141-a416-1addb69284ff/105645/snapshot.xml
Resolving rrdp.example.org (rrdp.example.org)... 2001:0db8::149, 2001:0db8::149, 2001:0db8::149, ...
Connecting to rrdp.example.org (rrdp.example.org)|2001:0db8::149|:443... connected.
HTTP request sent, awaiting response... 200
Length: unspecified [text/xml]
Saving to: '/dev/null'

/dev/null                                   [                                                           <=>                 ] 185.29M  10.1MB/s    in 19s

2025-03-18 07:49:13 (9.89 MB/s) - '/dev/null' saved [194293845]

/ # wget https://rrdp.example.org/4a394319-7460-4141-a416-1addb69284ff/105645/snapshot.xml -O /dev/null
--2025-03-18 07:52:49--  https://rrdp.example.org/4a394319-7460-4141-a416-1addb69284ff/105645/snapshot.xml
Resolving rrdp.example.org (rrdp.example.org)... 2001:0db8::149, 2001:0db8::149, 2001:0db8::149, ...
Connecting to rrdp.example.org (rrdp.example.org)|2001:0db8::149|:443... connected.
HTTP request sent, awaiting response... 200
Length: unspecified [text/xml]
Saving to: '/dev/null'

/dev/null                                   [        <=>                                                                    ] 522.78M  16.8MB/s    in 39s

2025-03-18 07:53:28 (13.5 MB/s) - '/dev/null' saved [548176417]

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

No branches or pull requests

1 participant