User session expired when using API

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
freefor
Posts: 7
Joined: Sun Apr 30, 2017 9:27 am

User session expired when using API

Post by freefor » Tue Sep 18, 2018 8:15 am

Hi all,

I am using the REST API within a small phyton script that is automatically started when logging in to my server via SSH. It reads out all currently running nodes and acts like a small "connection manager". Background is that SSH is open outbound, but higher range ports are not.

However, whenever this script starts and logs in using the API, my user session on the web is immediately terminated and I am thrown out. Any way to avoid that, so having multiple sessions in parallel with the same user account?

Regards

ecze
Posts: 533
Joined: Wed Mar 15, 2017 1:54 pm

Re: User session expired when using API

Post by ecze » Thu Sep 20, 2018 7:32 am

No ,

it is by design.

Concurrent access with same account is forbidden.

You have to use a specific account dedicated to your script

E.

Post Reply