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

Production really slow no display of the articles / no display guidelines: upstream timed out (110: Operation timed out) / (101: Network unreachable) #212

Open
eliselavy opened this issue Nov 8, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@eliselavy
Copy link
Collaborator

eliselavy commented Nov 8, 2023

Problem to dispaly guidelines:

2023/11/08 09:11:07 [error] 39#39: *261330 connect() to [2606:50c0:8000::154]:443 failed (101: Network unreachable) while connecting to upstream, client: 10.244.9.63, server: , request: "GET /proxy-githubusercontent/C2DH/jdh-notebook/master/examples/hermeneutic-layer.ipynb HTTP/1.1", upstream: "https://[2606:50c0:8000::154]:443/C2DH/jdh-notebook/master/examples/hermeneutic-layer.ipynb", host: "journalofdigitalhistory.org", referrer: "https://journalofdigitalhistory.org/en/fingerprint-explained"

Problem to display articles:

Screenshot 2023-11-08 at 10 46 31

Screenshot 2023-11-08 at 10 43 01

2023/11/08 09:12:23 [error] 39#39: *261330 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 10.244.9.63, server: , request: "GET /api/articles?limit=100 HTTP/1.1", upstream: "http://172.19.0.4:8000/api/articles?limit=100", host: "journalofdigitalhistory.org", referrer: "https://journalofdigitalhistory.org/en/articles"
@eliselavy eliselavy self-assigned this Nov 8, 2023
@eliselavy eliselavy added the bug Something isn't working label Nov 8, 2023
@eliselavy eliselavy changed the title Production really slow no display of the articles https://journalofdigitalhistory.org/en/articles Production really slow no display of the articles : upstream timed out (110: Operation timed out) Nov 8, 2023
@eliselavy
Copy link
Collaborator Author

eliselavy commented Nov 8, 2023

I restart the production
Many:

110: Operation timed out Timeout when page call the api
101: Network unreachable when page linked to GitHub ( guidelines / preview notebook)

See log here
log_nginx_0811.log

@eliselavy eliselavy changed the title Production really slow no display of the articles : upstream timed out (110: Operation timed out) Production really slow no display of the articles / no display guidelines: upstream timed out (110: Operation timed out) Nov 8, 2023
@eliselavy eliselavy changed the title Production really slow no display of the articles / no display guidelines: upstream timed out (110: Operation timed out) Production really slow no display of the articles / no display guidelines: upstream timed out (110: Operation timed out) / (101: Network unreachable) Nov 8, 2023
@c2dhfma
Copy link

c2dhfma commented Nov 10, 2023

The call to /api/articles/?limit=100 is now monitored with Uptime Kuma http://dev.c2dh.uni.lux:3001/dashboard/22

JDP API uptime kuma 2023-11-10 09-47-05

But this does not mean you can leave it like that:

  • Your sysadmin must monitor the server in order to find possible bottlenecks;
  • Your dev team must investigate the call. It actually takes around 1s to get the response which is quite high.
    HTH.

@eliselavy eliselavy transferred this issue from C2DH/journal-of-digital-history Nov 10, 2023
@eliselavy eliselavy reopened this Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants