#lookup xxxxxx for hosts file errors when running via gh action

1 messages ยท Page 1 of 1 (latest)

iron mural
#

Not sure what to make of this error, but im running into an issue when running a dagger call via the dagger gh action - that i don't encounter locally.

#

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

midnight fiber
#

hey @iron mural is the repo public by any chance?

iron mural
#

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.

midnight fiber
#

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.

iron mural
#

๐Ÿ‘ 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 ๐Ÿ˜

midnight fiber