Git Product home page Git Product logo

Comments (22)

rejetto avatar rejetto commented on May 27, 2024 1

that's not me doing it so I have no power over it, while I'm using this tool.
I already suggested something, I hope someone will answer.
vercel/pkg#1675 (comment)
I'll wait a few days, and if I don't get an answer I'll consider my options.

from hfs.

rejetto avatar rejetto commented on May 27, 2024

from hfs.

6elkir avatar 6elkir commented on May 27, 2024

My bug occurs after some time of server work, OR if you manually clean the OS temp directory c:\windows\temp

from hfs.

rejetto avatar rejetto commented on May 27, 2024

i tried emptying the temp folder on HFS' computer, also I've been running my server 24h for days, and I've found no problem.
So this is not enough to reproduce it, sorry.

from hfs.

rejetto avatar rejetto commented on May 27, 2024

try taking a screenshot with the browser console open

from hfs.

rejetto avatar rejetto commented on May 27, 2024

also look at hfs' console if any message could be useful, and see the "debug.log" in hfs folder

from hfs.

6elkir avatar 6elkir commented on May 27, 2024

Client screenshot: https://share.dvor-net.ptz.ru/07TOsaYpUX.png
Servel log: https://share.dvor-net.ptz.ru/R1Gr18hgBK.png
Log file: https://share.dvor-net.ptz.ru/debug.log

from hfs.

rejetto avatar rejetto commented on May 27, 2024

i suggest to hide your address from the screenshot.
I suspect by deleting that temp folder (not \windows\temp, the one reported in the log) you may be interfering with hfs.exe, because it is using a tool called "pkg" to produce the exe and it seems involved in the printed path.
can you avoid wiping that folder and see if it is solved?

from hfs.

rejetto avatar rejetto commented on May 27, 2024

how are you running hfs ? double click on exe or what?

from hfs.

rejetto avatar rejetto commented on May 27, 2024

it seems possible for this issue to be related to vercel/pkg#1439

from hfs.

6elkir avatar 6elkir commented on May 27, 2024

how are you running hfs ? double click on exe or what?

Double click on exe)

from hfs.

6elkir avatar 6elkir commented on May 27, 2024

Some time later server works and i get 404 blank now =\ Temp dir i not clear. Bug return some time later.

from hfs.

rejetto avatar rejetto commented on May 27, 2024

you said \windows\temp and that's what i tried first time, but now we know the folder is another, and if i delete appdata\local\temp the problem is reproduced successfully!
My best guess is that, on your computer, something is clearing the temp folder after a while, causing the problem.
Have you any clue? Do you think you can stop it?
I have no idea if the clearing is "legit" or what. I tried to ask for enlightenment vercel/pkg#1675
Maybe it's a software you installed to "optimize" your computer. Consider that it doesn't happen on my Windows 10, so would exclude it's a default of the system.

from hfs.

6elkir avatar 6elkir commented on May 27, 2024

Ashampoo WinOptimizer work on server in background, but on prev versions HFS this bug is not reproduced

from hfs.

rejetto avatar rejetto commented on May 27, 2024

what versions are you talking about? hf2 or hfs3 ?
please try to disable it for some time and see if the problem is related to it

from hfs.

6elkir avatar 6elkir commented on May 27, 2024

version 3 last

from hfs.

rejetto avatar rejetto commented on May 27, 2024

Another test that you can make, other than disabling for a while WinOptimizer, is to choose a previous version of HFS that you think doesn't have the problem, and try it now.
We cannot know if your problem was triggered from an update of HFS, or an update of WinOptimizer, or some other thing, so this is the only way I can think of.
Let me know if you have results of these 2 tests.

from hfs.

6elkir avatar 6elkir commented on May 27, 2024

WinOptimizer disabling not help. Some time (1-3 hours) bug reproduced. On HFS 0.23.0 this bug not reproduced.

from hfs.

rejetto avatar rejetto commented on May 27, 2024

I've studied changes in 0.23-0.24 and cannot find anything that could possibly cause this problem.
I also ran 0.23 to verify that it is creating the same files in the same temp directory
\Users\USERNAME\AppData\Local\Temp\pkg-RANDOMLETTERS\

I deleted those temp files and I'm seeing "not found". Deleting those temp files is affecting any version since 0.10, because that's where they were introduced. The reason of these temp files is to have a single exe file for the program.
Whatever the problem is, it is very likely to be some "other" program deleting temp files.

As an additional information, I know what files are those: are the ones that are sent to the browser to show the pages (html, etc). So I considered the possibility that some change in those files triggered an antivirus that is deleting them. I just verified and 0.24 didn't make any change to those files, they are basically the same of 0.23.

My HFS 0.24.1 has now passed 3 days of uptime.
At the moment I really have no other clue.
I will ask on the telegram group if anyone is having your same problem.

from hfs.

rejetto avatar rejetto commented on May 27, 2024

so, is the problem with 0.24 reproduced in 1-3 hours ?
how long did you try 0.23 without having problem?

from hfs.

6elkir avatar 6elkir commented on May 27, 2024

May be move temp directory to prog dir? If someone flush OS temp - moving to prog dir must help...

from hfs.

rejetto avatar rejetto commented on May 27, 2024

introducing a cache for those files should be a practical workaround
https://github.com/rejetto/hfs/releases/tag/v0.24.3
LMK

from hfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.