OpenSign icon indicating copy to clipboard operation
OpenSign copied to clipboard

[Bug]: 404 | The requested path could not be found

Open TomPapacardo opened this issue 9 months ago • 3 comments

Issue Description

After installing OpenSign with Docker on Render.com, web service is deployed ok and says it is live, but app is returning error 404 as The requested path could not be found.

Same issue occurred for deployment hosted on raspberryPI

Expected Behavior

display OpenSign homepage

Current Behavior

404 | The requested path could not be found

Steps to reproduce

app should be live at https://opensigncaiachildminder.onrender.com/

Screenshots of the issue(optional)

No response

Operating System [e.g. MacOS Sonoma 14.1, Windows 11]

No response

What browsers are you seeing the problem on?

Chrome

What version of OpenSignā„¢ are you seeing this issue on? [e.g. 1.0.6]

latest available

What environment are you seeing the problem on?

Hosted (app.yourdomain.com)

Please check the boxes that apply to this issue report.

  • [x] I have searched the existing issues & discussions to make sure that this is not a duplicate.

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct
  • [x] I have searched the existing issues & discussions to make sure that this is not a duplicate.

TomPapacardo avatar Mar 10 '25 12:03 TomPapacardo

Can you share the steps you followed to install?

nxglabs avatar Mar 11 '25 05:03 nxglabs

Thanks for your reply! Steps I followed to deploy to Render.com:

In my account I created a new project, in that project created a new web service for the client and a new web service for the server. Configuration with Docker as per below:

GitHub Repo link: https://github.com/OpenSignLabs/OpenSign.git Branch: tried both Main and Staging Language: Docker Client Root Directory: apps/OpenSign/ Server Root Directory: apps/OpenSignServer/ Environmental variables (same for both):

  • APP_ID = opensigncaia
  • MONGODB_URI = my MongoBD URI
  • MASTER_KEY = 12 digit random MasterKey
  • SERVER_URL = tried several:
    •   	http://localhost:8080/
      
    •   	http://server:8080/
      
    •   	https://opensign-******.onrender.com/ --this is the web link that I'm given directly for the Server WebService
      

In several instances I used the .env file to copy all variables into my environment, including all variables specified in the installation guide

Things I’ve discovered are that I can’t use any docker-combine on Render, so I’m not sure if the issue is that the 2 containers are not linked. In all instances, the 2 webservices are deployed correctly and running.

I tried to access the SERVER_URL and I get the message ā€œOpenSign Server is running!!!ā€, while if I try to access the client URL I get the 404 message as in the picture.

Image

Logs on Render are all returning 404, most of them are with message ā€˜GET ā€œ/ā€ returned 404 in 2ms’ everytime I try to access the client url.

Image

Not sure if any other info may be useful for anyone to trace back what I’m doing wrong. For any reference, I was getting the same result when I tried to host it on my RaspberryPI as server on the web via Cloudflare Tunnel and custom domain.

TomPapacardo avatar Mar 11 '25 17:03 TomPapacardo

Update on tests I run to try and make it work:

I changed the ports via env variables, specifying 8080 for serverside and 8080 and 3000 for client side. I noticed that the App.js file is inside a folder /src/, I have declared the root directory as apps/OpenSign/

No matter what I try I still keep on getting the error 404, which makes me think that the client url is not pointing at the correct directory where to find the index file.

I noticed in another thread that the log everyone receives is "Run migration on parse-server at http://localhost:8080/app", I only read http://localhost:8080 after changing the port.

I don't really understand what I'm getting wrong

TomPapacardo avatar Mar 19 '25 12:03 TomPapacardo