#lookup xxxxxx for hosts file errors when running via gh action
1 messages ยท Page 1 of 1 (latest)
The error im getting is:
! start aerdrore9ip12 (aliased as theapiname): exited: lookup lno3hvrttf7f6 for hosts file: lookup lno3hvrttf7f6 on 10.87.0.1:53: no such host
It triggering when starting a service via .AsService(). That service itself has one WithServiceBinding("mysql", mysqlSvc) .
i can't repro this locally at all
hey @iron mural is the repo public by any chance?
unfortunately its not , i think this error was just a red herring - the mysqlSvc referenced in the WithServiceBinding is crashing for some reason when running in the action, that just didn't really get logged anywhere and manifested like this instead.
yes, I think this is what's happening
if you connect your pipelines to Dagger Cloud (free individual plan) we'll be able to know better what's happening
but yes, seems like the mysql service had an issue starting and then it couldn't be used further down the pipeline.
๐ will keep the dagger cloud bit in mind. thanks for the confirmation though! Now to figure out why mysql is behaving subtly different in a gh action - but thats a me problem ๐
if you're using the Dagger github action, adding -vvv --progress plain to the dagger-flags argument might unveil more about what could be happening https://github.com/dagger/dagger-for-github/blob/main/action.yml#L8