Skip to main content

I found the record

I found API record before the hangs 10:07. I saw API record at 10:03. The record not received by the app. The earliest log from the log file was 10:07.  It was sent. There is a catch but since no record for that API call, left three possibilities.

 One, the UI failed to load and not the API Anyway, I purposely put the api call there. For that button, only one so I can tell whether there is network or not. If there is, it should just redirect after receiving. The data will not be in use to load the page. It will be used several page after. 

Second, there is an image update and my app cannot find the image and hanged. Cannot be, the image was not lived. It was a menu page so nothing needed to load it except for the static link and text. 

Third, losing network just in time, i.e. before receiving the response from API. In 200 ms response that was a rare encounter but starting the first, it could be about 1 s. More chance. Hard to reproduce also. I need to turn off wifi once I click the btn. Possible? 

I have a Fourth suspect which I thought was really the app causing it. I checked back my code, there is an EXIT function after the catch so user cannot proceed if there is an error or at least until the error was solved. When there is problem Exit BUT it will only Exit after logging. There was no log so it wasn't the Exit function. I also put log if the API is successful or not successful....  If not successful, there is a pop up. None of them showed up...... These were done when loading the page. The page didn't load and no logs and no pop up but with API log record request. This is ghost. Because of number 4.

Based on these, only the windows update left and program that is not in used for about 2 to 3 days will become idle and not responsive?? Memory leak or something, or clear cache? Ok. Based on these finding, there is no issue with the code. Shit. Waste time only. Suayness.

Comments

Popular posts from this blog

Amount

 The amount I spent on learning before applying actually costed me more money until I do enough work. Still learning process is still needed even while working.  Doing things subconsciously can make the easiest problem complicated. Could be your old habits or subconscious typing or the auto correction? hm.. This one is more like my habit. It is a hard to catch error when we did like that. I was thinking what goes wrong and no matter what I did, it would not return my desired results. Turned the code that I wrote previously and just a line only which I overlooked while checking, was blocking the rest of the changes… Dangerous code is the counter code that you wrote to right a wrong or blocking the wrong from working. That’s normally a temporary solution but the solution turned out to be preventing me doing other works… sigh… 😮‍💨  Today’s a lucky day and I found it while doing another part… so it is good not to always focus on one problem. The other problem could be the c...

Tools and Work

 Things I bought for work. Another addition of $18.60 to the lost count of things that I bought for work. USB C to HDMI adapter has ARRIVED. Previously, I bought a hoco. and it is working fine still but too bad Shopee and Lazada don’t have them. I bought UGREEN then. I am attracted to name with colours on it. Hehe. Need one at the office so that I have less thing to carry back and fro of home. I bought another ergonomic mouse. My hand could go numb from using the mouse. Actually I have hand numb issue since young. Writing makes my hand numb. Not sure if that is normal but I do practice. I am not entirely sure if that is right hand only. When I used my left, I can write for a long long time even though the hand writing looks bad.  Bought soldering iron and tools set. Bought HDMI to mini port display x 3. One not working anymore and that’s why I bought another 2 (UGREEN $7.48 and IVANKY) because the working laptop needed it to display on another monitor. Bought a portable monito...

hmmmm

Keyboard warrior's keyboard checked. Another Jean checked. It is to make up for the pants that I spoiled two days ago. Just when I arrived at the office, I sat on a chair whereby the surface is grid-like and the  buttoned-up fake pocket button on the right side got plucked off leaving a hole a bit on the upper side of the bum. There is a flap that was together with the button. It just covers the hole a bit. I am not sure if the slit that the button goes through was big enough to see through. I tried to ensure my shirt was over the hole though at least to cover while I was not seated. It wasn't a good time. I was wondering should I just walk off to buy another pants but decided not to because we were busy. That went on for the rest of the day. A day to remember. The pants lasted 10 years. I bought it during my first job at 2011. Anyway, it was a bit tight around the waist so shouldn't have worn it at all. Although I am a bit heavier, my waist is a bit off only. I wonder if m...