https://metaplay.io logo
a
I am trying to make load test before soft launch but when I try to use bot clients on production server, this happens:
Copy code
Initializing bot
Authenticating TLS...
[bot] Connected to server.
[bot] Transport lost Metaplay.Core.Network.StreamMessageTransport+StreamClosedError
Connection to server failed (StreamClosedError)
The bot clients work in all the other environments as expected. - Should the bot clients work on production server? - I have been now load testing in staging and I am wondering is the production server able to handle bigger load than the staging?
j
Production server disallows bots by default. This is controlled with
System.AllowBotAccounts
runtime option, so you could set this in your
Server/Config/Options.prod.yaml
:
Copy code
System:
   AllowBotAccounts: true
I'm feeling a bit iffy on running bots on production. I cannot think of anything specific that would break but it is not designed for that, so you might hit some rough edges. Staging environment should be pretty much identical to the production to allow testing against staging and then deploying with confidence. I would expect the performance on staging to be similar to the production environment.
a
Thanks for the quick answer, I’ll continue to use the staging for the load testing.