https://prefect.io logo
#prefect-server
Title
# prefect-server
r

Rob Fowler

02/12/2021, 10:00 AM
Does the user part of the local docker-compose run server work for anyone else? I managed to get the graphql endpoint working (seems the ~/.prefect/config.toml change does not do anything, but the webform does). Now I want to create a token but, starting with:
Copy code
prefect server start --use-volume  --volume-path ~/.prefect/pg_data
If I select team|Account, it goes to stripe and fails as I am http only.
Copy code
IntegrationError: Live Stripe.js integrations must use HTTPS. For more information: <https://stripe.com/docs/security/guide#tls>
    at new o (<https://js.stripe.com/v3/:1:2860>)
    at fc.value (<https://js.stripe.com/v3/:1:203919>)
    at new fc (<https://js.stripe.com/v3/:1:205084>)
    at mc (<https://js.stripe.com/v3/:1:205615>)
    at Module.4120 (<http://old7.mianos.com:8080/js/team-settings--account~21833f8f.f65a711f.js:1:42224>)
    at s (<http://old7.mianos.com:8080/js/app~d0ae3f07.b8b5e05d.js:1:595>)
When creating a project:
Copy code
vue-router.esm.js:2008 Uncaught (in promise) Error: Navigation cancelled from "/default?agents" to "/default/project/dd392518-7e7b-41b0-8967-cdd5d2dda5a3" with a new navigation.
    at $t (vue-router.esm.js:2008)
    at wt (vue-router.esm.js:1990)
    at v (vue-router.esm.js:2297)
    at r (vue-router.esm.js:1947)
    at vue-router.esm.js:1948
    at vue-router.esm.js:2322
    at Dashboard.vue:69
    at u (runtime.js:63)
    at Generator._invoke (runtime.js:293)
    at Generator.next (runtime.js:118)
But it does work. The tutorial does not mention creating a project during registration. It seems to be needed. Anyway, my flow seems to register, if I do name it, It just seems this is not really the same state as prefect itself.
a

Amanda Wee

02/12/2021, 10:17 AM
That a project has to be created before registration is mentioned in the Orchestration & API tutorial: https://docs.prefect.io/orchestration/tutorial/first.html
n

nicholas

02/12/2021, 3:34 PM
Hi @Rob Fowler - I’m not sure I understand your issue. If you’re running Prefect Server you won’t be able to create tokens since there isn’t an auth layer in that application - the same is true for users.