torrust-index-archive icon indicating copy to clipboard operation
torrust-index-archive copied to clipboard

405 Not allowed / Nginx error

Open GregTroar opened this issue 3 years ago • 6 comments

Hi,

Not sure if I am doing anything wrong but first connection, I try to create a new account and get a 405 not allowed nginx error. Anyone had this issue ?

Thanks

GregTroar avatar Jan 27 '22 04:01 GregTroar

Hey GregTroar,

Thanks for trying out Torrust! I'm sorry that you ran into a possible bug/issue. I'll investigate and get back to you ASAP!

mickvandijke avatar Jan 27 '22 11:01 mickvandijke

Thank you

GregTroar avatar Jan 29 '22 01:01 GregTroar

Hey @GregTroar ,

I'm not sure what went wrong in the Nginx configuration. I've updated the installation instructions, including a new Nginx configuration template if you want to give that a go: https://torrust.com/installation/#nginx-configuration

mickvandijke avatar Jan 29 '22 15:01 mickvandijke

Hi,

This is already what I had in Nginx, what did you change ? Still not working here with error 405 when I try to create a new user

GregTroar avatar Jan 31 '22 09:01 GregTroar

I think the link to the backend is incorrect, could you cd /opt/torrust/torrust/frontend and then check the .env file?

If VITE_API_BASE_URL=https://YOUR_DOMAIN/api is indeed incorrectly set, you'll have to change it and save the .env file. Then run npm run build to rebuild your frontend.

mickvandijke avatar Jan 31 '22 14:01 mickvandijke

Thanks I could finally create a user But adding a torrent I have an error message saying only torrent file can be added while I am adding a torrent file.

GregTroar avatar Feb 09 '22 10:02 GregTroar

Hi @GregTroar, the application has changed a lot since you opened this issue. I'm going to close it, feel free to re-open it if you have the same problem with the latest version.

josecelano avatar Jun 28 '23 08:06 josecelano