Problem setting user license key

Hello

I am trying to run a backtest in Jupyter lab but it is not recognizing my quantrocket license key. When running the backtest I get this error:

('403 Client Error: FORBIDDEN for url: http://houston/zipline/backtests/TRAM_v1?bundle=etf-bundle&start_date=2008-01-03&end_date=2017-12-30&progress=M', {'status': 'error', 'error': 'A license key is required (view license details if this is unexpected, see http://qrok.it/h/lkey for help)'})

I tried setting my license again using CLI but this gives me another error (replaced license key with xxxxxxxxxx):

$ quantrocket license set 'xxxxxxxxxx'
msg: 'HTTPError(''500 Server Error: Internal Server Error for url: http://houston/license-service/license/xxxxxxxxxx'',
  ''please check the logs for more details'')'
status: error

The flightlog gives this message:

quantrocket_license-service_1|--- no python application found, check your startup logs for errors ---
quantrocket_license-service_1|[pid: 7|app: -1|req: -1/4313] 172.18.0.18 () {34 vars in 486 bytes} [Sun Jan 17 10:35:19 2021] PUT /license-service/license/xxxxxxxxxx => generated 21 bytes in 1 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)

I was able to set my license key before following the same steps but it does not seem to be working now. I'm not sure what I might be missing.

Appreciate your help in solving this.

It sounds like an error occurred while the license-service container was starting up. Try restarting the container:

docker-compose restart license-service

Watch the detailed logs as it comes up in case the error happens again, but I would bet it was a transient network error.

Thanks, problem fixed by restarting the container.