Errors, Errors, Errors

Wednesday, June 8, 2022 at 12:29 PM

For my job, I'm currently working on a web application.

But I keep having errors that prevent me from working.

Sometimes, it's a DNS error (NXDOMAIN).
Sometimes, it's a 503 error (that applies to PHP only, not to text files, go figure).
Sometimes, it's an SQL error between the web server and the MySQL server.
(But I can still access the MySQL server in MySQL Workbench)
Sometimes, it's the DHTMLX calendar widget that is empty ; reloading a couple times usually brings it back.
Sometimes, it's the FTP server that stops responding to Dreamweaver.

Right now, I'm stuck with the 503 error.

At 1pm, I'll be calling my supervisor and telling him (I've already told him, but the errors are getting more and more frequent)


Last friday, I made a big number that covers the entire screen with a transparent gray background. Since the web application is made with AngularJS, every HTTP request goes through $http. So I intercepted every call to $http(...).then(...); and show the number of parallel requests. If it displays 5, it means that there are 5 simultaneous requests. You can see the number go up and then down. This code I wrote also allows me to centralize the error pop-ups. Now, whenever a 503 or SQL error happens, I get a pop-up with the error message. It's been a while since I developed code of this complexity.
Unrelated, I'm glad I fixed every bug in the error.log Before, I would get dozens of errors per request. Now, I get none.
Also unrelated, even if they are paying a hosting company for the MySQL server, they are accessing it with a *.dynalias.com address. Usually theses services are for when you want a domain name to point to a dynamic IP address. Since they are paying a hosting company, I would have thought that they would have a static IP address. I was not given a clear answer about that. My supervisor told me they use this *.dynalias.com domain name so that they don't have to remember the IP address. Which is not an answer at all (I wan't asking why they were using a domain name at all, just why they were using a *.dynalias.com one)

Name
Password

No need to register, just enter the same name and password every time.