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

Langflow Log-in as a user (on fresh Browser Instance) UI will not load a flow at all #5785

Open
poonacha-2 opened this issue Jan 18, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@poonacha-2
Copy link

Bug Description

When logging into the Langflow environment for the first time for a given browser instance, the UI will not load a flow all the way to complete view of flow (see screenshot).

You have to manually refresh the browser window on the flow screen, at which point it will load.

At that point, if you log out and log in (in the same browser window instance), it will continue to work as expected.

If you close that browser window and open a new one and log in, the bug will occur again and remain until you refresh the the flow environment manual (browser refresh button).

Again, the only way we have managed to resolve this issue is by refreshing the browser window.

Reproduction

This is a very reproducible bug across multiple environments

Steps to Reproduce Bug:

  1. Log into Langflow via a FRESH browser instance
  2. Load up any existing or new flow, and you should see a"loading" spinner that spins indefinitely.

Expected behavior

Upon logging into Langflow via a fresh browser instance, a user should be able to click into a flow and see the full UI for that flow load instantly.

Who can help?

@anovazzi1
@Cristhianzl

Operating System

Debian GNU/Linux 12 (bookworm)

Langflow Version

1.1.1

Python Version

3.11

Screenshot

Image

Flow File

No response

@poonacha-2 poonacha-2 added the bug Something isn't working label Jan 18, 2025
Copy link

dosubot bot commented Jan 18, 2025

Hey @poonacha-2! I'm here to help you with any issues you're experiencing in Langflow. If you need assistance with bugs, questions, or want to become a contributor, feel free to ask.

I found a similar closed issue where a user was able to load the page but encountered an error. However, no solution was found in the comments of that issue [1].

Regarding your specific issue, it seems like a workaround is to manually refresh the browser window after logging in for the first time in a new browser instance. This refresh seems to resolve the loading problem temporarily. Unfortunately, there isn't a permanent fix mentioned in the available information. You might want to check if there are any updates or patches available for Langflow that address this issue.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@rors41
Copy link

rors41 commented Jan 20, 2025

I've also encountered this bug - I could only reproduce it when auto login is turned off. With auto login turned on it works as expected.

When autologin is turned off call to api/v1/all?force_refresh=true fails because there is no a valid token before we actually logged in, after successful login this data is not rerequested. Page refresh executes this request again and since we have a token now it fixes the issue

@ebachUTSA
Copy link

Has a fix been implemented on this one? It seems like easy low hanging fruit and I was told 1.1.2 is out. I'm curious if a stealth fix for this was included.

@greenmotion
Copy link

Still having this issue on 1.1.2, so I don't think it has been addressed yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants