da201501245 opened a new issue, #29902:
URL: https://github.com/apache/superset/issues/29902

   ### Bug description
   
   When a user's internet connection is interrupted while accessing an embedded 
dashboard user encountered the network errors but after that the 
fetchGuestToken function fails to execute for guest token refresh when the 
internet connection is restored. As a result, the guest token is not refreshed, 
and the user continues to receive errors related to guest token not valid when 
attempting to access the embedded report. This issue persists until the user 
manually refreshes the page. (which evenually rerender the iframe)
   
   ### How to reproduce the bug
   
   1. Embed a report in the dashboard that utilizes the fetchGuestToken 
function for authentication and guest token refresh.
   2. Disconnect the internet connection.
   3. Attempt to access the embedded report while the internet is disconnected.
   4. Observe that a network error is thrown.
   5. Reconnect the internet connection.
   6. Attempt to access the embedded report again without refreshing the page.
   
   ### Screenshots/recordings
   
   <img width="1438" alt="Screenshot 2024-08-09 at 12 39 00 PM" 
src="https://github.com/user-attachments/assets/93bd844c-a2fe-4e4a-b7db-68e9d18f0b41";>
   <img width="1438" alt="Screenshot 2024-08-09 at 12 42 40 PM" 
src="https://github.com/user-attachments/assets/1f8cd380-78f3-42cb-8bb2-1c89d0a2f63a";>
   
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [ ] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to