Hey, I'm getting some issues with argo events. I c...
# ask-metaflow
b
Hey, I'm getting some issues with argo events. I can't trigger one flow with another. My setup is based on the GCP kubernetes/argo terraform. I've seen few others having the same issue.
Copy code
Unable to publish Argo Event (metaflow.FirstFlow.start): <urlopen error [Errno 99] Cannot assign requested address>
this is my config
Copy code
{
  "METAFLOW_ARGO_EVENTS_EVENT": "metaflow-event",
  "METAFLOW_ARGO_EVENTS_EVENT_BUS": "default",
  "METAFLOW_ARGO_EVENTS_EVENT_SOURCE": "argo-events-webhook",
  "METAFLOW_ARGO_EVENTS_SERVICE_ACCOUNT": "argo",
  "METAFLOW_ARGO_EVENTS_WEBHOOK_URL": "<http://localhost:12000/metaflow-event>",
  "METAFLOW_DATASTORE_SYSROOT_GS": "<gs://storage-metaflow-darkforest-metaflow-default/tf-full-stack-sysroot>",
  "METAFLOW_DEFAULT_DATASTORE": "gs",
  "METAFLOW_DEFAULT_METADATA": "service",
  "METAFLOW_KUBERNETES_NAMESPACE": "argo",
  "METAFLOW_KUBERNETES_SERVICE_ACCOUNT": "argo",
  "METAFLOW_SERVICE_INTERNAL_URL": "<http://metadata-service.default:8080/>",
  "METAFLOW_SERVICE_URL": "<http://127.0.0.1:8080/>"
}
1
f
I think your event hook url needs to be public i.e. not local host
🙌 1
this 1
b
yep, it was that 🙂