HTTP 405 error in frontend #1711

Closed
opened 2020-03-17 07:23:02 +00:00 by m50434 · 5 comments

Hi,
I installed vikunja on a Synology-NAS in Docker.

The backend port is 3456 and it seems that the backend is working:
if I type http://192.168.xxx.xxx:3456/api/v1/info I got some info ({"version":"0.11+6-5126330a10","frontend_url":"","motd":"","link_sharing_enabled":true,"max_file_size":"20MB","registration_enabled":true,"available_migrators":null,"task_attachments_enabled":true})

Im using port 8083 for the frontend, because port 80 is already used.

When I go to http://192.168.xxx.xxx:8083 I see the login panel.
When I try to register or to login I just see a red field with no error message. In the docker log-file there is always the HTTP 405 error. I know it means "methon not allowed" but I have no idea what Im doing wrong. Obvioulsy the backend is running (?!).

Maybe someone can help me?

Hi, I installed vikunja on a Synology-NAS in Docker. The backend port is 3456 and it seems that the backend is working: if I type http://192.168.xxx.xxx:3456/api/v1/info I got some info ({"version":"0.11+6-5126330a10","frontend_url":"","motd":"","link_sharing_enabled":true,"max_file_size":"20MB","registration_enabled":true,"available_migrators":null,"task_attachments_enabled":true}) Im using port 8083 for the frontend, because port 80 is already used. When I go to http://192.168.xxx.xxx:8083 I see the login panel. When I try to register or to login I just see a red field with no error message. In the docker log-file there is always the HTTP 405 error. I know it means "methon not allowed" but I have no idea what Im doing wrong. Obvioulsy the backend is running (?!). Maybe someone can help me?
m50434 changed title from 405 error in frontend to HTTP 405 error in frontend 2020-03-17 07:23:12 +00:00
Author

In the meantime I could register a user in the Android-Application.
Unfortunatelly the android-app is not working yet. If I login with the Android-App the screen stays grey and nothing happens.

The above error (405) in the frontend is still there!!!

In the meantime I could register a user in the Android-Application. Unfortunatelly the android-app is not working yet. If I login with the Android-App the screen stays grey and nothing happens. The above error (405) in the frontend is still there!!!
Owner

By default, the frontend expects the back end to be available on the same host and port as the back end, just at a /api/v1 subpath. Unfortunately, there is currently no way of easily configuring that, I'm sorry.

Currently, you have two options:

  • Change the URL in the frontend to the path where you're hosting the back end and then recompile the front end
  • Add a proxy to make the back end available at the same port as frontend, there are examples for this in the docs (https://vikunja.io/docs/full-docker-example/ and then "example with nginx")
By default, the frontend expects the back end to be available on the same host and port as the back end, just at a /api/v1 subpath. Unfortunately, there is currently no way of easily configuring that, I'm sorry. Currently, you have two options: * Change the URL in the frontend to the path where you're hosting the back end and then recompile the front end * Add a proxy to make the back end available at the same port as frontend, there are examples for this in the docs (https://vikunja.io/docs/full-docker-example/ and then "example with nginx")
Author

Hi konrad,
thanks. I made a config-file for nginx. Now its working. Great.

Two more questions:

  1. Whats about the Android app?
    I tried the app also with your demo-page. And the app is not working there, too. If I login with the app, the screen stays grey and nothing happens.

  2. Where I can put a feature-request?

Hi konrad, thanks. I made a config-file for nginx. Now its working. Great. Two more questions: 1. Whats about the Android app? I tried the app also with your demo-page. And the app is not working there, too. If I login with the app, the screen stays grey and nothing happens. 2. Where I can put a feature-request?
Owner

Whats about the Android app? I tried the app also with your demo-page. And the app is not working there, too. If I login with the app, the screen stays grey and nothing happens.

The android app is currently broken, there were breaking changes to the api and I didn't get around updating the app again yet.

Where I can put a feature-request?

Depending on where it belongs (frontend/backend/etc). If you're unsure, the api repo is a good place.

> Whats about the Android app? I tried the app also with your demo-page. And the app is not working there, too. If I login with the app, the screen stays grey and nothing happens. The android app is currently broken, there were breaking changes to the api and I didn't get around updating the app again yet. > Where I can put a feature-request? Depending on where it belongs (frontend/backend/etc). If you're unsure, [the api repo](https://kolaente.dev/vikunja/api) is a good place.
Owner

Closing this as resolved.

Closing this as resolved.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1711
No description provided.