Web Application Idle/Non Responsive

I believe that I have figured out my issue while setting up the project on the new Linux Dev VM. I recently updated GraffitiSuite components and the Xojo release. (right there, I should have clued in, right?) My copyfiles script on Windows was updated to reflect the changes, but my copyfiles script for Linux was not updated. Running debug builds on Windows was obviously fine. But I was copying the wrong files for Linux.

So, I fixed the copyfiles script for Linux and redid the build. Stopped the service on the target server. Moved everything (that needs updating) with Filezilla as usual. Checked the permissions on the executable file on the Linux target - The executable flag and the permissions needed to be updated for the user and for the group, but that is not unusual. Restarted the service. Accessed the application with Chrome, Firefox, Brave and Edge from outside my LAN, to go through the firewall, reverse proxy etc.(one of these days, I will have to buy a Mac to test with Safari, too. But I have friends). It works like a charm. Situation resolved.

It is interesting that the application did not crash, just remained unresponsive. Nor was there anything that I could find in the logs, or by running the application from console. After searching for elaborate issues, it was just an oversight. Sometimes I can be so dumb… :roll_eyes:

2 Likes

@Louis_D - I don’t think we’re having the same issue.

I have removed all references to GS in my stripped down project and removed the copy files step which copies the GS ā€œscriptsā€ folder into the built app, and I can still hang the app reliably in my stripped-down testing version.

I’m continuing to rip out functionality to really get to the most minimal build where I can still 100% freeze the debugger while running the web app. (and then I’ll create a case)

Again, because I feel like this detail is easily lost in trying to think about all the options, when I cause the debugging build of the app to become non-responsive, the Xojo debugger is also non responsive with neither the pause or stop buttons IN THE IDE responding to clicks.

image

So this feels to me (who 100% is not an engineer at Xojo so take this with a grain of salt) like the Web Framework has stopped responding (vs. my app).

If my app was blocking the IDE, I’d expect high cpu or ram usage, neither of which are the case. The RAM allocated is very low and the CPU use is < 1%.

1 Like

Yes. different issues with similar symptoms. I did post my solution to my problem in hope that it may be of help.

Your’s is definitely the more complex issue. Best of luck fixing it.

1 Like

I’ve made a as-slimmed-down-as-I-could version of the project where I can still demonstrate the issue and have shared it in a confidential case.

I will update this thread with whatever discoveries are made, be they my learnings on how to better handle a Web2 app, or if there’s a framework bug and the workaround(s) for it.

Appreciate everyone’s help and this great community. :slight_smile:

Cheers,
Anthony

6 Likes

Thanks @Anthony_Dellos for opening the issue and everyone else for helping :green_heart:

2 Likes

For those ā€œwatching at homeā€. I am working with @Ricardo_Cruz on this issue via a private case. (thanks Ricardo!)

I’ll plan to update this thread when there’s a resolution.

5 Likes

For those following along:

@Ricardo_Cruz has added the Framework and Verified labels to my case.

I’ll continue to update this thread when there are any newsworthy updates.

Have a great day!
Anthony

2 Likes

Well, I hope he’s able to sort it out. My demo just died again. Restarting the Xojo web app (not the server or the load balancer) corrected the issue. Nothing in the logs to suggest a cause. I feel like everything else has been ruled out at this point. At least it’s not every 24 hours, like it was before.

Which value of MinSockets and MaxSockets do you have set?

That’s not likely to be the reason. The app is deployed with Lifeboat which uses the default Xojo Web app configured value of 200. The only change between before it started happening and now is the version of Xojo used to build the application.

2 Likes

Not saying it’s a reason, just to rule it out its kind good information.

[Thread moved out of Testers and into Web, now that 2025r1.1 has been released.]

1 Like