Git Product home page Git Product logo

Comments (8)

sonus21 avatar sonus21 commented on July 19, 2024

Can you please use 2.1.0-RC.1 and see if things are working fine? If things are fine, I'll make a release asap.

from rqueue.

chlegou avatar chlegou commented on July 19, 2024

hi, i just tested it out, it's the same. it's not fixed.

How to test:
Run a MS and access it from network address in mobile (make sure that firewall is off in your network). example:

http://192.168.1.X:8000/rqueue  :::: 'X' is available by executing  "ipconfig" to get local IP address.

from rqueue.

sonus21 avatar sonus21 commented on July 19, 2024

Could you please share the console error message like previous one?

from rqueue.

chlegou avatar chlegou commented on July 19, 2024

It's the exact same error message like the thread screenshot. For this I didn't copy it.

from rqueue.

sonus21 avatar sonus21 commented on July 19, 2024

It should not be exactly same, I've added CSP rules via 0ea903b

Can you please try in incognito mode and share the screenshot?

If it's same please check page source code, it should have csp rules.

from rqueue.

chlegou avatar chlegou commented on July 19, 2024

As I have told you, it' the same:

image

looking for the changes you made, btw, the MS and gateway are having these policies configuration in header by default. might be the issue cause?

from rqueue.

sonus21 avatar sonus21 commented on July 19, 2024

gateway are having these policies configuration in header by default. might be the issue cause?

Rightly pointed this is the core issue, you're setting this despite there's a meta tag for the same. See by excluding rqueue/**.

from rqueue.

chlegou avatar chlegou commented on July 19, 2024

I think i have fixed it! 😊 as i looked further for MS content policy and the changes you made, i followed your pattern and applied the needed policies.

these are the changes i have made:

-   .contentSecurityPolicy("default-src 'self'; frame-src 'self' data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://storage.googleapis.com; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:")
+   .contentSecurityPolicy("default-src 'self' *.gstatic.com *.googleapis.com ; frame-src 'self' data:; script-src 'self' *.gstatic.com 'unsafe-inline' 'unsafe-eval' https://storage.googleapis.com; style-src 'self' *.gstatic.com fonts.googleapis.com 'unsafe-inline'; img-src 'self' data:; font-src 'self' *.gstatic.com data:")

And Bingo it worked! 😃
... short story, it wasn't an issue with RQueue, but wrong config. My bad :p

Thanks for your help mate.

from rqueue.

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.