plankanban / planka

The realtime kanban board for workgroups built with React and Redux.
https://planka.app
GNU Affero General Public License v3.0
7.94k stars 738 forks source link

[Bug]: websocket error if there is space between 'BASE_URL=' *here* 'planka.mydomain.com' #907

Open drascom opened 3 weeks ago

drascom commented 3 weeks ago

Where is the problem occurring?

I encountered the problem while using the application (Frontend)

What browsers are you seeing the problem on?

Brave, Chrome, Firefox, Microsoft Edge, Safari

Current behaviour

https://sub.domain.com opening but after login only i can see infinite loading screen. At Console there is bunch of ws:// https...... connection errors

Desired behaviour

BASE_URL=https://sub.domain.com or BASE_URL= -space- https://sub.domain.com should be work

Steps to reproduce

For Docker installation if you add space while entering domain name to BASE_URL at docker-compose.yml file installation completing successfuly also (with extenal nginx proxy manager in my case ) https://sub.domain.com opening and i can reach the login screen but after login At Console there is bunch of ws:// https...... connection errors

Other information

No response

meltyshev commented 3 weeks ago

Hi! Thanks for reporting this. You're right, it looks like we need to trim BASE_URL and possibly other environment variables as well.