Closed vikashsingh009 closed 3 years ago
@rymurr any comments on above issues
Hey @vikashsingh009 really sorry for the delay! Been v busy. Will give this a look this week for sure!
i guess here is the issues https://github.com/rymurr/dremio_client/blob/master/dremio_client/auth/__init__.py#L73
File "/usr/local/lib/python3.6/dist-packages/dremio_client/auth/init.py", line 73, in _existing_token authfile = json.load(f) File "/usr/lib/python3.6/json/init.py", line 299, in load parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) File "/usr/lib/python3.6/json/init.py", line 354, in loads return _default_decoder.decode(s) File "/usr/lib/python3.6/json/decoder.py", line 342, in decode raise JSONDecodeError("Extra data", s, end)
For refrance i see that auth.json having not valid json ,here is the file,i am not sure why extra braces appending
hey @vikashsingh009 I just tried this on the most recent version of dremio_client
and python 3.8. My resulting auth.json
didn't have the extra }
that you are seeing. Any chance you are using an old or previously edited version of dremio_client?
@rymurr i also can't able to reproduce that issues ,as for some time its a valid json ,but if api continues open too may sessions in that case token getting extra braces
Description
I have written a python api using dremio simple cleint and running on ubuntu VM.it was working fine from past 4-5 days but sudenly server responding with Error
What I Did
teporary solution if i delete auth.json file it will start responding .how to solve this token issues so that i dont have to maual delete auth.json