Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operation cancelled and i2pd aint starting #2084

Open
nackedsnake opened this issue Aug 11, 2024 · 3 comments
Open

Operation cancelled and i2pd aint starting #2084

nackedsnake opened this issue Aug 11, 2024 · 3 comments

Comments

@nackedsnake
Copy link

Idk what i'm doing wrong, but when I'm starting i2pd on ubuntu, its writes that
00:51:45@981/none - i2pd v2.53.1 (0.9.63) starting...
00:51:45@981/warn - Family: Can't load family certificates from /root/.i2pd/certificates/family
00:51:45@61/warn - Transports: 15 ephemeral keys generated at the time
00:51:45@981/warn - Addressbook: Can't open /root/.i2pd/addressbook/addresses.csv
00:51:45@981/error - Addressbook: Resetting eTags
00:51:45@981/warn - Clients: Can't read /root/.i2pd/tunnels.conf: /root/.i2pd/tunnels.conf: cannot open file
00:51:46@463/warn - SSU2: Retry token is zero
00:51:47@731/warn - Profiling: No profile yet for JVtxNyN6i8AWmrVnxJG8UmBlIHzscO61Y5jGEh4EI0=
00:51:50@463/warn - SSU2: Session with 50.72.163.172:30807 was not established after 5 seconds
00:51:52@518/warn - Profiling: No profile yet for mvrCBf0Tk4wsyCG760is1g00Vu
pWoZFJQPxS7Ln-GE=
00:51:52@518/warn - Profiling: No profile yet for sqcg450UJFuld6fylwBvcrdDFKC0s7A5MTs18QqT2E=
00:51:52@518/warn - Profiling: No profile yet for HS2Ua272NOB63-p3oBH9tDCTQCh1UWA4vR7
zp8iME=
00:51:52@518/warn - Profiling: No profile yet for -pCvXZ-ftrcbcMyOfEcnRcQmW
S092K6PCq6svQmY-s=
00:51:52@518/warn - Profiling: No profile yet for sSScwYut8QmPNsS30cMPZBqBxiyoKE-WCVtsGG31eU=
00:51:52@518/warn - Profiling: No profile yet for NgT57KCsfP3QX9WWCvgzeBCM0bQiFkLiIJ4yg9YKMsg=
00:51:52@518/warn - Profiling: No profile yet for t19pDvFvBAwUAmyLJmHe93MNXLCHDt-Wph63nbzTAqU=
00:51:52@518/warn - Profiling: No profile yet for Gb5zu1PYEtSY4C
KKdKh0sOHgWh9aQL03g8csL7adI=
00:51:52@540/warn - NTCP2: SessionCreated read error: End of file
^C00:51:57@518/warn - Profiling: No profile yet for thWaXDwleh
0-XI8hcKqklHEbDfpT2lr2BLlhpdgJ7g=
00:51:57@518/warn - Profiling: No profile yet for yG1ZixLRd91M6G-6AnFnQuQvGzJJBPM0N8wbhylGs=
00:51:57@518/warn - Profiling: No profile yet for o6SXia7A0dIJ8INb7ZIJKgejR75CV1c3JFGzJUlU8I4=
00:51:57@518/warn - Profiling: No profile yet for tzhUOKFfPWhIylyUic8UKlKQ53z3O71fpS-Ei8j79Hk=
00:51:57@518/warn - Profiling: No profile yet for GBTQ56CwYhgv5P7rBPgA6nhth4exXVM6sEb71CV6n0c=
00:51:57@518/warn - Profiling: No profile yet for tzYVwBb8PupFogMwVcZylvOk8GQRShMw2UFb0ncJWNk=
00:51:57@463/warn - SSU2: Unexpected message type 103 from 45.179.239.39:13923 of 83 bytes
00:51:57@463/warn - SSU2: Retry token is zero
00:51:57@981/warn - Addressbook: Not saving empty addressbook
00:51:57@975/error - HTTP Server: Error handling accept: Operation canceled
00:51:57@975/error - HTTP Server: Error handling accept: Operation canceled

@Vort
Copy link
Contributor

Vort commented Aug 11, 2024

Idk what i'm doing wrong

i2pd tries to search files in home directory of root user, it does not look right.

@anikey-from-i2p
Copy link

Disclaimer: i am not developer of i2pd.

To the user: you should change the data path, which is currently /root/.i2pd, to something that exists and is writable by the user. (Or if you are running i2pd as root, which i do NOT recommend, try create the directory /root/.i2pd). You can do this by changing the datadir configuration value. Config Documentation

To the developers: i think you should add a more detailed error message than just cannot open file. There is this thing errno, which contains some information about the last error, like No such file or directory or Permission denied, which would help some more troubleshoot. Boost asio probably includes something like this as well.

@r4sas
Copy link
Member

r4sas commented Aug 12, 2024

@nackedsnake OS? How are you starting it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants