https://dagster.io/ logo
Title
y

Yuan Cheng

02/14/2023, 11:31 PM
Hi guys, we are trying to launch dagster on EC2, and got below errors, when try our first test run. Can you list some possible causes? Thx
o

owen

02/14/2023, 11:33 PM
hi @Yuan Cheng is
dagster-postgres
installed on your EC2 cluster?
y

Yuan Cheng

02/14/2023, 11:36 PM
yes we did
👀 1
d

daniel

02/15/2023, 12:31 AM
Hi Yuan, what run launcher are you using?
y

Yuan Cheng

02/15/2023, 12:37 AM
I just clicked materialize all:
Here's more information from server:
d

daniel

02/15/2023, 12:39 AM
Did you set a particular run launcher in your dagster.yaml file?
Or is it using the default one?
y

Yuan Cheng

02/15/2023, 12:40 AM
we use default one (DefaultRunLauncher)
d

daniel

02/15/2023, 12:42 AM
How are you telling dagster how to load your code? (Eg with a workspace.yaml or pyproject.toml file)
y

Yuan Cheng

02/15/2023, 12:42 AM
workspace.yaml
d

daniel

02/15/2023, 12:42 AM
Can you share the contents of that file?
y

Yuan Cheng

02/15/2023, 12:43 AM
load_from:
  # Each entry here corresponds to a code repository hosted somewhere
  - grpc_server:
      host: 127.0.0.1
      port: 4322
      location_name: "RDBMS"
d

daniel

02/15/2023, 12:44 AM
Got it - this error indicates that the server that you have listed there isn’t running in an environment that has dagster-postgres installed (the run happens on that gRPC server if you are using the default run launcher) Does that help narrow down the problem?
y

Yuan Cheng

02/15/2023, 12:45 AM
got it, let me dig more, thx for the help!
haha got it, thx!!!
:condagster: 1