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

Webserver reports "Error reading from remote server returned by" #1862

Closed
dr0i opened this issue Aug 15, 2023 · 3 comments · Fixed by #1863
Closed

Webserver reports "Error reading from remote server returned by" #1862

dr0i opened this issue Aug 15, 2023 · 3 comments · Fixed by #1863
Assignees
Labels

Comments

@dr0i
Copy link
Member

dr0i commented Aug 15, 2023

Sometimes the webserver cannot serve. It logs "Error reading from remote server returned by ...". The can be caused by many things. These two are among them:

a) Could not create OPAC URL
java.net.UnknownHostException: raw.githubusercontent.com
b) play.api.UnexpectedException: Unexpected exception[UnknownHostException: lobid.org: Temporary failure in name resolution]
at play.api.http.HttpErrorHandlerExceptions

Solution might be to use the java option -DpreferIPv4Stack.

Check all instances:
@quaoar[13]:~/git$ grep UnknownHostException */web/logs/application.log

@dr0i dr0i self-assigned this Aug 15, 2023
@dr0i dr0i added the bug label Aug 15, 2023
@dr0i dr0i moved this from Backlog to Working in lobid-resources Aug 15, 2023
dr0i added a commit that referenced this issue Aug 15, 2023
@github-project-automation github-project-automation bot moved this from Working to Done in lobid-resources Aug 15, 2023
@dr0i
Copy link
Member Author

dr0i commented Aug 18, 2023

This doesn't make the error (completely) disappear.

@dr0i dr0i moved this from Done to Ready in lobid-resources Aug 18, 2023
@dr0i dr0i reopened this Aug 18, 2023
@dr0i
Copy link
Member Author

dr0i commented Oct 13, 2023

a) Could not create OPAC URL
java.net.UnknownHostException: raw.githubusercontent.com

The github lookup is substituted by using files via gitsubmodule, see #1902.

@dr0i
Copy link
Member Author

dr0i commented Dec 19, 2023

This error appeared the last time at 2023-11-10 . As this is more than a month ago this issue seems to be resolved.
Closing.

@dr0i dr0i closed this as completed Dec 19, 2023
@github-project-automation github-project-automation bot moved this from Ready to Done in lobid-resources Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant