Comments (8)
It's working like a charm. Stubby was definitely the issue. Thank you for all your hard work!
from i2p.
Thank you for your report. Not seen this before. It looks to me as "tor" produces the illegal instruction. Two questions:
- Does our other Docker Image (I2P without Tor), tagged as "latest", work for you?
- 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.
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.
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).
-
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?
-
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.
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.
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.
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.
OK, stubby removed - docker image available:
- docker pull divax/i2p:i2p-tor
- 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)
- Roadmap I2P SAM
- UPnP: this module was disabled at compile-time HOT 2
- [BUG] i2pd.conf is always unconditionally overwritten HOT 2
- [BUG] Interface binding unavailable/`IP_BRIDGE` unused.
- [BUG] Host network binding not configurable
- [BUG] Document web console port HOT 2
- How to set up reseed proxy? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i2p.