[BUG] Openrouter component throws an error while loading model providers
Bug Description
Hi there! Stubborn uppon an issue with openrouter component...
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:
- fill in docker-example.yml, and .env file
- run Docker-compose up
- place openrouter component
- wait for a while expecting it to load providers
- see that it shows an error instead of providers list
Expected behavior
- place openrouter component
- wait for a while expecting it to load providers
- 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
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?