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

PageSpeed Insights Failed: net::ERR_NAME_NOT_RESOLVED #823

Open
HarbourDesign opened this issue Jun 4, 2024 · 5 comments
Open

PageSpeed Insights Failed: net::ERR_NAME_NOT_RESOLVED #823

HarbourDesign opened this issue Jun 4, 2024 · 5 comments

Comments

@HarbourDesign
Copy link

Trying to figure out if this is a pusher-js issue or Laravel or PageSpeed Insights issue.
The chatwidget I built with Vue 3, Laravel 11.1.0, Inertia and breeze works fine, but when I perform PageSpeed Insights I get this error:

WebSocket connection to 'wss://ws-mt1.pusher.com/app/5a5a5a5a5a5a5a5
?protocol=7&client=js&version=8.4.0-rc2&flash=false'
failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED

If I set disabledTransports to this:
disabledTransports: [ 'ws','xhr_streaming', 'xhr_polling', 'sockjs'],
the error goes away, but chatwidget doesn't work.

Is there a way to only use wss with Laravel, my webhost also request wss.

@MichelMan
Copy link

Hi
I have the same pb as you.
Trying to figure it out how to fix this error with Laravel, Vue3, Laravel Websocket + Echo for my chat system.

WebSocket connection to 'wss://<APP_HOST>/app/<APP_KEY>?protocol=7&client=js&version=8.3.0&flash=false' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED

This error displays only on PageSpeed Insights test. But when I run the Lighthouse test, there are no errors about this.
I'm not sure why, maybe it's because I read that PageSpeed Insights and Lighthouse tests are produced in different way...

@MarcGodard
Copy link

You guys ever figure this out? Having the same issue.

@rsmything
Copy link

The same issue. It's impossible to reach 100/100 on pagespeed insights

@Lineapasta
Copy link

Same issue

@justpliz
Copy link

The same

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

6 participants