tiplot icon indicating copy to clipboard operation
tiplot copied to clipboard

403

Open arnaudjuin opened this issue 1 year ago • 7 comments

Screenshot 2024-10-18 at 17 42 28

Hello I am constantly getting 403 from the back end, any idea why ?

Thank you

arnaudjuin avatar Oct 18 '24 15:10 arnaudjuin

Hey @arnaudjuin, could you please provide the steps to reproduce the error you're experiencing?

HmZyy avatar Oct 18 '24 16:10 HmZyy

I followed the instructions by launching both the backend API and the frontend. I opened the frontend in Chrome with security disabled to avoid CORS issues (using the --disable-web-security flag). Despite this, I’m consistently getting a 403 error when trying to access the /current_file endpoint on localhost:5000 from the frontend hosted on localhost:3000.

Hence the screenshot of the network request showing the 403 response.

Have you already had those kind of issues ?

Thanks !

arnaudjuin avatar Oct 18 '24 17:10 arnaudjuin

Any news?

arnaudjuin avatar Oct 28 '24 18:10 arnaudjuin

hey @arnaudjuin, can you please provide the output of: yarn start:api after having the 403 error

HmZyy avatar Oct 28 '24 20:10 HmZyy

Screenshot 2024-11-14 at 09 59 04

arnaudjuin avatar Nov 14 '24 05:11 arnaudjuin

So you started the frontend with yarn start and the backend with another terminal running yarn start:api is that right? The web UI is on port 3000, the port 5000 is used for communcation between front and back.

tilaktilak avatar Nov 14 '24 09:11 tilaktilak

Correct.

arnaudjuin avatar Nov 14 '24 11:11 arnaudjuin