graveyard / godoc-docker

Docker image holding a standalone godoc server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash: Metadata fetch failed, no such host

edrex opened this issue · comments

I get a crash when trying to access a package, for example http://localhost:8080/github.com/golang/gddo

❯ docker-compose up godoc                                                                              
doc_redis_1 is up-to-date
Starting doc_redis_up_1
Recreating doc_godoc_1
Attaching to doc_godoc_1
godoc_1     | 2017/01/05 23:49:50 Starting server, os.Args=/go/bin/gddo-server --db-server redis://redis:6379 --http :80 --robot 9e99
godoc_1     | 2017/01/05 23:51:57 error incrementing counter for 127.0.0.1, ERR Error running script (call to f_c2b18132b05e05191fe57f15857c64e6728b283a): @us
er_script:14: @user_script: 14: Lua redis() command arguments must be strings or integers                                                                    
godoc_1     | 2017/01/05 23:51:59 Metadata fetch failed: Get http://metadata/computeMetadata/v1/instance/attributes/gae_project: dial tcp: lookup metadata on 
127.0.0.11:53: no such host                                                                                                                                  
doc_godoc_1 exited with code 1

I'm using the docker-compose.yml at https://gist.github.com/edrex/7ef2dcb6c0f6aa27d517d27ce1129389

I'm assuming this is due to internal changes in gddo. Interest in continuing to support this?

@edrex did you ever find a fix?