diambra / arena

DIAMBRA Arena: a New Reinforcement Learning Platform for Research and Experimentation
https://docs.diambra.ai
Other
307 stars 22 forks source link

Unauthorized environment execution #112

Closed qqqqqwwwweeerr1gmail closed 4 months ago

qqqqqwwwweeerr1gmail commented 4 months ago

i run my code :

!/usr/bin/env python3

import diambra.arena

def main(): env = diambra.arena.make("doapp", render_mode="human")

observation, info = env.reset(seed=42)

while True:

(Optional) Environment rendering

env.render()

# Action random sampling
actions = env.action_space.sample()

# Environment stepping
observation, reward, terminated, truncated, info = env.step(actions)

# Episode end (Done condition) check
if terminated or truncated:
    observation, info = env.reset()
    break

   env.close()

    return 0

if name == 'main': main()

and failed , the console show this :

(venv1) ws@ws-MS-7E06:~/GitHub/ws_llm-colosseum$ diambra run -r /home/ws/DIAMBRA/king_of_fighters python ./ws/b1.py 🖥️ Starting DIAMBRA environment: 🖥️ logged in v2.2: Pulling from diambra/engine Digest: sha256:a7ff2d68aa2802b9ad6e618f65dbf6c9759f68017a97ac9ff28039f69f193774 Status: Image is up to date for diambra/engine:v2.2 Stored credentials found. License verification error: Stored credentials check timed out. (GET error: 28) Error: Unauthorized environment execution

    Contact support on DIAMBRA Discord Server: https://diambra.ai/discord
                                    AND / OR

Open a ticket on our GitHub repository issue Tracker: https://github.com/diambra/arena/issues


alexpalms commented 4 months ago

Hi @qqqqqwwwweeerr1gmail thanks for reaching out. The module is unable to validate your credentials. Are you behind a firewall? Is the connection a private (home) or a public (university, office) one?