Closed jonsnowpt closed 1 year ago
NOTES
Can replicate the issue on
DEV
using the followingGoogle Service
https://search.google.com/test/mobile-friendly
TESTING
β
[DEV]
https://betarena-scores-platform.herokuapp.com/ β[PROD] mirror | docker
https://temp-betarena-scores-docker.herokuapp.com/ β[PROD]
https://scores.betarena.com/β
[DEV]
https://betarena-scores-platform.herokuapp.com/football/portugal/liga-portugal β[PROD] docker
https://temp-betarena-scores-docker.herokuapp.com/football/portugal/liga-portugal β[PROD]
https://scores.betarena.com/football/portugal/liga-portugalβ https://betarena-scores-platform.herokuapp.com/pt/futebol/hellas-verona-bologna-18548086
Full-Time
Game [?] Suddenly, error on[DEV]
no longer seen and only not working on βPROD (scores.betarena.com)
vs βDEV
ξ Error 00:08.000 TypeError: Failed to fetch dynamically imported module: https://betarena-scores-platform.herokuapp.com/_app/immutable/chunks/7-8ce30b49.js https://betarena-scores-platform.herokuapp.com/_app/immutable/start-c8bbede3.js:3 ξ Error 00:08.000 Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: https://betarena-scores-platform.herokuapp.com/_app/immutable/chunks/0-15bbc82d.js https://betarena-scores-platform.herokuapp.com/_app/immutable/start-c8bbede3.js:8 ξ Error 00:08.000 Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: https://betarena-scores-platform.herokuapp.com/_app/immutable/chunks/0-15bbc82d.js https://betarena-scores-platform.herokuapp.com/pt/futebol/hellas-verona-bologna-18548086:0 ξ Error 00:08.000 Uncaught (in promise) Error: Rejected at wrsParams.serviceWorkers.navigator.serviceWorker.register (<anonymous>:13:648) at https://betarena-scores-platform.herokuapp.com/pt/futebol/hellas-verona-bologna-18548086:112:30 :12
β
[DEV]
https://betarena-scores-platform.herokuapp.com/football/vitria-sc-sporting-cp-18560334 β[PROD]
https://scores.betarena.com/football/vitria-sc-sporting-cp-18560334 Tested when game was not yet startedβ
[DEV]
https://betarena-scores-platform.herokuapp.com/pt/futebol/luton-town-middlesbrough-18544870 24/04/2022 21:44 |Live
(at testing) β[PROD]
https://scores.betarena.com/pt/futebol/luton-town-middlesbrough-18544870Uncaught (in promise) Error: Rejected at wrsParams.serviceWorkers.navigator.serviceWorker.register (<anonymous>:13:648) at https://scores.betarena.com/pt/futebol/luton-town-middlesbrough-18544870:59:30 :12
NOTES
β
A theory to the cause of the issues, is the possibility of thedocker-compose
continuousuptime
pipeline we have configured with thefrontend
, which can ben keeping files from past deployments, causing afilesystem
error, especially from the errors in (bullet point 3).Test required to factory reset the website,docker container
.β
Could be aConclusion: disablingcloudflare
issue, as theDEV
environment seems to be working correctly, for the tested linksabove
.[βΈοΈ pending]
cloudflare
has not done any visible change to the platform.A code / sveltekit error
- https://github.com/sveltejs/kit/issues/9089
- https://github.com/sveltejs/kit/issues/3726
- https://github.com/sveltejs/kit/issues/7640
- https://github.com/vitejs/vite/issues/11804
- https://github.com/sveltejs/kit/issues/9146
- https://stackoverflow.com/questions/63301353/service-worker-registeration-failed-when-indexed-in-google-search-console
β
AConclusion: tested with removingcompile/bundle
error withVite
vite plugins
and with the7.
compliment, on the latestsveltekit - vite - svelte
versions.π A
server/environment
issue onProduction
deployment. Conclusion: As the attempt to replicate the issue using theDEV
version onHeroku
and amirror
of productions with an exactdocker/container
deployment onHeroku
, has not shown any issues.β
Conclusion: updating secrets to latest has not caused changes.Secrets/environment
issue.β
AConclusion: updating packages versions to latest has not caused changes.pacakge.json
version issue.β
AConclusion: tested with one of therobots.txt
issue.DigitalOcean
deployments.β
AConclusion: tested with one of thesvelte.config.js
issueDigitalOcean
deployments.
NOTES
Able to replicate on
docker
deployment onDigitalOcean
usingUbuntu
versions22.10-04 LTS x64
&20.04 LTS x64
, indicating that theubuntu
version is not at fault.http://164.92.204.152:5055
-http://64.226.72.95:5055
-http://134.209.245.5:5055
Reverting to
Feb 21
commit to-> main
still shows the same error, of mobile being unusable.
NOTES
Works fine with
no issues
onBing URL Inspector
.
NOTES
Applied a custom hack to
preload
with thetempalte
(app.html) file the necessaryCSS
as a master override, and remove it oncegooglebot
crawls the website, to improve the websitescore
. (best).
Pages tested on weekends get the same no usable on mobile response:
https://scores.betarena.com/pt/futebol/real-madrid-almera-18545407
The errors persist:
The errors were settled after transferring to Heroku.
π Introduction:
Google is unable to index the platform fixtures and other pages.
π Details:
Since the use of scores_lib, the platform has degraded its performance and created several unexpected issues; one of them of high severity is the inability to get correctly indexed, making the platform lose 90% of its traffic.
Error on Google:
The page is not usable on mobile devices.
Uncaught (in promise) Error: Rejected at wrsParams.serviceWorkers.navigator.serviceWorker.register (<anonymous>:13:648) at https://scores.betarena.com/pt/futebol/hellas-verona-bologna-18548086:59:30
π Steps to Reproduce:
Use the search console and add any fixture link.
Also, if a search is made on Google:
"site:scores.betarena.com" is possible to see that the number of pages indexed in the last 24 hours is very low.
π€ Expected Behavior:
There must be no message stating the pages cannot be used on mobile. Also, the preview should be the mobile view. Besides, the number of indexed pages must be much higher.
π₯ Actual Behavior:
Lots of pages are not being indexed, and errors on the Search console.