View Issue Details

IDProjectCategoryView StatusLast Update
0003564GNUnethostlist daemonpublic2018-06-07 00:24
ReporterBart Polot Assigned Toch3  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionunable to reproduce 
Product Version0.10.1 
Target Version0.11.0pre66Fixed in Version0.11.0pre66 
Summary0003564: Hostlist fails to download file
DescriptionWith task_download curl error "out of memory" (on Juluis' laptop)
TagsNo tags attached.

Relationships

has duplicate 0003806 closedJeff Burdges gnurl/curl can't handle ca-path or ca-bundles properly when using GNUTLS 

Activities

Christian Grothoff

2014-12-05 13:37

manager   ~0008639

Wow. That does warrant some investigation. Very odd.

Bart Polot

2014-12-05 13:39

manager   ~0008641

Julius will come aroud again today. Any suggestions on how to collect more info about it?

Christian Grothoff

2014-12-05 13:41

manager   ~0008642

I'd start by enabling VERBOSE on curl_easy_setopt. But this is an odd one to have, I don't think I've seen 'out of memory' in like forever.

Bart Polot

2014-12-05 18:03

manager   ~0008645

Seems to be a problem with the SSL connection to gnunet.io, the 'Out of memory' error is misleading. Host v10 works.

* Hostname was NOT found in DNS cache
* Adding handle: conn: 0xa88e20
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 1 (0xa88e20) send_pipe: 1, recv_pipe: 0
* Trying 216.139.213.94...
* Connected to gnunet.io (216.139.213.94) port 443 (#1)
* SSL: couldn't create a context: error:140A90A1:lib(20):func(169):reason(161)
* Closing connection 1
Dez 05 17:55:19-358151 hostlist-24328 WARNING Download of hostlist from `https://gnunet.io/hostlist' failed: `Out of memory'

* Hostname was NOT found in DNS cache
* Adding handle: conn: 0xa87ef0
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 2 (0xa87ef0) send_pipe: 1, recv_pipe: 0
* Trying 216.139.213.94...
* Connected to gnunet.io (216.139.213.94) port 443 (#2)
* SSL: couldn't create a context: error:140A90A1:lib(20):func(169):reason(161)
* Closing connection 2
Dez 05 17:55:51-389713 hostlist-24328 WARNING Download of hostlist from `https://gnunet.io/hostlist' failed: `Out of memory'

* Hostname was NOT found in DNS cache
* Adding handle: conn: 0xa86f90
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 3 (0xa86f90) send_pipe: 1, recv_pipe: 0
* Trying 131.159.74.67...
* Connected to v10.gnunet.org (131.159.74.67) port 80 (#3)
> GET /hostlist HTTP/1.1
User-Agent: GNUnet
Host: v10.gnunet.org
Accept: */*

< HTTP/1.1 200 OK
< Date: Fri, 05 Dec 2014 16:58:29 GMT
< Content-Length: 762
<
* Connection #3 to host v10.gnunet.org left intact

* Hostname was NOT found in DNS cache
* Adding handle: conn: 0xa7b790
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 4 (0xa7b790) send_pipe: 1, recv_pipe: 0
* Trying 131.159.74.67...
* Connected to v10.gnunet.org (131.159.74.67) port 80 (#4)
> GET /hostlist HTTP/1.1
User-Agent: GNUnet
Host: v10.gnunet.org
Accept: */*

< HTTP/1.1 200 OK
< Date: Fri, 05 Dec 2014 17:00:37 GMT
< Content-Length: 762
<
* Connection #4 to host v10.gnunet.org left intact

Bart Polot

2014-12-05 18:09

manager   ~0008646

FWIW, CLI curl works fine. Could it be that gnurl is the problem? I have no gnurl binary on my system...

Christian Grothoff

2014-12-05 18:11

manager   ~0008647

More likely it is different certificates being installed in the root store on the other system.

Regardless, first we should probably fix the error message. Are we checking the wrong errno / return value and/or using the wrong tostring conversion function?

Bart Polot

2014-12-05 18:17

manager   ~0008648

It looks fine, we use curl_easy_strerror (msg->data.result) to log the message.


Which certificates can be the problem? I'm not sure I follow. Chrome/Firefox/CLI-curl work fine, as does API-curl for v10. Does curl use different sources for API/CLI?

Christian Grothoff

2014-12-05 18:52

manager   ~0008649

I don't know, it could also be a cipher suite compatibility issue. Just throwing out ideas here.

L29Ah

2017-07-02 16:53

reporter   ~0012296

Got hit by this on the gnunet git and gnurl-7.54.1.

ch3

2017-07-02 17:26

developer   ~0012297

Thanks, L29Ah.
Do you have some more information on your setup? (Operating system, other information about your build, ...)

L29Ah

2017-07-02 17:31

reporter   ~0012298

Gentoo Linux. What kind of information? I've just installed it and made a pretty much default config using gnunet-config, then ran gnunet-arm -s and that's it.

nikita

2017-09-27 19:59

developer   ~0012454

> Gentoo Linux. What kind of information? I've just installed it and made a pretty much default config using gnunet-config, then ran gnunet-arm -s and that's it.


There is no "default" on Gentoo, that's what makes it very hard (in other words: impossible) to debug reliable what exactly you have.

Some developers are using Gentoo and would be able to help. Please provide at least the output of

emerge --info

and the ebuild information related to gnurl. Please note that meanwhile gnurl-7.55.1-4 has been released (the ebuild might not be up to date).

You should also provide information about the git commit your gnunet is on.

nikita

2017-10-08 16:23

developer   ~0012468

I'm closing this issue, if the more recent reporter continues to have the problem they should open a new issue with more details.

Issue History

Date Modified Username Field Change
2014-12-04 13:38 Bart Polot New Issue
2014-12-04 13:38 Bart Polot Status new => assigned
2014-12-04 13:38 Bart Polot Assigned To => Bart Polot
2014-12-05 13:37 Christian Grothoff Note Added: 0008639
2014-12-05 13:39 Bart Polot Note Added: 0008641
2014-12-05 13:41 Christian Grothoff Note Added: 0008642
2014-12-05 18:03 Bart Polot Note Added: 0008645
2014-12-05 18:09 Bart Polot Note Added: 0008646
2014-12-05 18:11 Christian Grothoff Note Added: 0008647
2014-12-05 18:11 Christian Grothoff Severity major => minor
2014-12-05 18:11 Christian Grothoff Product Version => 0.10.1
2014-12-05 18:11 Christian Grothoff Target Version => 0.11.0pre66
2014-12-05 18:17 Bart Polot Note Added: 0008648
2014-12-05 18:52 Christian Grothoff Note Added: 0008649
2014-12-12 09:51 Christian Grothoff Target Version 0.11.0pre66 =>
2015-03-20 21:42 Christian Grothoff Assigned To Bart Polot => ch3
2015-03-20 21:42 Christian Grothoff Target Version => 0.11.0pre66
2015-05-21 11:36 Christian Grothoff Target Version 0.11.0pre66 =>
2015-05-31 12:59 Christian Grothoff Relationship added has duplicate 0003806
2017-07-02 16:53 L29Ah Note Added: 0012296
2017-07-02 17:26 ch3 Note Added: 0012297
2017-07-02 17:31 L29Ah Note Added: 0012298
2017-09-27 19:59 nikita Note Added: 0012454
2017-10-08 16:23 nikita Status assigned => resolved
2017-10-08 16:23 nikita Resolution open => fixed
2017-10-08 16:23 nikita Note Added: 0012468
2017-10-09 20:23 Christian Grothoff Resolution fixed => unable to reproduce
2017-10-09 20:23 Christian Grothoff Fixed in Version => 0.11.0pre66
2017-10-09 20:23 Christian Grothoff Target Version => 0.11.0pre66
2018-06-07 00:24 Christian Grothoff Status resolved => closed