RasaHQ / rasa

💬 Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants
https://rasa.com/docs/rasa/
Apache License 2.0
18.91k stars 4.63k forks source link

Rasa X Token with plus (+) symbol causes authorization error Docker Compose method #7370

Closed amardeep2006 closed 2 years ago

amardeep2006 commented 3 years ago

Rasa version: RASA version 2.0.3 Rasa SDK version (if used & relevant):

Rasa X version (if used & relevant): 0.32.2 Python version: 3.6.8 Operating system (windows, osx, ...): Windows 10 via Docker Compose method Issue: Rasa X server cannot reach rasa worker and rasa worker cannot fetch config from rasa x.

This issue is cause if there was + symbol is token generated by openssl. Example : EWqzovCplp7L+9zqYmgBBg==

Error (including full traceback):

Starting Rasa X in production mode… :rocket:

Could not fetch runtime config from server at ‘http://rasa-x:5002/api/config?token=EWqzovCplp7L+9zqYmgBBg==’. Exiting.

2020-11-04 14:07:55 DEBUG rasa.cli.x - Failed to get a proper response from remote server. Status Code: 401. Response: ‘{“reasons”:[“Authorization header not present.”],“exception”:“Unauthorized”}’

2020-11-04 14:08:00 DEBUG rasa.cli.x - Failed to get a proper response from remote server. Status Code: 401. Response: ‘{“reasons”:[“Authorization header not present.”],“exception”:“Unauthorized”}’

Command or request that led to error:

Content of configuration file (config.yml) (if relevant):

Content of domain file (domain.yml) (if relevant):

sara-tagger commented 3 years ago

Thanks for raising this issue, @tttthomasssss will get back to you about it soon✨

Please also check out the docs and the forum in case your issue was raised there too 🤗
datafile4 commented 3 years ago

I faced the same problem. RASA_X_VERSION=0.38.1 RASA_VERSION=2.4.3 RasaX installed in Docker Compose on Ubuntu 18.04