# How to configure the THESPIAN\_BASE\_IPADDR when encounter 'ActorAddr-(T|:1900) is not a valid ActorSystem admin'

**URL:** <https://discuss.elastic.co/t/how-to-configure-the-thespian-base-ipaddr-when-encounter-actoraddr-t-1900-is-not-a-valid-actorsystem-admin/336802>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [June 24, 2023, 2:26am UTC](https://discuss.elastic.co/t/how-to-configure-the-thespian-base-ipaddr-when-encounter-actoraddr-t-1900-is-not-a-valid-actorsystem-admin/336802 "2023-06-24T02:26:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tengfei225](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tengfei225/32/122664_2.png) [@tengfei225](https://discuss.elastic.co/u/tengfei225)\
**Post date:** [June 24, 2023, 2:26am UTC](https://discuss.elastic.co/t/how-to-configure-the-thespian-base-ipaddr-when-encounter-actoraddr-t-1900-is-not-a-valid-actorsystem-admin/336802/1 "2023-06-24T02:26:53Z")

</div>

Hi  
I am a new user of Esrally, currently I have created my custom track in order to benchmark the elastic cloud in azure

when I try the below command, the actor system can not be started

esrally race --track=percolator --target-hosts=$domainOfEsCloud --pipeline=benchmark-only --client-options="use\_ssl:true,verify\_certs:true,timeout:600,basic\_auth\_user:'$name',basic\_auth\_password:'$password'"

Error message:

\<  
2023-06-24 00:15:10,175 -not-actor-/PID:2964 esrally.rally INFO Actor system already running locally? [False]  
2023-06-24 00:15:10,175 -not-actor-/PID:2964 esrally.actor INFO Starting actor system with system base [multiprocTCPBase] and capabilities [{'coordinator': True, 'ip': '127.0.0.1', 'Convention Address.IPv4': '127.0.0.1:1900'}].  
2023-06-24 00:15:10,222 -not-actor-/PID:2964 root WARNING Unable to get address info for address 1.0.0.127.in-addr.arpa (2, 2, 17, 0): \<class 'socket.gaierror'\> [Errno 8] nodename nor servname provided, or not known  
2023-06-24 00:15:10,222 -not-actor-/PID:2964 root WARNING Unable to get address info for address 1.0.0.127.in-addr.arpa (2, 2, 17, 1): \<class 'socket.gaierror'\> [Errno 8] nodename nor servname provided, or not known  
2023-06-24 00:15:10,246 -not-actor-/PID:2969 root INFO ++++ Actor System gen (3, 10) started, admin @ ActorAddr-(T|:1900)  
2023-06-24 00:15:15,246 -not-actor-/PID:2964 esrally.actor ERROR Could not initialize internal actor system.  
Traceback (most recent call last):  
File "/usr/local/lib/python3.11/site-packages/esrally/actor.py", line 263, in bootstrap\_actor\_system  
return thespian.actors.ActorSystem(system\_base, logDefs=log.load\_configuration(), capabilities=capabilities)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File "/usr/local/lib/python3.11/site-packages/thespian/actors.py", line 635, in **init**  
systemBase = self.\_startupActorSys(  
^^^^^^^^^^^^^^^^^^^^^^  
File "/usr/local/lib/python3.11/site-packages/thespian/actors.py", line 676, in \_startupActorSys  
systemBase = sbc(self, logDefs=logDefs)  
^^^^^^^^^^^^^^^^^^^^^^^^^^  
File "/usr/local/lib/python3.11/site-packages/thespian/system/multiprocTCPBase.py", line 28, in **init**  
super(ActorSystemBase, self). **init** (system, logDefs)  
File "/usr/local/lib/python3.11/site-packages/thespian/system/multiprocCommon.py", line 86, in **init**  
super(multiprocessCommon, self). **init** (system, logDefs)  
File "/usr/local/lib/python3.11/site-packages/thespian/system/systemBase.py", line 326, in **init**  
self.\_startAdmin(self.adminAddr,  
File "/usr/local/lib/python3.11/site-packages/thespian/system/multiprocCommon.py", line 114, in \_startAdmin  
raise InvalidActorAddress(adminAddr,  
thespian.actors.InvalidActorAddress: ActorAddr-(T|:1900) is not a valid ActorSystem admin  
/\>

My environment needs to set vpn to get access to github and es cloud resources, so I do the below settings according to direction in

1. configuration  
export http\_proxy=$my\_proxy\_address  
git config --global http.proxy $http\_proxy

and I can run the command successfully ------- git clone [GitHub - elastic/rally-tracks: Track specifications for the Elasticsearch benchmarking tool Rally](https://github.com/elastic/rally-tracks.git)

1. for the issue 'nodename nor servname provided, or not known'  
I have configed in /etc/hosts as 127.0.0.1 my\_hostname, but this method will lose efficiency when I open VPN (can only be used to do the local test)

2. following the troubleshooting here, I can see another solution to set THESPIAN\_BASE\_IPADDR, can anyone help how can I set this variable and set to what ip address

Thanks

---

<div class="post-metadata">

**Author:** ![Quentin\_Pradet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/quentin_pradet/32/94192_2.png) [@Quentin\_Pradet](https://discuss.elastic.co/u/Quentin_Pradet)\
**Post date:** [June 27, 2023, 1:31pm UTC](https://discuss.elastic.co/t/how-to-configure-the-thespian-base-ipaddr-when-encounter-actoraddr-t-1900-is-not-a-valid-actorsystem-admin/336802/2 "2023-06-27T13:31:35Z")

</div>

Thanks for your interest in Rally!

It seems to me that setting `export THESPIAN_BASE_IPADDR=127.0.0.1` should work. Alternatively, consider using the offline mode: [Offline Usage - Rally 2.8.0 documentation](https://esrally.readthedocs.io/en/stable/offline.html).

---

<div class="post-metadata">

**Author:** ![tengfei225](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tengfei225/32/122664_2.png) [@tengfei225](https://discuss.elastic.co/u/tengfei225)\
**Post date:** [June 30, 2023, 9:10am UTC](https://discuss.elastic.co/t/how-to-configure-the-thespian-base-ipaddr-when-encounter-actoraddr-t-1900-is-not-a-valid-actorsystem-admin/336802/3 "2023-06-30T09:10:48Z")

</div>

Thanks @Quentin_Pradet , it works

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 28, 2023, 9:11am UTC](https://discuss.elastic.co/t/how-to-configure-the-thespian-base-ipaddr-when-encounter-actoraddr-t-1900-is-not-a-valid-actorsystem-admin/336802/4 "2023-07-28T09:11:16Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
