langflow icon indicating copy to clipboard operation
langflow copied to clipboard

[BUG] Openrouter component throws an error while loading model providers

Open IgriGGG opened this issue 1 month ago • 1 comments

Bug Description

Hi there! Stubborn uppon an issue with openrouter component...

Image

Instead of showing a list of providers it shows an error. Not quite sure how to resolve this since no additional errors were shown and docker logs seem to be clear beside a File langflow_1 | "/app/.venv/lib/python3.12/site-packag langflow_1 | es/langflow/services/auth/utils.py", langflow_1 | line 381, in create_refresh_token langflow_1 | payload = jwt.decode( langflow_1 | | -> <function decode langflow_1 | at 0x7f4c1f4d7ec0> langflow_1 | -> <module 'jose.jwt' langflow_1 | from langflow_1 | '/app/.venv/lib/python3.12/site-packag langflow_1 | es/jose/jwt.py'> langflow_1 | File langflow_1 | "/app/.venv/lib/python3.12/site-packag langflow_1 | es/jose/jwt.py", line 161, in decode langflow_1 | raise JWTError(e) langflow_1 | -> <class langflow_1 | 'jose.exceptions.JWTError'> langflow_1 | langflow_1 | jose.exceptions.JWTError: Signature langflow_1 | verification failed.

part.

Reproduction

Steps to reproduce this behavior:

  1. fill in docker-example.yml, and .env file
  2. run Docker-compose up
  3. place openrouter component
  4. wait for a while expecting it to load providers
  5. see that it shows an error instead of providers list

Expected behavior

  1. place openrouter component
  2. wait for a while expecting it to load providers
  3. it load providers list succesfully

Who can help?

No response

Operating System

Ubuntu Linux

Langflow Version

1.5.1

Python Version

None

Screenshot

No response

Flow File

No response

IgriGGG avatar Oct 31 '25 11:10 IgriGGG

Hi,

I tried it here in 1.5.1 and 1.6.5 Langflow versions. It works very well to me. Perhaps the issue is with your Langflow installation or your OpenRouter API key.

Could you please check it? Can you obtain a new API key and/or reinstall your container?

andifilhohub avatar Nov 11 '25 21:11 andifilhohub