-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constant Loading Message at Top of Board #3334
Comments
@ Mythotical Do you have websockets enabled in webserver that is at front of Wekan, like Caddy/Nginx/Apache ? See config examples at right menu of https://github.com/wekan/wekan/wiki |
I don't use any of those. I use OpenLiteSpeed. I think I have everything configured but I'm not sure about websockets. |
Did you configure websockets? |
Probably not. I'll follow the guide and hopefully that fixes it. |
I checked into it and I'm using OpenLiteSpeed with DirectAdmin so going to the LiteSpeed panel does me no good because of how DirectAdmin handles things with configuration files and vhost files I am unable to add or do anything in the panel. So what I would need is instructions for setting up a websocket proxy using SSH. However I did follow this guide: https://forum.directadmin.com/threads/how-to-reverse-proxy-openlitespeed-on-directadmin-working-with-net-core-blazor.60218/ But I'm sure there is more I didn't do as I'm sure I still need to install a WebSocket proxy. If you can't tell I'm new to this whole WebSocket proxy stuff. |
In that guide that websocket upgrade part looks like what is missing. It should work, if at your Wekan docker-compose.yml is port number like this:
|
Usually those setting should go where your website config file is. I don't know at what directories config files are stored at OpenLiteSpeed. |
@xet7 Yeah, those settings do go where my website config file is, I can actually alter that file in DirectAdmin no problem. I'll give a proper ROOT_URL and PORT a try. |
@xet7 Can I instead remove ports: and add - PORT=4001 below ROOT_URL? |
Well, it depends: https://github.com/wekan/wekan/wiki/Settings Websocket addresses should be to 127.0.0.1:4001 a) Only locally on laptopWekan at https://localhost:4001
a) At Internet, without SSL/TLSWekan at https://roadmap.goblin-technologies.com
c) At Internet, with SSL/TLSWekan at https://roadmap.goblin-technologies.com OpenLiteSpeed webserver has SSL/TLC certificate.
|
@xet7 |
@xet7 |
Most trouble free for me has been Caddy that is included in Wekan Snap. |
At first, I was using Wekan snap but kept having the same issue and I had no idea Caddy was included. I already have boards set up, cards, templates, all that. If I can export from Wekan then import to Wekan I'll gladly do that and try Wekan Snap again and utilize Caddy. Honestly, I love Wekan so much I want to get this to work 100%. There is no other kanban out there that is this close to being like Trello. |
Backup/Restore info is at https://github.com/wekan/wekan/wiki/Backup Yes, you can use mongodump and mongorestore to move all data, and add same settings with Snap commands. |
Awesome thanks. |
@xet7 Thanks for all your help. |
@xet7 So I added the following to my httpd.conf for my site:
After reloading httpd I'm present with the following error:
Not sure what I'm doing wrong but I'm still investigating, if I manage to figure it out, I'll report back the solution that fixes the above and the loading message. Also: https://github.com/wekan/wekan/wiki/Apache |
Solution which has fixed my server loading and my loading message at the top of the board, this is for Apache on CentOS 7/8
All is fixed and working now. |
Issue
I used Docker and Docker-Compose to get my Wekan installation working. Right now I'm having an issue that sometimes on page load I get a message at the top "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped." which I have checked and the server has not stopped. I inspect elements then click console and have a lot of WebSocket errors.
Problem description:
Here is the current error and it repeats indefinitely until I refresh the page then it either loads or starts over.
WebSocket connection to 'wss:https://roadmap.goblin-technologies.com/sockjs/280/l4eo0tji/websocket' failed: Error during WebSocket handshake: Unexpected response code: 404 k.websocket @ .../5f9479366b85e62aa966ae99a10b5af47f7741b1.js?meteor_js_resource=true k._try_next_protocol @ .../5f9479366b85e62aa966ae99a10b5af47f7741b1.js?meteor_js_resource=true k._didClose @ .../5f9479366b85e62aa966ae99a10b5af47f7741b1.js?meteor_js_resource=true o._ir.onfinish @ .../5f9479366b85e62aa966ae99a10b5af47f7741b1.js?meteor_js_resource=true i.emit @ .../5f9479366b85e62aa966ae99a10b5af47f7741b1.js?meteor_js_resource=true i.onfinish @ .../5f9479366b85e62aa966ae99a10b5af47f7741b1.js?meteor_js_resource=true i.emit @ .../5f9479366b85e62aa966ae99a10b5af47f7741b1.js?meteor_js_resource=true s.xhr.onreadystatechange @ .../5f9479366b85e62aa966ae99a10b5af47f7741b1.js?meteor_js_resource=true
I run mine installation through a port and use Rewrite rules to leave out the port number when accessing it. Could that be causing the issue? Also, I run OpenLiteSpeed but I had this issue on Apache as well as OpenLiteSpeed.
Log:
Docker-Compose-Logs.zip
Server Setup Information:
The text was updated successfully, but these errors were encountered: