For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 2 1 0

Login rejected using refresh token

Hi,

The stream is okay when I use password to get token and login. But after a few minute (less than token expire time), when I use refresh token to login, the message I receive is "Login rejected, already pending login" and I have to again use password to login. Can you tell me what will cause "login rejected" problem?

treprdp-apiwebsocketsrrtoauthenticationtokenlog-inerror-login
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

By the way, the refresh token works well before but it fails today for whole day which is really a big problem.

1 Answer

· Write an Answer
Upvotes
Accepted
21.8k 57 14 21

Hi @afra, I am running the sample application from the quickstart and have been able to successfully renew access token couple of times now. Can you please try the same and replicate the issue with the sample application.

This is to rule out any token renewal bugs in your code.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @afra,

Same here, run quickstart python, refreshed token, no issue.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.