Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manifest.webmanifest Failed to load resource: the server responded with a status of 401 #82

Open
tzzo opened this issue Oct 31, 2023 · 3 comments

Comments

@tzzo
Copy link

tzzo commented Oct 31, 2023

There is an issue when one initially loads the app with Google Chrome browser. When reloading the app the manifest file is loaded correctly.

Either there is an error in the console:

GET https://.../manifest.webmanifest 401 (Unauthorized)
manifest.webmanifest:1 Manifest: Line: 1, column: 1, Syntax error.

Or the manifest.webmanifest contents is this:

<html>
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx/1.25.3</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->

Using:
@vite-pwa/nuxt: v.0.1.1
vite-plugin-pwa: v0.16.6
nuxt: v3.8.0
Google Chrome: v118.0.5993.117
OS: MacOS 14.0 (23A344)

@userquin
Copy link
Member

userquin commented Nov 8, 2023

your site returns 401 for any request

@MayaraRMA
Copy link

I think we can use cross-origin, but I don't know how to apply this.

@MayaraRMA
Copy link

MayaraRMA commented Mar 21, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants