Invoice ninja work slow in chrome and got error on windows aap

invoice ninja work slow in chrome and use lot of cpu usage and when i try to log in using windows aap as self hosted i got this error.

Error: please check that Invoice Ninja v5 is installed on the server

URL: https://invoice.subdomain.com/api/v1/login?first_load=true&include_static=true

Response:

403 Forbidden <body style="color: #4 <p>Headers: {connection: Keep-Alive, alt-svc: h3=“:443”; ma=2592000, h3-29=“:443”; ma=2592000, h3-Q050=“:443”; ma=2592000, h3-Q046=“:443”; ma=2592000, h3-Q043=“:443”; ma=2592000, quic=“:443”; ma=2592000; v=“43,46”, keep-alive: timeout=5, max=100, cache-control: private, no-cache, no-store, must-revalidate, max-age=0, date: Sat, 25 Nov 2023 04:14:54 GMT, content-length: 1229, p3p: policyref="/w3c/p3p.xml", CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT", pragma: no-cache, content-type: text/html, server: LiteSpeed}}</p>

Hi,

It may help to change to the React web app, there’s a button on the dashboard to switch between the web apps.

I switch to react web aap and got error [404 | Nothing to see here!] Screenshot by Lightshot. I was able to go back to flutter with tis sql query UPDATE accounts SET set_react_as_default_ap = 0

How can i fix this 404 error to use react aap? I am using Version 5.7.48 and installed from cpanel Softaculous.

So just now I update the version to 5.7.54 C141 and still have to same 404 error.

@david do you have any suggestions?

Softaculous does not build the react application

I simply installed it from here Screenshot by Lightshot. If this is not right the link then I found three different installation types on this link Free Source Available Invoicing, Expenses & Time-Tracking | Invoice Ninja. looks like i installed Admin Portal - Desktop & Mobile.

I have a shared web hosting with cPanel. which one you recommend will run faster with out lagging.
1-Backend - API,
2-Admin Portal - Desktop & Mobile
3-Admin Portal - Web

also if you can tell me instruction how to do the installation.

On the web we recommend the React app, for desktop the Flutter app should perform well.

@hillel
what i understand to enable react aap i have to install this zip file first Screenshot by Lightshot and than add these files in installation folder to enable react aap Screenshot by Lightshot

am i right?

If you install the release zip from GitHub it includes the React files.

@hillel

I downloaded invoice ninja from github zip file Screenshot by Lightshot. again same error flutter works ok but when you switch to react you get 404 error. Screenshot by Lightshot

@david do both the tar and zip contain the React app files?

sorry i mark the wrong file in screenshot. i download the zip folder.

the .tar and .zip are the same builds, just different compression formats.

@hillel

Any solution to fix this error?

I’m not sure about the React error, @david may have a suggestion,

For the Windows app error I suggest trying with the mobile app, also checking that the URL you’re using is correct.

@hillel
windows aap error was due to server firewall. Server firewall was blocking the access.

@david
any idea why i am getting 404 error when switch to react aap?

@david

I know you are busy please help me to fix this 404 error when i switch to react aap?

@mirzaishfaq I mentioned the answer above, the issue is due to Softaculous not including it.

@david

I downloaded invoice ninja from github zip file Screenshot by Lightshot . again same error flutter works ok but when you switch to react you get 404 error. Screenshot by Lightshot