Mermaid-Chart / issue-tracker

Other
7 stars 1 forks source link

Infinite refresh loop #53

Closed joseehilton147 closed 4 months ago

joseehilton147 commented 4 months ago

Describe the bug When I log in, it takes a long time to open my created diagrams and when it finally loads, it keeps refreshing the page infinitely, giving several request errors to the API.

endpoint https://www.mermaidchart.com/rest-api/users/me is being called 2 times when i enter the diagram page and on second request is giving Internal Server Error

this is the payload from first request:

{ "id": "1987bc59-5b54-4356-9305-285eb4189f44", "authID": "", // dont know if is sensitive, if dont i update with it "analyticsID": "5c04e32b-d6a8-459c-b5fa-b9c96a50c812", "emailAddress": "joseehilton147@gmail.com", "fullName": "Jose", "theme": null, "mermaidTheme": "mc", "avatarUrl": "", "isB2C": true, "allowMarketingEmail": false, "allowProductEmail": true, "subscriptionTier": "free", "subscriptionInterval": "monthly", "subscriptionEnd": "2024-02-20T20:38:56.927Z", "createdAt": "2024-02-20T20:38:56.927Z", "updatedAt": "2024-02-21T15:12:49.342Z" }

To Reproduce Steps to reproduce the behavior:

  1. Enter in any diagram
  2. wait refresh

Expected behavior Dont refresh the page

Screenshots

image

Desktop (please complete the following information):

ashishjain0512 commented 4 months ago

@joseehilton147 We have addressed the infinite loop issue, can you confirm if this is fixed for you.

joseehilton147 commented 4 months ago

fixed