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

Investigate 404 errors #511

Open
paulalbert1 opened this issue Apr 3, 2023 · 0 comments
Open

Investigate 404 errors #511

paulalbert1 opened this issue Apr 3, 2023 · 0 comments

Comments

@paulalbert1
Copy link
Contributor

paulalbert1 commented Apr 3, 2023

The ReCiter Connect logs display the below errors. Why are we trying to run jobs for people when they don't exist?

2023-04-03 10:19:39.654  INFO 1 --- [           main] reciter.Application                      : InboundJaxrsResponse{context=ClientResponse{method=GET, uri=https://reciter.weill.cornell.edu/reciter/feature-generator/by/uid/?uid=jac9163&analysisRefreshFlag=true&retrievalRefreshFlag=ONLY_NEWLY_ADDED_PUBLICATIONS, status=200, reason=OK}}
2023-04-03 10:19:39.654  INFO 1 --- [           main] reciter.Application                      : InboundJaxrsResponse{context=ClientResponse{method=GET, uri=https://reciter.weill.cornell.edu/reciter/publication/manager/userfeedback/delete/?uid=jac9163, status=404, reason=Not Found}}
2023-04-03 10:19:39.654  INFO 1 --- [           main] reciter.Application                      : InboundJaxrsResponse{context=ClientResponse{method=GET, uri=https://reciter.weill.cornell.edu/reciter/feature-generator/by/uid/?uid=jub2029&analysisRefreshFlag=true&retrievalRefreshFlag=ONLY_NEWLY_ADDED_PUBLICATIONS, status=200, reason=OK}}
2023-04-03 10:19:39.654  INFO 1 --- [           main] reciter.Application                      : InboundJaxrsResponse{context=ClientResponse{method=GET, uri=https://reciter.weill.cornell.edu/reciter/publication/manager/userfeedback/delete/?uid=jub2029, status=404, reason=Not Found}}
2023-04-03 10:19:39.654  INFO 1 --- [           main] reciter.Application                      : InboundJaxrsResponse{context=ClientResponse{method=GET, uri=https://reciter.weill.cornell.edu/reciter/feature-generator/by/uid/?uid=elw9021&analysisRefreshFlag=true&retrievalRefreshFlag=ONLY_NEWLY_ADDED_PUBLICATIONS, status=200, reason=OK}}
2023-04-03 10:19:39.654  INFO 1 --- [           main] reciter.Application                      : InboundJaxrsResponse{context=ClientResponse{method=GET, uri=https://reciter.weill.cornell.edu/reciter/publication/manager/userfeedback/delete/?uid=elw9021, status=404, reason=Not Found}}
2023-04-03 10:19:39.654  INFO 1 --- [           main] reciter.Application                      : InboundJaxrsResponse{context=ClientResponse{method=GET, uri=https://reciter.weill.cornell.edu/reciter/feature-generator/by/uid/?uid=pag9051&analysisRefreshFlag=true&retrievalRefreshFlag=ONLY_NEWLY_ADDED_PUBLICATIONS, status=200, reason=OK}}
2023-04-03 10:19:39.654  INFO 1 --- [           main] reciter.Application                      : InboundJaxrsResponse{context=ClientResponse{method=GET, uri=https://reciter.weill.cornell.edu/reciter/publication/manager/userfeedback/delete/?uid=pag9051, status=404, reason=Not Found}}
2023-04-03 10:19:39.654  INFO 1 --- [           main] reciter.Application                      : InboundJaxrsResponse{context=ClientResponse{method=GET, uri=https://reciter.weill.cornell.edu/reciter/feature-generator/by/uid/?uid=jor2045&analysisRefreshFlag=true&retrievalRefreshFlag=ONLY_NEWLY_ADDED_PUBLICATIONS, status=200, reason=OK}}
2023-04-03 10:19:39.654  INFO 1 --- [           main] reciter.Application                      : InboundJaxrsResponse{context=ClientResponse{method=GET, uri=https://reciter.weill.cornell.edu/reciter/publication/manager/userfeedback/delete/?uid=jor2045, status=404, reason=Not Found}}
2023-04-03 10:19:39.654  INFO 1 --- [           main] reciter.Application                      : InboundJaxrsResponse{context=ClientResponse{method=GET, uri=https://reciter.weill.cornell.edu/reciter/feature-generator/by/uid/?uid=baj9019&analysisRefreshFlag=true&retrievalRefreshFlag=ONLY_NEWLY_ADDED_PUBLICATIONS, status=200, reason=OK}}
2023-04-03 10:19:39.654  INFO 1 --- [           main] reciter.Application                      : InboundJaxrsResponse{context=ClientResponse{method=GET, uri=https://reciter.weill.cornell.edu/reciter/publication/manager/userfeedback/delete/?uid=baj9019, status=404, reason=Not Found}}

Here's what I think is happening: the userFeedback table tracks feedback from users of Publication Manager that has not yet been added and looked up in the eSearchResults table. When we run Feature Generator, the userFeedback record gets cleared out in all cases.

Ideally, we would only do this when there are records in that table. Is there a way we can avoid this error? Do we have to delete it every time? It seems like a waste of resources. But maybe we do need to do this.

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