Git Product home page Git Product logo

Comments (8)

Xeyk avatar Xeyk commented on July 17, 2024 1

It's working like a charm. Stubby was definitely the issue. Thank you for all your hard work!

from i2p.

diva-exchange avatar diva-exchange commented on July 17, 2024

Thank you for your report. Not seen this before. It looks to me as "tor" produces the illegal instruction. Two questions:

  1. Does our other Docker Image (I2P without Tor), tagged as "latest", work for you?
  2. Any chance that you post the core dump here or on https://codeberg.org/diva.exchange/i2p ?

Docker Image, tagged as "latest": https://hub.docker.com/layers/divax/i2p/latest/images/sha256-dd51048720f5485a784abe1fa21d9d7c054c87b218829d1aec477143ef8153f9?context=explore

from i2p.

Xeyk avatar Xeyk commented on July 17, 2024

Sorry about the delayed reply. The I2p version posts the exact same error.

I'll work on getting you the core dump today. Just to be sure I'm getting you the right thing, do these instructions look correct?

https://dev.to/mizutani/how-to-get-core-file-of-segmentation-fault-process-in-docker-22ii

from i2p.

diva-exchange avatar diva-exchange commented on July 17, 2024

The instructions given https://dev.to/mizutani/how-to-get-core-file-of-segmentation-fault-process-in-docker-22ii will be challenging, since it requires you to rebuild the docker image on your infrastructure. This might be cumbersome for you.

Now, since you have the same problem with i2p:latest, it is not Tor. Two possibilities: a) i2pd itself (which is the I2P binary) and Stubby (which is providing private DNS lookups).

  1. Before we run after the core dump file - what's the output of "uname -a" on your infrastructure where you want to run the docker image i2p:latest?

  2. Are you able to get the code to your infrastructure, like "git clone -b master https://codeberg.org/diva.exchange/i2p.git && cd i2p" and then build it locally: "sudo ./bin/build.sh" ?

from i2p.

Xeyk avatar Xeyk commented on July 17, 2024

4.4.0-190-generic #220-Ubuntu SMP Fri Aug 28 23:02:15 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

I was able to successfully build it locally. This time, the message is a little different and certainly points to Stubby as the issue.

`[17:34:09.988349] STUBBY: Stubby version: Stubby 0.3.0

[17:34:09.990354] STUBBY: Read config from file /home/i2pd/network/stubby.yml

[17:34:09.990568] STUBBY: DNSSEC Validation is OFF

[17:34:09.990577] STUBBY: Transport list is:

[17:34:09.990580] STUBBY: - TLS

[17:34:09.990583] STUBBY: Privacy Usage Profile is Strict (Authentication required)

[17:34:09.990587] STUBBY: (NOTE a Strict Profile only applies when TLS is the ONLY transport!!)

[17:34:09.990590] STUBBY: Starting DAEMON....

Illegal instruction (core dumped)`

from i2p.

diva-exchange avatar diva-exchange commented on July 17, 2024

Thank you! I2Pd was just now released as 2.34.0 so we just rebuilt the Docker Images and released it. However, if stubby is the reason for the "illegal instruction" this new release won't help. Right now the images are rebuilding on https://hub.docker.com/r/divax/i2p and they will be available today in latest about 1 hour.

Solution approach: we will produce a docker image without stubby (so: I2Pd only) and we will release the image in the next 48 hours. Maybe you will find some time to test it on your systems. That would be much appreciated.

from i2p.

Xeyk avatar Xeyk commented on July 17, 2024

I will certainly test that out. Would it be possible to get a version with tor+i2p included without stubby?

Just an FYI as well - I tried building an earlier release of your i2p+tor version, and it gave the same error message on my system.

from i2p.

diva-exchange avatar diva-exchange commented on July 17, 2024

OK, stubby removed - docker image available:

  1. docker pull divax/i2p:i2p-tor
  2. Something like (adapted to your needs) to start the container: docker run --env PORT_TOR=9950 --env PORT_HTTP_PROXY=4544 -p 7170:7070 -p 4544:4444 -p 9950:9050 -p 8080:8080 -d --name i2p-tor divax/i2p:i2p-tor

Hope it works!

We tested the docker images on:

  • Linux 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
  • Linux 4.15.0-121-generic #123-Ubuntu SMP Mon Oct 5 16:16:40 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
  • Linux 5.4.0-51-generic #56-Ubuntu SMP Mon Oct 5 14:28:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

from i2p.

Related Issues (8)

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.