Coder Social home page Coder Social logo

Comments (6)

nirui avatar nirui commented on August 21, 2024

I've changed how password is authenticated in the last version, which includes modification for both frontend(the web interface) and the backend code.

Maybe the web browser is still using cached old frontend program from the previous version.

Can you reload the page (via Ctrl+F5 or Ctrl+Shift+R to force cache reload) to see if it comes back to normal?

from sshwifty.

XZB-1248 avatar XZB-1248 commented on August 21, 2024

I've changed how password is authenticated in the last version, which includes modification for both frontend(the web interface) and the backend code.

Maybe the web browser is still using cached old frontend program from the previous version.

Can you reload the page (via Ctrl+F5 or Ctrl+Shift+R to force cache reload) to see if it comes back to normal?

Of course I tried that.
Before I open this issue, I even tried to disable cache in dev tools and reload in InPrivate window.
But the error was still there, it doesn't work at all.

ScreenCapture
ScreenCapture1

from sshwifty.

nirui avatar nirui commented on August 21, 2024

That's weird. Based on the screenshot, your web browser is still trying to load the old frontend assets.

I knew that because I changed how the name of the assets is generated in the lastest version. The new version does not include the number prefix (0.xxxxx.js, 1.xxxxx.js etc) in their names.

I think the Nginx or some other (CDN) servers down the line might have cached the / file (The homepage file).

So, to begin, can you take a look at cache related settings? Maybe try to manually release the cache for /.

from sshwifty.

XZB-1248 avatar XZB-1248 commented on August 21, 2024

That's weird. Based on the screenshot, your web browser is still trying to load the old frontend assets.

I knew that because I changed how the name of the assets is generated in the lastest version. The new version does not include the number prefix (0.xxxxx.js, 1.xxxxx.js etc) in their names.

I think the Nginx or some other (CDN) servers down the line might have cached the / file (The homepage file).

So, to begin, can you take a look at cache related settings? Maybe try to manually release the cache for /.

Ohhhh. It works!!!
I added "proxy_cache off;"

Thx for Ur help😎😎😎

from sshwifty.

nirui avatar nirui commented on August 21, 2024

Glad that I've helped.

I just had to change the authentication method so I can deploy Sshwifty on my cluster without giving myself a headache. Sorry for the inconvenience and frustration 😆

from sshwifty.

XZB-1248 avatar XZB-1248 commented on August 21, 2024

Glad that I've helped.

I just have to change the authentication method so I can deploy Sshwifty on my cluster without giving myself a headache. Sorry for the inconvenience and frustration 😆

😂😂😂That doesn't matter, it didn't waste time.
Sooner or later, there will be similar problems.

from sshwifty.

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.