Git Product home page Git Product logo

bitcart-docker's Issues

ECONNREFUSED 127.0.0.1:80

Hello!

I'm having trouble connecting to the admin and store pages using docker.
I followed the instructions and did the following:

  • Setup dns entries
  • exported the corresponding variables
    -- Used: export BITCART_REVERSEPROXY=none (Used socat for port forwarding)
  • Ran ./setup.sh as a regular user
  • Ran ./start.sh as root

When I connect to the admin or store websites I get the following error in the stdout of the docker container:

 ERROR  connect ECONNREFUSED 127.0.0.1:80

  at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1148:16)

The api page displays the api as expected.

If I use export BITCART_REVERSEPROXY=nginx, I get the following errors in the console:

nginx-gen                            | 2021/11/26 11:43:35 Received event die for container 331b2f71c92e
nginx-gen                            | 2021/11/26 11:43:37 Received signal: hangup
nginx-gen                            | 2021/11/26 11:43:37 Received signal: hangup


dramatiq_1                           | python3: can't open file 'manage.py': [Errno 2] No such file or directory

daemon_1                             | python3: can't open file 'daemon.py': [Errno 2] No such file or directory

I suspect I'm missing something, but I haven't been able to figure it out

Environment
OSX BigSur 11.5.2
Docker 20.10.8

Thank you :)

start/stop.sh

It may be easier for most people who don't know about bash scripting to include #!/bin/bash on the first line.

Also, btw your demo site is not up.

New features discussion

There are currently two features that are worth implementing:
The first is adding tor support by adding tor component to generator/docker-components directory. Done
The second is more complicated, but might attract users who want to host they node and still use bitcart.
Currently bitcart works via default electrum servers.
There should be an electrumx component(configurable for each coin, maybe in generator's main.py), which will run,
It should be allowed to run in a few different cases:
If node is already installed somewhere, only electrumx component is needed to connect to bitcoin or other coin's node.
If nothing is installed users can also install both coin node and electrumx for that.
If those components are enabled, bitcart should be configured to use only one server from component and not public ones.
But the default settings should be left the same.

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.