Cyberbyte-Software / CyberWorks-3

CyberWorks 3 is a database management panel for Altis Life
https://cyberbyte.software/projects/cyberworks-3
GNU General Public License v3.0
19 stars 8 forks source link

DataTable issue #39

Open Dunkstormen opened 6 years ago

Dunkstormen commented 6 years ago

Please only submit the section relevant to what you are submitting.

Bug Report

cammygames commented 6 years ago

Was able to reproduce this slightly when internet connection is limited, will investigate further to implement solution.

Dunkstormen commented 6 years ago

Just a bit curious, is there any progress regarding this issue?

MightySCollins commented 6 years ago

Not yet AFAIK its to do with CSRF checking and not noticeable with a good internet collection and fast DB server

Dunkstormen commented 6 years ago

Been doing some thinking/research and have come to the conclusion that the problem may be in the connection between my VPS that is running the panel and our dedicated server.

Though the connections should be fast enoungh, I guess that the way packet has to travel has an impact on CSRF check.

Connection details: Dedicated server: 600Mbps/600Mbps (Located in DK) (Proxied with remote DDoS protection located in RO) Web server / VPS : 100Mbps/100Mbps (Located in NL) My own connection: 50Mbps/10Mbps (Located in DK)

I'll try get a VPS that can reach our DS over LAN and see if that resolves the issue. Will let you know when I've tried it out.

Dunkstormen commented 6 years ago

UPDATE

System seems to be running faster now after I reinstalled my VPS, updated PHP to 7.1.15 and used the direct IP instead of proxied IP. Though issue still occurs when typing a search query fast in the search box. So I/we would need to wait for it to process in between each character when searching

Example: I want to find a player named "Steward Johnson". I go to the players page and start searching for him. Starting by pressing "S" and waiting about ½ a second for it to process, then continuing by pressing "T" and so on.

MightySCollins commented 6 years ago

If thats half fixed it I think your next problem is going to be your database. Is players a big table and is MySQL running well? Its still an issue but until we change how we do our entire CSRF system speeding up those requests should help/