question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

503 Server Unavailable

See original GitHub issue

Environment

  • Operating System: Linux
  • Node Version: v18.7.0
  • Nuxt Version: 3.0.0-rc.12
  • Nitro Version: 0.6.0
  • Package Manager: npm@8.15.0
  • Builder: vite
  • User Config: srcDir, modules, compilerOptions, vue, vite, telemetry, algolia, head, auth, css, build, runtimeConfig
  • Runtime Modules: genesis-design-system/nuxt, @nuxtjs/tailwindcss@5.3.5, @nuxtjs/algolia@1.1.4, @nuxtjs-alt/auth@2.0.20, @nuxtjs/device@3.0.0, unplugin-icons/nuxt, @pinia/nuxt@0.4.3, @nuxtjs/i18n@8.0.0-alpha.3
  • Build Modules: -

Reproduction

we are crawling our website with screaming frog…

When we have about 1,500 urls tracked, the server crashes and starts throwing 503 errors.

image

And at that moment we try to make a request through the browser and it is already impossible.

You have to stop the server and start it again

image

Describe the bug

we are crawling our website with screaming frog…

When we have about 1,500 urls tracked, the server crashes and starts throwing 503 errors.

image

And at that moment we try to make a request through the browser and it is already impossible.

You have to stop the server and start it again

image

Additional context

No response

Logs

Error: socket hang up
    at connResetException (node:internal/errors:704:14)
    at Socket.socketOnEnd (node:_http_client:505:23)
    at Socket.emit (node:events:525:35)
    at Socket.emit (node:domain:489:12)
    at endReadableNT (node:internal/streams/readable:1359:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
amihhscommented, Nov 3, 2022

same issue 0ea06b91d31b063c07a4a6d86f4fda8

nitro\src\dev\server.ts image

I found that it was caused by the return of false by existsSync (address.socketPath)

0reactions
amihhscommented, Dec 21, 2022

hi @ae86jung , for me,I sent him return void instead of errrorHandle. So that api can work properly.(Everything is fine at the moment)

Read more comments on GitHub >

github_iconTop Results From Across the Web

503 Service Unavailable Error: What It Is and How to Fix It
A 503 Service Unavailable Error is an HTTP response status code indicating that a server is temporarily unable to handle the request.
Read more >
What is a 503 Service Unavailable Error (And How Can I Fix It)?
A 503 Service Unavailable Error indicates that a web server is temporarily unable to handle a request. That could be the web server...
Read more >
HTTP Error 503 Service Unavailable Explained - freeCodeCamp
A 503 Service Unavailable error means that the page or resource is unavailable. There are many reasons why a server might return a...
Read more >
How to Fix the HTTP Error 503 Service Unavailable - Kinsta
The 503 (Service Unavailable) status code indicates that the server is currently unable to handle the request due to a temporary overload or ......
Read more >
How to Fix 503 Service Unavailable Error: 7 Steps That Work
Unlike other server-side errors, the HTTP error 503 service unavailable means that your web server operates properly but can't be reached at the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found