Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

too slow when connected to local domain/LAN

Fahad   ( User )

Commented 5 years ago

I have configured the app on my PC and the web app is up and running on localhost it works fine and loads fine until I plugin the network cable and the system becomes part of the LAN/ local domain network. I am unable to comprehend whether I have to change something with the web application settings or my domain policies are causing the issue. Infact, I am running another web application that is even larger than akaunting, but it works perfectly fine. I need to know the solution If anyone please help. Thanks

Fahad   ( User )

Commented 5 years ago

I can see that when I plugin the cable and see the response from from the developers tools it shows me the following two connections that take too much time. I understand that application is looking for something to fetch from the internet and it cannot get it back as the attached image shows; It is not getting the fonts from googleapis but what is causing more waiting time is the loading of first page every time. Hope to get a response from you.

Fahad   ( User )

Commented 5 years ago

I cannot attach image here. you can see on google drive.
https://drive.google.com/open?id=1cC3y2MqivuBkbtPPh6MaqY6PijG-lfdM
https://drive.google.com/open?id=1cC3y2MqivuBkbtPPh6MaqY6PijG-lfdM

Fahad   ( User )

Commented 5 years ago

I can see that you have closed the issue on github as you can see the issue here. I request you kindly reply to my query.

Denis Dulici   ( Admin )

Commented 5 years ago

Hello Fahad,

Please, make sure that Google APIs are accessible in your country.

Regards

Fahad   ( User )

Commented 5 years ago

Hi, there is no internet connection. it is running on Local Domain within an intranet. It works fine when I Unplug the cable and takes too much time when I connect the LAN cable.

Fahad   ( User )

Commented 5 years ago

I have resolved the issue for fonts.googleapis but the webpage takes too much time to load. For example, when LAN is connected, When I press the dashboard button. It takes 30-40 seconds to wait to get response. same goes for when I press revenues in income tab. etc.
So everything just loads normally except the very first request. let me show you the image. the first page that is taking too much to respond. have a look at the attached link for the image.
https://drive.google.com/open?id=1Xb3m66w2bIKoew7KBESbPvGIpAhSGceX

Fahad   ( User )

Commented 5 years ago

you can see in image issue1.png that it waits 27 seconds to load on localhost what is causing this issue. it will load fine when I will unplug the network cable. There is no internet connection.

Denis Dulici   ( Admin )

Commented 5 years ago

I'm sorry but you need an internet connection in order to access Google fonts.

Fahad   ( User )

Commented 5 years ago

Hi, I have mentioned that I have solved the issue for Google fonts already. I have downloaded css file for fonts and it is not causing any delays. If you can see in the attached image "issue2.png" I am having the issue when the page starts to load. for example, When I click on the dashboard it resolves the IP of the server quickly but then keeps on waiting on localhost/127.0.0.1 for more than 27 seconds on average. I cannot see what is actually causing this wait time. I hope you understand where I am actually having trouble. if that wait time is also for something like fonts issue. kindly point it out so that I may resolve it.

Please login or register to leave a response.

Showing 1 to 10 of 16 discussions