Giter VIP home page Giter VIP logo

docker's People

Contributors

flavien avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker's Issues

Default port with docker

Hi!

I make a modification in docker-compose.yml file to change default port to run openchain server but the log give me after server runs the old port configurated into the system

openchain-server | Now listening on: http://0.0.0.0:8080

And i have into the file

openchain:
build: openchain/.
ports:
- "8090:8090"
container_name: openchain-server
volumes:
- ./data:/openchain/data
restart: always

Regards

ER

The transaction could not be confirmed.

Running the latest build and keep getting the subject message.

I'm getting the following error in the console

Failed to load resource: the server responded with a status of 504 (Gateway Time-out)
/#/submit:1 XMLHttpRequest cannot load http://192.168.99.100/openchain/submit. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://nossl.wallet.openchain.org' is therefore not allowed access. The response had HTTP status code 504.

The thread output gives me

chain_1 | Request starting HTTP/1.1 POST http://openchain:8080/submit application/json;charset=UTF-8 744
openchain_1 | info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
openchain_1 | Executing action method Openchain.Server.Controllers.OpenchainController.Post (Openchain.Server) with arguments ((null)) - ModelState is Valid
nginx | 2016/12/03 21:38:30 [error] 5#5: *20 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.99.1, server: , request: "POST /openchain/submit HTTP/1.1", upstream: "http://172.17.0.2:8080/submit", host: "192.168.99.100", referrer: "http://nossl.wallet.openchain.org/"
nginx | 192.168.99.1 - - [03/Dec/2016:21:38:30 +0000] "POST /openchain/submit HTTP/1.1" 504 183 "http://nossl.wallet.openchain.org/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.3 Safari/601.7.8"
openchain_1 | info: General[0]
openchain_1 | [2016-12-03 21:38:30Z] Validated transaction 333d90025b93c80b5f04096a894beee20377e8ec13c744958037f8514b96c046
openchain_1 | info: Microsoft.AspNetCore.Mvc.Formatters.Json.Internal.JsonResultExecutor[1]
openchain_1 | Executing JsonResult, writing value { transaction_hash = 333d90025b93c80b5f04096a894beee20377e8ec13c744958037f8514b96c046, mutation_hash = 00f734c93b5294d799ba9f4c605e914a14a64f62b6fa1a6e39e098b88c20df07 }.
openchain_1 | info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
openchain_1 | Executed action Openchain.Server.Controllers.OpenchainController.Post (Openchain.Server) in 60047.4225ms
openchain_1 | info: Microsoft.AspNetCore.Server.Kestrel[14]
openchain_1 | Connection id "0HL0RN8EOF500" communication error.
openchain_1 | Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvException: Error -32 EPIPE broken pipe
openchain_1 | info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
openchain_1 | Request finished in 60051.2961ms 200 application/json; charset=utf-8

Any ideas as to what could be the problem? This used to work fine until the upgrade

Timeout

 ---> Running in ebd6dcb1c5d8
log  : Restoring packages for /tmp/openchain/project.json...
error: Unable to load the service index for source https://api.nuget.org/v3/index.json.
error:   The HTTP request to 'GET https://api.nuget.org/v3/index.json' has timed out after 100000ms.
ERROR: Service 'openchain' failed to build: The command '/bin/sh -c cd /tmp/openchain     && dotnet restore     && dotnet publish -o /openchain' returned a non-zero code: 1```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.