Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

stuartcusack's avatar

Inertia SSR {"status":"NOT_FOUND"}

I have just started experimenting with Inertia SSR and I believe I have copied all of the requirements from the Breeze and JetStream examples. I have gone through all of the docs for Inertia / Vite.

When I run:

node bootstrap/ssr/ssr.mjs

And visit:

http://127.0.0.1:13714/

This is all I see:

{"status":"NOT_FOUND","timestamp":1673617447187}

I have also tried this on a fresh Breeze installation. The same thing happens. So it seems there is a problem outside of the code.

I am running Windows 10 and Laragon. Perhaps there is something I need to configure on Laragon? (it's basically WAMP)

Thank you.

0 likes
8 replies
stuartcusack's avatar

Nevermind. The Breeze installation works. I am missing something in my code.

I don't think you are supposed to visit http://127.0.0.1:13714/ directly. The NOT FOUND test probably shows up even when thinks are working correctly.

pwnz22's avatar

Good afternoon. Did everything according to the documentation "Inertia SSR". It works correctly locally and works on the server too. But when I try to login to my backend server (http://10.241.81.15:8085/) it throws an error: {"status":"NOT_FOUND","timestamp":1673617447187}. How did you solve this problem?

stuartcusack's avatar

I cant remember what my problem was but you should not visit the url in config/ssr.php directly. The message you are seeing is a sign that ssr is ready. Visit yourwebsite.test (or whatever your app url is) instead.

1 like
kk212's avatar

I am having the same issue. SSR running fine but the client rendered site is displayed (confirming that by looking at the page title I set via the Inertia's HEAD component - if it was rendered on server the document sent to the browser should contain the title set by React, but turns out it contains the title set in the blade template instead).

Update:

looks like its just that doesn't get updated.

SR works can be tested by adding the following to your page template (for React, I guess it can be done similarly for Svelte/Vue):

            { (typeof window === 'undefined') && <div>HELLO SERVER</div> }
            { (typeof window !== 'undefined') && <div>HELLO CLIENT</div> }
stuartcusack's avatar
stuartcusack
OP
Best Answer
Level 3

Just to be clear. I opened this issue because I did not understand the 'Not Found' message. There is nothing wrong here, it was just a misunderstanding. I suggest opening a new issue.

bodda's avatar

@stuartcusack I am having the same issue on localhost and i can't find the correct port number to get the correct response

Furrukh's avatar

I am also facing the same issue, and if I check http://localhost, I see nothing, any solutions found yet? mine is a laravel React app, did everything done in what was said in inertia docs for ssr

JoaoHamerski's avatar

If anyone else stepped into this:

This is intended behavior, when you start

php artisan inertia:start-ssr

Inertia will output a message like this:

Starting SSR server on port 13714...

This is not the port your application should be accessed from, you should access via the default port (usually 8000), this is the port inertia internal process uses to render the HTML, and then serve it to the Laravel application.

To test if your SSR is working properly, type something inside a Vue component, like:

<template>
  HELLO WORLD
</template>

Then, run npm run build to run Inertia's SSR build files.

After that stop and start the command php artisan inertia:start-ssr again.

Open you app (localhost:8000), press CTRL + U to open its source code and CTRL + F to find for words, search for "HELLO WORLD", if you find it, it's because inertia is properly rendering the HTML via server-side. Or you can disable Javascript in your browser, if the pages render the "HELLO WORLD" content from inside your Vue file, it's also working.

Please or to participate in this conversation.