I just now noticed the error on the server side. Below error is found on 
the python server side

ERROR:root:Exception iterating responses: Invalid token type. Token must be 
a <class 'bytes'>
Traceback (most recent call last):
  File 
"C:\Users\prasanna.elangovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\grpc\_server.py",
 
line 388, in _take_response_from_response_iterator
    return next(response_iterator), True
  File "C:\Users\prasanna.elangovan\Documents\io\src\test\gateway\main.py", 
line 124, in ListAcousticSystems
    user_uuid = extract_user_uuid_from_context(context)
  File "C:\Users\prasanna.elangovan\Documents\io\src\test\gateway\main.py", 
line 57, in extract_user_uuid_from_context
    valid_token = extract_access_token_from_context(context)
  File "C:\Users\prasanna.elangovan\Documents\io\src\test\gateway\main.py", 
line 52, in extract_access_token_from_context
    return decode_access_token(bearer_token)
  File "C:\Users\prasanna.elangovan\Documents\io\src\test\gateway\main.py", 
line 40, in decode_access_token
    leeway=datetime.timedelta(seconds=10)
  File 
"C:\Users\prasanna.elangovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\jwt\api_jwt.py",
 
line 61, in decode
    payload, signing_input, header, signature = self._load(jwt)
  File 
"C:\Users\prasanna.elangovan\AppData\Local\Programs\Python\Python36-32\lib\site-packages\jwt\api_jws.py",
 
line 150, in _load
    binary_type))
jwt.exceptions.DecodeError: Invalid token type. Token must be a <class 
'bytes'>


-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/fc637992-eb3f-43f5-8595-f4c5ca54ac53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to