Skip to content

Server running on docker not working. #9

@aldocd4

Description

@aldocd4

Hello, server running on windows or ubuntu subsystem is working well.

But when I Dockerize it, its not working anymore :

$ docker-compose up
transaction-service_app_1 is up-to-date
Attaching to transaction-service_app_1
app_1 | Fetching hunt-security 0.1.0 (getting selected version)...
app_1 | Fetching hunt-imf 0.0.7 (getting selected version)...
app_1 | Fetching boringssl 0.0.1 (getting selected version)...
app_1 | Fetching openssl 1.1.6+1.0.1g (getting selected version)...
app_1 | Fetching hunt 1.1.2 (getting selected version)...
app_1 | Fetching hunt-net 0.1.0 (getting selected version)...
app_1 | Fetching hunt-trace 0.1.9 (getting selected version)...
app_1 | Fetching protobuf 0.5.0 (getting selected version)...
app_1 | Fetching grpc 0.2.0 (getting selected version)...
app_1 | Fetching hunt-http 0.1.4 (getting selected version)...
app_1 | Performing "debug" build using dmd for x86_64.
app_1 | hunt 1.1.2: building configuration "library"...
app_1 | hunt-security 0.1.0: building configuration "library"...
app_1 | hunt-net 0.1.0: building configuration "default"...
app_1 | protobuf 0.5.0: building configuration "protobuf"...
app_1 | hunt-imf 0.0.7: building configuration "hunt-imf"...
app_1 | hunt-trace 0.1.9: building configuration "library"...
app_1 | hunt-http 0.1.4: building configuration "default"...
app_1 | grpc 0.2.0: building configuration "grpc"...
app_1 | transaction-service ~master: building configuration "application"...
app_1 | Linking...
app_1 | Running ./transaction-service
app_1 | 2019-06-04 09:31:41 (73) [debug] parseNext - after parseLine =>[pos=16 lim=411 cap=411] - ../../root/.dub/packages/hunt-http-0.1.4/hunt-http/source/hunt/http/codec/http/decode/HttpParser.d:1287
app_1 | 2019-06-04 09:31:41 (73) [info] onPreface - server received preface: Http2Session@132362403889968{l:172.19.0.2:50051 <-> r:172.19.0.1:47628,sendWindow=65535,recvWindow=65535,streams=0,NOT_CLOSED} - ../../root/.dub/packages/grpc-0.2.0/grpc/source/grpc/GrpcServer.d:46
app_1 | 2019-06-04 09:31:41 (73) [debug] decode - CtxTbl[78620610f300] decoding 255 octets - ../../root/.dub/packages/hunt-http-0.1.4/hunt-http/source/hunt/http/codec/http/hpack/HpackDecoder.d:64
app_1 | 2019-06-04 09:31:41 (73) [debug] decode - decode 8683400a3a617574686f726974790f3132372e302e302e313a35303035314005... - ../../root/.dub/packages/hunt-http-0.1.4/hunt-http/source/hunt/http/codec/http/hpack/HpackDecoder.d:76
app_1 | 2019-06-04 09:31:41 (73) [debug] decode - decode 83400a3a617574686f726974790f3132372e302e302e313a353030353140053a... - ../../root/.dub/packages/hunt-http-0.1.4/hunt-http/source/hunt/http/codec/http/hpack/HpackDecoder.d:76
app_1 | 2019-06-04 09:31:41 (73) [debug] decode - decode 400a3a617574686f726974790f3132372e302e302e313a353030353140053a70... - ../../root/.dub/packages/hunt-http-0.1.4/hunt-http/source/hunt/http/codec/http/hpack/HpackDecoder.d:76
app_1 | 2019-06-04 09:31:41 (73) [debug] decode - header, name=:authority, value=127.0.0.1:50051 - ../../root/.dub/packages/hunt-http-0.1.4/hunt-http/source/hunt/http/codec/http/hpack/HpackDecoder.d:176
app_1 | 2019-06-04 09:31:41 (73) [debug] decode - decoded ':authority: 127.0.0.1:50051(preparsed h=127.0.0.1 p=50051)' by LitName/LitVal/Idx - ../../root/.dub/packages/hunt-http-0.1.4/hunt-http/source/hunt/http/codec/http/hpack/HpackDecoder.d:212
app_1 | 2019-06-04 09:31:41 (73) [debug] decode - decode 40053a706174681c2f68656c6c6f776f726c642e477265657465722f53617948... - ../../root/.dub/packages/hunt-http-0.1.4/hunt-http/source/hunt/http/codec/http/hpack/HpackDecoder.d:76
app_1 | 2019-06-04 09:31:41 (73) [debug] decode - header, name=:path, value=/helloworld.Greeter/SayHello - ../../root/.dub/packages/hunt-http-0.1.4/hunt-http/source/hunt/http/codec/http/hpack/HpackDecoder.d:176
app_1 | 2019-06-04 09:31:41 (73) [debug] decode - decoded ':path: /helloworld.Greeter/SayHello' by LitName/LitVal/Idx - ../../root/.dub/packages/hunt-http-0.1.4/hunt-http/source/hunt/http/codec/http/hpack/HpackDecoder.d:212
app_1 | 2019-06-04 09:31:41 (73) [debug] decode - decode 4002746508747261696c657273400c636f6e74656e742d74797065106170706c... - ../../root/.dub/packages/hunt-http-0.1.4/hunt-http/source/hunt/http/codec/http/hpack/HpackDecoder.d:76
app_1 | 2019-06-04 09:31:41 (73) [debug] decode - header, name=te, value=trailers - ../../root/.dub/packages/hunt-http-0.1.4/hunt-http/source/hunt/http/codec/http/hpack/HpackDecoder.d:176
app_1 | 2019-06-04 09:31:41 (73) [debug] decode - decoded 'te: trailers' by LitName/LitVal/Idx - ../../root/.dub/packages/hunt-http-0.1.4/hunt-http/source/hunt/http/codec/http/hpack/HpackDecoder.d:212
app_1 | 2019-06-04 09:31:41 (73) [debug] decode - decode 400c636f6e74656e742d74797065106170706c69636174696f6e2f6772706340... - ../../root/.dub/packages/hunt-http-0.1.4/hunt-http/source/hunt/http/codec/http/hpack/HpackDecoder.d:76
app_1 | 2019-06-04 09:31:41 (73) [debug] decode - header, name=content-type, value=application/grpc - ../../root/.dub/packages/hunt-http-0.1.4/hunt-http/source/hunt/http/codec/http/hpack/HpackDecoder.d:176
app_1 | 2019-06-04 09:31:41 (73) [debug] decode - decoded 'content-type: application/grpc' by LitName/LitVal/Idx - ../../root/.dub/packages/hunt-http-0.1.4/hunt-http/source/hunt/http/codec/http/hpack/HpackDecoder.d:212
app_1 | 2019-06-04 09:31:41 (73) [debug] decode - decode 400a757365722d6167656e7439677270632d6373686172702f312e32302e3120... - ../../root/.dub/packages/hunt-http-0.1.4/hunt-http/source/hunt/http/codec/http/hpack/HpackDecoder.d:76

The client (started from windows) is waiting for a response indefinitely from server running on docker container. This is the last log I have.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions