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

Broken Pipe During HTTP Archiving #1367

Closed
mfeit-internet2 opened this issue Dec 4, 2023 · 1 comment
Closed

Broken Pipe During HTTP Archiving #1367

mfeit-internet2 opened this issue Dec 4, 2023 · 1 comment
Assignees
Labels

Comments

@mfeit-internet2
Copy link
Member

Marian observed the following in the archiver logs that may be a result of a lost connection to the HTTP server. (I think Abigail added code to keep connections up at some point. That may need to be made more-robust.)

Nov 28 10:08:40 psb02-gva archiver-http/archive ERROR    Traceback (most recent call last):
Nov 28 10:08:40 psb02-gva archiver-http/archive ERROR      File "/usr/libexec/pscheduler/classes/archiver/http/archive", line 207, in <module>
Nov 28 10:08:40 psb02-gva archiver-http/archive ERROR      File "/usr/libexec/pscheduler/classes/archiver/http/archive", line 207, in <module>
Nov 28 10:08:40 psb02-gva archiver-http/archive ERROR        EMITTER(archive(parsed))
Nov 28 10:08:40 psb02-gva archiver-http/archive ERROR        EMITTER(archive(parsed))
Nov 28 10:08:40 psb02-gva archiver-http/archive ERROR      File "/usr/lib/python3.6/site-packages/pscheduler/psjson.py", line 202, in __call__
Nov 28 10:08:40 psb02-gva archiver-http/archive ERROR      File "/usr/lib/python3.6/site-packages/pscheduler/psjson.py", line 202, in __call__
Nov 28 10:08:40 psb02-gva archiver-http/archive ERROR        self.emit_text(json_dump(json, pretty=False))
Nov 28 10:08:40 psb02-gva archiver-http/archive ERROR        self.emit_text(json_dump(json, pretty=False))
Nov 28 10:08:40 psb02-gva archiver-http/archive ERROR      File "/usr/lib/python3.6/site-packages/pscheduler/psjson.py", line 197, in emit_text
Nov 28 10:08:40 psb02-gva archiver-http/archive ERROR      File "/usr/lib/python3.6/site-packages/pscheduler/psjson.py", line 197, in emit_text
Nov 28 10:08:40 psb02-gva archiver-http/archive ERROR        self.handle.flush()
Nov 28 10:08:40 psb02-gva archiver-http/archive ERROR        self.handle.flush()
Nov 28 10:08:40 psb02-gva archiver-http/archive ERROR    BrokenPipeError: [Errno 32] Broken pipe
Nov 28 10:08:40 psb02-gva archiver-http/archive ERROR    BrokenPipeError: [Errno 32] Broken pipe
Nov 28 10:08:40 psb02-gva archiver-http/archive ERROR    Exception: BrokenPipeError: [Errno 32] Broken pipe
Nov 28 10:08:40 psb02-gva archiver-http/archive ERROR    Exception: BrokenPipeError: [Errno 32] Broken pipe

Archive config:

            {
               "ttl" : "P2DT1H",
               "data" : {
                  "retry-policy" : [
                     {
                        "wait" : "PT1M",
                        "attempts" : 5
                     },
                     {
                        "wait" : "PT5M",
                        "attempts" : 11
                     },
                     {
                        "wait" : "PT1H",
                        "attempts" : 23
                     },
                     {
                        "wait" : "PT4H",
                        "attempts" : 6
                     }
                  ],
                  "op" : "post",
                  "_url" : "https://ps-collection.atlas-ml.org/"
               },
               "archiver" : "http"
            }
@mfeit-internet2 mfeit-internet2 self-assigned this Dec 4, 2023
@mfeit-internet2
Copy link
Member Author

This appears to be the pipe where the result is written breaking, probably because the parent process exited. Probably not a problem with the plugin.

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

No branches or pull requests

1 participant