Dashboard not loading over VPN
Permalink
My site is hanging after I log in to the dashboard, however renders fine otherwise (with cache off for development).
Issue: blank white screen, toolbar with no buttons, page hangs ..
Affected Pages: welcome screen, all site pages (some front end pages render but freeze on 'edit' mode) and some dashboard pages like the site map render fine.
When: after logging in. *Using a VPN to access my workstation at work
Note, this issue doesn't occur when working locally and FYI other applications run fine this way so I think there may be a code issue? I haven't modified core and am only using Express Objects and nothing crazy going on in the backend or any custom views etc.
I thought it was the welcome screen hanging because I was able to access the site map, however, problem persists.
Maybe this is just due to VPN and I'm going to need to work locally?
Issue: blank white screen, toolbar with no buttons, page hangs ..
Affected Pages: welcome screen, all site pages (some front end pages render but freeze on 'edit' mode) and some dashboard pages like the site map render fine.
When: after logging in. *Using a VPN to access my workstation at work
Note, this issue doesn't occur when working locally and FYI other applications run fine this way so I think there may be a code issue? I haven't modified core and am only using Express Objects and nothing crazy going on in the backend or any custom views etc.
I thought it was the welcome screen hanging because I was able to access the site map, however, problem persists.
Maybe this is just due to VPN and I'm going to need to work locally?
Thank you for that suggestion, that's a good option, however, I have a static IP assigned and also, checking the logs shows no entries relating to the locked up dashboard.
The dashboard will render after clicking on it's associated toolbar button but the response is super super laggy.
The dashboard will render after clicking on it's associated toolbar button but the response is super super laggy.
@MrNiceGaius
Is this a dedicated VPN for accessing the work network?
When logged into your work computer using the VPN, are other tasks slow, like accessing files, etc.?
Is this a dedicated VPN for accessing the work network?
When logged into your work computer using the VPN, are other tasks slow, like accessing files, etc.?
This is a dedicated VPN used to access the company's internal network.
I have an Linux server setup with a static IP and DNS which allows me to access my box from anywhere in the network.
At work now, I've tested the VPN and the c5 site hangs every time when page is put into edit mode. Basically, the symptoms have not changed now that I'm at work. However, when I plug my LAN cable in I'm good and c5 works fine.
When I use VPN I normally am working remotely, accessing for example Wordpress dashboard as well as connecting to my Samba share for file system access.
I can run my Wordpress site fine and the c5 site is hanging ... that's what led me to post here as it seems something technical is blocking stuff.
FYI, I've set the security option referred to in your suggested link and it did not have an effect which was expected as I was not having login issues.
I have an Linux server setup with a static IP and DNS which allows me to access my box from anywhere in the network.
At work now, I've tested the VPN and the c5 site hangs every time when page is put into edit mode. Basically, the symptoms have not changed now that I'm at work. However, when I plug my LAN cable in I'm good and c5 works fine.
When I use VPN I normally am working remotely, accessing for example Wordpress dashboard as well as connecting to my Samba share for file system access.
I can run my Wordpress site fine and the c5 site is hanging ... that's what led me to post here as it seems something technical is blocking stuff.
FYI, I've set the security option referred to in your suggested link and it did not have an effect which was expected as I was not having login issues.
Well ...... I don't think this is an issue with c5. In fact, the problem now is happening for my WP app as well.
I'm looking into the VPN now. This is most likely due to the VPN but I'll report back with confirmation or news otherwise.
I'm looking into the VPN now. This is most likely due to the VPN but I'll report back with confirmation or news otherwise.
FIGURED IT OUT .... wait for it .... was file permissions issue in application/config/
My application/config/ directory and contents required write permissions for Apache to be able to put contents/files there.
For now (in development) I just set my files recursively:
and folders recursively:
*I'll post an update with the actual settings that work in production and steps needed for anyone else that runs into this issue. Basically, these folders were in my user name and not writable by Apache's user "www-data".
Now, when on VPN connection, my Concrete5 v8 site runs just fine.
My application/config/ directory and contents required write permissions for Apache to be able to put contents/files there.
For now (in development) I just set my files recursively:
sudo find application/config/ -type f -print0 | xargs -0 sudo chmod 666
and folders recursively:
sudo find application/config/ -type d -print0 | xargs -0 sudo chmod 777
*I'll post an update with the actual settings that work in production and steps needed for anyone else that runs into this issue. Basically, these folders were in my user name and not writable by Apache's user "www-data".
Now, when on VPN connection, my Concrete5 v8 site runs just fine.
Well, nope, the issue was resolved (or at least behaved as such) while at work on a public wifi network, however, now that I'm back home I can confirm the issue is happening again; however, this time only for the welcome page (in dashboard) and a single page type that has a few express details blocks with custom templates.
So, this to me tells me I need to upgrade my internet at home in order to serve more bandwidth but still the pages that do load are snappy so this is a really strange bug to me.
:0
Update: I've been able to repo this issue on another internal facing network and can confirm the same behavior. Basically Concrete5 comes to a complete halt on certain pages.
Site map (okay)
Welcome screen (frozen)
Individual Pages (okay when not in edit mode)
*in edit mode individual pages with lots of blocks (5-7) freeze.
Anyone else use Concrete5 over a VPN with success?
So, this to me tells me I need to upgrade my internet at home in order to serve more bandwidth but still the pages that do load are snappy so this is a really strange bug to me.
:0
Update: I've been able to repo this issue on another internal facing network and can confirm the same behavior. Basically Concrete5 comes to a complete halt on certain pages.
Site map (okay)
Welcome screen (frozen)
Individual Pages (okay when not in edit mode)
*in edit mode individual pages with lots of blocks (5-7) freeze.
Anyone else use Concrete5 over a VPN with success?
@MrNiceGaius
Slow loading of the welcome screen is an open issue.
https://github.com/concrete5/concrete5/issues/5171...
https://github.com/concrete5/concrete5/issues/4650...
A work around for the welcome screen is to redirect to a different page on login.
Dashboard > System & Settings > Login & Registration > Login Destination
Instead of working directly on your work computer through the VPN, have you tried syncing your concrete5 install changes to a local server?
Slow loading of the welcome screen is an open issue.
https://github.com/concrete5/concrete5/issues/5171...
https://github.com/concrete5/concrete5/issues/4650...
A work around for the welcome screen is to redirect to a different page on login.
Dashboard > System & Settings > Login & Registration > Login Destination
Instead of working directly on your work computer through the VPN, have you tried syncing your concrete5 install changes to a local server?
Thanks MrKDilkington, good suggestion.
In this case, I'm preparing the c5 application for internal development. The idea, was that a 3rd party contractor would use the VPN to access the internal host from outside of our location.
Good news, the contractor can come into our building to add content to the system so the VPN issue is not a deal breaker.
However, I am looking at setting up a Docker image that will facilitate working on the project locally. If I end up going that route I'll post back with my solution.
In this case, I'm preparing the c5 application for internal development. The idea, was that a 3rd party contractor would use the VPN to access the internal host from outside of our location.
Good news, the contractor can come into our building to add content to the system so the VPN issue is not a deal breaker.
However, I am looking at setting up a Docker image that will facilitate working on the project locally. If I end up going that route I'll post back with my solution.
I would look at this discussion and see if it fits the issue you are having:
https://www.concrete5.org/community/forums/usage/suddenly-logging-ou...