Skip to content

WEBUI & hasher app not going through #634

@eliassal

Description

@eliassal

Hi Jermoe, the videos regarding "Deploying and Scaling Microservices
with Docker and Kubernetes" are really fantastic. and I learned a lot. However, when I try to run
Docker compose up
in bitcoins directory, all containers start and work fine except the webui one which errors as follows (myabe because latest images used are not compatible with code, I am really not expert in node nor in ruby)

Hasher error

hasher-1  | == Sinatra (v3.2.0) has taken the stage on 80 for development with backup from Thin
hasher-1  | 127.0.0.1 - - [03/Jan/2024:13:00:33 +0000] "GET / HTTP/1.1" 200 31 0.0026
worker-1  | INFO:__main__:0 units of work done, updating hash counter
worker-1  | ERROR:__main__:In work loop:
worker-1  | Traceback (most recent call last):
worker-1  |   File "/usr/local/lib/python3.12/site-packages/urllib3/connection.py", line 203, in _new_conn
worker-1  |     sock = connection.create_connection(
worker-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker-1  |   File "/usr/local/lib/python3.12/site-packages/urllib3/util/connection.py", line 85, in create_connection

then webui error

webui-1   | /node_modules/redis/dist/index.js:31
webui-1   |     ...bloom_1.default,
webui-1   |     ^^^
webui-1   |
webui-1   | SyntaxError: Unexpected token ...
webui-1   |     at exports.runInThisContext (vm.js:53:16)
webui-1   |     at Module._compile (module.js:373:25)
webui-1   |     at Object.Module._extensions..js (module.js:416:10)

Thanks for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions