# Rasa X Interactive learning error

**URL:** <https://forum.rasa.com/t/rasa-x-interactive-learning-error/17648>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [September 29, 2019, 8:22am UTC](https://forum.rasa.com/t/rasa-x-interactive-learning-error/17648 "2019-09-29T08:22:46Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![HESHN](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/heshn/32/4996_2.png) [@HESHN](https://forum.rasa.com/u/HESHN)\
**Post date:** [September 29, 2019, 8:22am UTC](https://forum.rasa.com/t/rasa-x-interactive-learning-error/17648/1 "2019-09-29T08:22:46Z")

</div>

Hi All, I have been trying to have chat with the bot using Rasa X but getting below errors everytime I start the server.And when sending s message from the Rasa x UI generates an error “sanic.root - Exception occurred while handling uri: '[http://localhost:5002/api/version](http://localhost:5002/api/version)” Please help.

```
(axion) C:\Users\nawarathna\Desktop\axion>rasa x
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
Starting Rasa X in local mode... 🚀
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensor2tensor\utils\expert_utils.py:68: The name tf.variable_scope is deprecated. Please use tf.compat.v1.variable_scope instead.

WARNING:tensorflow:
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
  * https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
  * https://github.com/tensorflow/addons
  * https://github.com/tensorflow/io (for I/O related ops)
If you depend on functionality not listed there, please file an issue.

The server is running at http://localhost:5002/login?username=me&password=qtdq4zO5UloR

2019-09-29 13:47:56 WARNING sanic.root - Sanic tried to use loop.add_signal_handler but it is not implemented on this platform.
2019-09-29 13:47:56 WARNING sanic.root - Sanic tried to use loop.add_signal_handler but it is not implemented on this platform.
WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensor2tensor\utils\adafactor.py:27: The name tf.train.Optimizer is deprecated. Please use tf.compat.v1.train.Optimizer instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensor2tensor\utils\multistep_optimizer.py:32: The name tf.train.AdamOptimizer is deprecated. Please use tf.compat.v1.train.AdamOptimizer instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\mesh_tensorflow\ops.py:4237: The name tf.train.CheckpointSaverListener is deprecated. Please use tf.estimator.CheckpointSaverListener instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\mesh_tensorflow\ops.py:4260: The name tf.train.SessionRunHook is deprecated. Please use tf.estimator.SessionRunHook instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensor2tensor\models\research\neural_stack.py:38: The name tf.nn.rnn_cell.RNNCell is deprecated. Please use tf.compat.v1.nn.rnn_cell.RNNCell instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensor2tensor\rl\gym_utils.py:235: The name tf.logging.info is deprecated. Please use tf.compat.v1.logging.info instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensor2tensor\utils\trainer_lib.py:111: The name tf.OptimizerOptions is deprecated. Please use tf.compat.v1.OptimizerOptions instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow_gan\python\contrib_utils.py:305: The name tf.estimator.tpu.TPUEstimator is deprecated. Please use tf.compat.v1.estimator.tpu.TPUEstimator instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow_gan\python\contrib_utils.py:310: The name tf.estimator.tpu.TPUEstimatorSpec is deprecated. Please use tf.compat.v1.estimator.tpu.TPUEstimatorSpec instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\rasa\utils\train_utils.py:28: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\rasa\core\policies\keras_policy.py:65: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.

c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\framework\dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\rasa\nlu\classifiers\embedding_intent_classifier.py:711: The name tf.train.import_meta_graph is deprecated. Please use tf.compat.v1.train.import_meta_graph instead.

2019-09-29 13:48:00 WARNING tensorflow - From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\rasa\nlu\classifiers\embedding_intent_classifier.py:711: The name tf.train.import_meta_graph is deprecated. Please use tf.compat.v1.train.import_meta_graph instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensor2tensor\utils\expert_utils.py:68: The name tf.variable_scope is deprecated. Please use tf.compat.v1.variable_scope instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\training\saver.py:1276: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
2019-09-29 13:48:01 WARNING tensorflow - From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\training\saver.py:1276: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\rasa\utils\train_utils.py:966: The name tf.get_collection is deprecated. Please use tf.compat.v1.get_collection instead.

2019-09-29 13:48:01 WARNING tensorflow - From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\rasa\utils\train_utils.py:966: The name tf.get_collection is deprecated. Please use tf.compat.v1.get_collection instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\ops\init_ops.py:97: calling GlorotUniform. __init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
2019-09-29 13:48:01 WARNING tensorflow - From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\ops\init_ops.py:97: calling GlorotUniform. __init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\ops\init_ops.py:1251: calling VarianceScaling. __init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
2019-09-29 13:48:01 WARNING tensorflow - From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\ops\init_ops.py:1251: calling VarianceScaling. __init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\ops\init_ops.py:97: calling Orthogonal. __init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
2019-09-29 13:48:01 WARNING tensorflow - From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\ops\init_ops.py:97: calling Orthogonal. __init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\ops\init_ops.py:97: calling Zeros. __init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
2019-09-29 13:48:01 WARNING tensorflow - From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\ops\init_ops.py:97: calling Zeros. __init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\keras\backend.py:3794: add_dispatch_support.<locals>.wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
2019-09-29 13:48:01 WARNING tensorflow - From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow\python\keras\backend.py:3794: add_dispatch_support.<locals>.wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
WARNING:tensorflow:
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
  * https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
  * https://github.com/tensorflow/addons
  * https://github.com/tensorflow/io (for I/O related ops)
If you depend on functionality not listed there, please file an issue.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensor2tensor\utils\adafactor.py:27: The name tf.train.Optimizer is deprecated. Please use tf.compat.v1.train.Optimizer instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensor2tensor\utils\multistep_optimizer.py:32: The name tf.train.AdamOptimizer is deprecated. Please use tf.compat.v1.train.AdamOptimizer instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\mesh_tensorflow\ops.py:4237: The name tf.train.CheckpointSaverListener is deprecated. Please use tf.estimator.CheckpointSaverListener instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\mesh_tensorflow\ops.py:4260: The name tf.train.SessionRunHook is deprecated. Please use tf.estimator.SessionRunHook instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensor2tensor\models\research\neural_stack.py:38: The name tf.nn.rnn_cell.RNNCell is deprecated. Please use tf.compat.v1.nn.rnn_cell.RNNCell instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensor2tensor\rl\gym_utils.py:235: The name tf.logging.info is deprecated. Please use tf.compat.v1.logging.info instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensor2tensor\utils\trainer_lib.py:111: The name tf.OptimizerOptions is deprecated. Please use tf.compat.v1.OptimizerOptions instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow_gan\python\contrib_utils.py:305: The name tf.estimator.tpu.TPUEstimator is deprecated. Please use tf.compat.v1.estimator.tpu.TPUEstimator instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\tensorflow_gan\python\contrib_utils.py:310: The name tf.estimator.tpu.TPUEstimatorSpec is deprecated. Please use tf.compat.v1.estimator.tpu.TPUEstimatorSpec instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\rasa\utils\train_utils.py:28: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.

WARNING:tensorflow:From c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\rasa\core\policies\keras_policy.py:65: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.

2019-09-29 13:48:52 ERROR sanic.root - Exception occurred while handling uri: 'http://localhost:5002/api/version'
Traceback (most recent call last):
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\sanic\app.py", line 917, in handle_request
    response = await response
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\rasax\community\api\blueprints\project.py", line 94, in version
    return response.json(result)
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\sanic\response.py", line 220, in json
    dumps(body, **kwargs),
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\json\ __init__.py", line 238, in dumps
    **kw).encode(obj)
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\json\encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\json\encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\json\encoder.py", line 180, in default
    o. __class__. __name__ )
TypeError: Object of type 'bytes' is not JSON serializable
2019-09-29 13:48:52 ERROR rasa.core.channels.rasa_chat - Failed to fetch JWT public key from URL 'http://localhost:5002/api/version' with status code 500:
    <h1>Internal Server Error</h1>
    <p>
        The server encountered an internal error and cannot complete
        your request.
    </p>

2019-09-29 13:48:52 ERROR rasa.core.channels.rasa_chat - Failed to decode bearer token.
Traceback (most recent call last):
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\rasa\core\channels\rasa_chat.py", line 86, in _decode_bearer_token
    return self._decode_jwt(bearer_token)
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\rasa\core\channels\rasa_chat.py", line 77, in _decode_jwt
    authorization_header_value, self.jwt_key, algorithms=self.jwt_algorithm
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\jwt\api_jwt.py", line 92, in decode
    jwt, key=key, algorithms=algorithms, options=options, **kwargs
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\jwt\api_jws.py", line 156, in decode
    key, algorithms)
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\jwt\api_jws.py", line 220, in _verify_signature
    key = alg_obj.prepare_key(key)
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\jwt\algorithms.py", line 209, in prepare_key
    raise TypeError('Expecting a PEM-formatted key.')
TypeError: Expecting a PEM-formatted key.
2019-09-29 13:48:54 ERROR sanic.root - Exception occurred while handling uri: 'http://localhost:5002/api/version'
Traceback (most recent call last):
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\sanic\app.py", line 917, in handle_request
    response = await response
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\rasax\community\api\blueprints\project.py", line 94, in version
    return response.json(result)
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\sanic\response.py", line 220, in json
    dumps(body, **kwargs),
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\json\ __init__.py", line 238, in dumps
    **kw).encode(obj)
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\json\encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\json\encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\json\encoder.py", line 180, in default
    o. __class__. __name__ )
TypeError: Object of type 'bytes' is not JSON serializable
2019-09-29 13:48:54 ERROR rasa.core.channels.rasa_chat - Failed to fetch JWT public key from URL 'http://localhost:5002/api/version' with status code 500:
    <h1>Internal Server Error</h1>
    <p>
        The server encountered an internal error and cannot complete
        your request.
    </p>

2019-09-29 13:48:54 ERROR rasa.core.channels.rasa_chat - Failed to decode bearer token.
Traceback (most recent call last):
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\rasa\core\channels\rasa_chat.py", line 86, in _decode_bearer_token
    return self._decode_jwt(bearer_token)
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\rasa\core\channels\rasa_chat.py", line 73, in _decode_jwt
    authorization_header_value = bearer_token.replace(
AttributeError: 'NoneType' object has no attribute 'replace'
[2019-09-29 13:48:54 +0530] [10288] [ERROR] Exception occurred while handling uri: 'http://localhost:5005/webhooks/rasa/webhook'
Traceback (most recent call last):
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\sanic\app.py", line 917, in handle_request
    response = await response
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\rasa\core\channels\channel.py", line 439, in receive
    sender_id = await self._extract_sender(request)
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\rasa\core\channels\rasa_chat.py", line 105, in _extract_sender
    abort(401)
  File "c:\users\nawarathna\appdata\local\continuum\anaconda3\envs\axion\lib\site-packages\sanic\exceptions.py", line 298, in abort
    raise sanic_exception(message=message, status_code=status_code)
sanic.exceptions.Unauthorized: Unauthorized
2019-09-29 13:48:54 ERROR rasax.community.api.blueprints.stack - Failed to send message to Rasa Chat webhook. Error: 401, Unauthorized, body='b'Error: Unauthorized''
```

---

<div class="post-metadata">

**Author:** ![HESHN](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/heshn/32/4996_2.png) [@HESHN](https://forum.rasa.com/u/HESHN)\
**Post date:** [September 30, 2019, 5:33am UTC](https://forum.rasa.com/t/rasa-x-interactive-learning-error/17648/2 "2019-09-30T05:33:49Z")

</div>

Is this connected to this error ?

> [@Rasa shell argument of type 'NoneType' is not iterable](http://forum.rasa.com/t/rasa-shell-argument-of-type-nonetype-is-not-iterable/17672/2):
>
> I’m also getting the same error.

---

<div class="post-metadata">

**Author:** ![Supercicu](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@Supercicu](https://forum.rasa.com/u/Supercicu)\
**Post date:** [September 30, 2019, 12:59pm UTC](https://forum.rasa.com/t/rasa-x-interactive-learning-error/17648/3 "2019-09-30T12:59:49Z")

</div>

Same problem here. It happens even with the default chatbot created through “rasa init”.

Edit: This error when sending a message through the regular conversation mode of the rasa x UI only appears for version v0.21.0 onwards, with v0.20.3 downwards no errors are thrown.

---

<div class="post-metadata">

**Author:** ![itallogravina](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/itallogravina/32/5217_2.png) [@itallogravina](https://forum.rasa.com/u/itallogravina)\
**Post date:** [October 1, 2019, 1:41pm UTC](https://forum.rasa.com/t/rasa-x-interactive-learning-error/17648/4 "2019-10-01T13:41:20Z")

</div>

I’m having the same problem, but I can’t change the version. If anyone knows a command that can help thanks. my version of rasa is 1.3.7

---

<div class="post-metadata">

**Author:** ![Supercicu](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@Supercicu](https://forum.rasa.com/u/Supercicu)\
**Post date:** [October 2, 2019, 7:27am UTC](https://forum.rasa.com/t/rasa-x-interactive-learning-error/17648/5 "2019-10-02T07:27:42Z")

</div>

I think it was for example: pip install rasa-x==0.20.3 --extra-index-url [https://pypi.rasa.com/simple](https://pypi.rasa.com/simple)

---

<div class="post-metadata">

**Author:** ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)\
**Post date:** [October 8, 2019, 1:58pm UTC](https://forum.rasa.com/t/rasa-x-interactive-learning-error/17648/6 "2019-10-08T13:58:11Z")

</div>

Hey guys! The issue with the JWT keys was fixed in `0.21.3`. Can you please update and tell me whether it’s working now?

Regarding the issue with `rasa shell`, `rasa interactive`: I’m fixing that here [Cors interactive fix by wochinge · Pull Request #4572 · RasaHQ/rasa · GitHub](https://github.com/RasaHQ/rasa/pull/4572) and will hopefully release a fixed version asap.

---

<div class="post-metadata">

**Author:** ![mmm3bbb](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@mmm3bbb](https://forum.rasa.com/u/mmm3bbb)\
**Post date:** [October 16, 2019, 4:45pm UTC](https://forum.rasa.com/t/rasa-x-interactive-learning-error/17648/7 "2019-10-16T16:45:53Z")

</div>

@Tobias_Wochinger I get same warnings on rasa 1.3.9 and rasa x 0.21.4

---

<div class="post-metadata">

**Author:** ![pittmanlaw76](https://avatars.discourse-cdn.com/v4/letter/p/90ced4/32.png) [@pittmanlaw76](https://forum.rasa.com/u/pittmanlaw76)\
**Post date:** [October 16, 2019, 6:57pm UTC](https://forum.rasa.com/t/rasa-x-interactive-learning-error/17648/8 "2019-10-16T18:57:25Z")

</div>

Good Afternoon,

This is what I tried and was able to roll back my Rasa-X to a working version.

1. pip list

2. pip uninstall rasa-x select “y” to continue uninstall

3. save link from this address to your downloads: [https://pypi.rasa.com/api/package/rasa-x/rasa-x-0.20.3.tar.gz](https://pypi.rasa.com/api/package/rasa-x/rasa-x-0.20.3.tar.gz)

4. _ **NOTE** _ this is whatever your path is to the downloaded file in step 3.

I am sure there is an easier way, but this was the only way I could get it to work.

Good Luck. Richard

---

<div class="post-metadata">

**Author:** ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)\
**Post date:** [October 17, 2019, 7:31am UTC](https://forum.rasa.com/t/rasa-x-interactive-learning-error/17648/9 "2019-10-17T07:31:34Z")

</div>

@mmm3bbb You are talking about the tensorflow warnings or about the `rasa.core.channels.rasa_chat` error? I’ve also seen that the TensorFlow warnings came back but didn’t have time to tackle them 😠

---

<div class="post-metadata">

**Author:** ![mmm3bbb](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@mmm3bbb](https://forum.rasa.com/u/mmm3bbb)\
**Post date:** [October 17, 2019, 4:19pm UTC](https://forum.rasa.com/t/rasa-x-interactive-learning-error/17648/10 "2019-10-17T16:19:44Z")

</div>

@Tobias_Wochinger Yeah, those. I also see a bunch of these with Rasa X:

```
2019-10-16 18:21:25 WARNING tensorflow - From /Users/michael/env/lib/python3.6/site-packages/tensorflow/python/ops/init_ops.py:97: calling GlorotUniform. __init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
2019-10-16 18:21:25 WARNING tensorflow - From /Users/michaeel/env/lib/python3.6/site-packages/tensorflow/python/ops/init_ops.py:1251: calling VarianceScaling. __init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
2019-10-16 18:21:25 WARNING tensorflow - From /Users/michael/env/lib/python3.6/site-packages/tensorflow/python/ops/init_ops.py:97: calling Orthogonal. __init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
2019-10-16 18:21:25 WARNING tensorflow - From /Users/michael/env/lib/python3.6/site-packages/tensorflow/python/ops/init_ops.py:97: calling Zeros. __init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
2019-10-16 18:21:25 WARNING tensorflow - From /Users/michael/env/lib/python3.6/site-packages/tensorflow/python/keras/backend.py:3794: add_dispatch_support.<locals>.wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.

```

I know they’re just warning messages, but they obfuscate more important messages. Given how much time we relative Rasa novices try to track down weird behavior, if you get a chance to silence them, that’d be awesome. Thx.

---

<div class="post-metadata">

**Author:** ![Supercicu](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@Supercicu](https://forum.rasa.com/u/Supercicu)\
**Post date:** [October 18, 2019, 7:03am UTC](https://forum.rasa.com/t/rasa-x-interactive-learning-error/17648/11 "2019-10-18T07:03:10Z")

</div>

Yeah that’d also be fantastic

---

<div class="post-metadata">

**Author:** ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)\
**Post date:** [October 22, 2019, 9:50am UTC](https://forum.rasa.com/t/rasa-x-interactive-learning-error/17648/12 "2019-10-22T09:50:13Z")

</div>

Yeah, we already got an issue for that ([tensorflow warnings · Issue #4639 · RasaHQ/rasa · GitHub](https://github.com/RasaHQ/rasa/issues/4639)). I’ll try to tackle it today / tomorrow
