yari icon indicating copy to clipboard operation
yari copied to clipboard

"Maintance OnGoing" Message is displayed untill internet is not connected to device

Open aregularguy opened this issue 1 year ago • 1 comments

Summary

When the internet connection is lost, the MDN Web Docs website header displays a "Maintenance Ongoing" message. This message persists as long as the device is disconnected from the internet. Once the connection is restored, the message disappears.

URL

https://developer.mozilla.org/en-US/

every page with header

Reproduction steps

  1. Go to any page on mdn https://developer.mozilla.org/en-US/
  2. turn of internet connection for you device (laptop/desktop) 3.check at navbar at top you will see Maintance On going at top right corner
  3. this message is displayed until we re connect to internet.
  4. Re connect to internet Message will disappear again

Expected behavior

Instead of "Maintenance ongoing" it should show better message such as internet not connectedMaintenance

Actual behavior

image Maintance On Going is displayed at top Maintenance

Device

Desktop

Browser

Chrome

Browser version

Stable

Operating system

Windows

Screenshot

When I am connected to the internet . image

When i disconnect my internet from my device , see at top right corner in header in below image message is shown for maintenance on going.

image

when i reconnect to internet ->

image

Anything else?

No response

Validations

aregularguy avatar Sep 22 '24 17:09 aregularguy

Hi and thank you for reporting this. The behaviour is actually expected, the "Maintenance" banner is shown if the page cannot connect to our authentication backend - this could be for various reasons, including the browser being completely offline. It is out of scope for us to dig into the deeper causes from the browser side when a connection error occurs. That said, I agree that the wording could be better to not confuse users. We will discuss this. Thanks again for taking the time!

argl avatar Sep 23 '24 08:09 argl

@aregularguy I cannot reproduce the issue. Here's what I did:

  1. Opened https://developer.mozilla.org/en-US/docs/Web/JavaScript, without being logged in.
  2. Disable WiFi to simulate being offline.

Even if I change between tabs, I can still see the "Log in" and "Sign up for free" buttons.

Is there anything I'm missing?

caugner avatar Mar 20 '25 11:03 caugner

Hii @caugner , I just tried to re produce this after your comment,. Still I am able to see maintenance ongoing message when I disable wifi.

Please re check again

On Thu, 20 Mar 2025, 16:43 Claas Augner, @.***> wrote:

@aregularguy https://github.com/aregularguy I cannot reproduce the issue. Here's what I did:

  1. Opened https://developer.mozilla.org/en-US/docs/Web/JavaScript, without being logged in.
  2. Disable WiFi to simulate being offline.

Even if I change between tabs, I can still see the "Log in" and "Sign up for free" buttons.

Is there anything I'm missing?

— Reply to this email directly, view it on GitHub https://github.com/mdn/yari/issues/11842#issuecomment-2740019610, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQXG4ZXAPV5URWRGQMASCMD2VKPGLAVCNFSM6AAAAABOUXK65OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONBQGAYTSNRRGA . You are receiving this because you were mentioned.Message ID: @.***> [image: caugner]caugner left a comment (mdn/yari#11842) https://github.com/mdn/yari/issues/11842#issuecomment-2740019610

@aregularguy https://github.com/aregularguy I cannot reproduce the issue. Here's what I did:

  1. Opened https://developer.mozilla.org/en-US/docs/Web/JavaScript, without being logged in.
  2. Disable WiFi to simulate being offline.

Even if I change between tabs, I can still see the "Log in" and "Sign up for free" buttons.

Is there anything I'm missing?

— Reply to this email directly, view it on GitHub https://github.com/mdn/yari/issues/11842#issuecomment-2740019610, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQXG4ZXAPV5URWRGQMASCMD2VKPGLAVCNFSM6AAAAABOUXK65OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONBQGAYTSNRRGA . You are receiving this because you were mentioned.Message ID: @.***>

aregularguy avatar Mar 20 '25 11:03 aregularguy

We did not port the maintenance message to Fred, so this issue is no longer reproducible.

caugner avatar Oct 24 '25 12:10 caugner