View Issue Details

IDProjectCategoryView StatusLast Update
0003564GNUnethostlist daemonpublic2018-06-06 22:24
ReporterBart Polot Assigned Toch3 Due Date
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 12:37

manager   ~0008639

Wow. That does warrant some investigation. Very odd.

Bart Polot

2014-12-05 12:39

reporter   ~0008641

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

Christian Grothoff

2014-12-05 12: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 17:03

reporter   ~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 17:09

reporter   ~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 17: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 17:17

reporter   ~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 17: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 14:53

reporter   ~0012296

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

ch3

2017-07-02 15: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 15: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 17:59

reporter   ~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 14:23

reporter   ~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 ModifiedUsernameFieldChange
2014-12-04 12:38Bart PolotNew Issue
2014-12-04 12:38Bart PolotStatusnew => assigned
2014-12-04 12:38Bart PolotAssigned To => Bart Polot
2014-12-05 12:37Christian GrothoffNote Added: 0008639
2014-12-05 12:39Bart PolotNote Added: 0008641
2014-12-05 12:41Christian GrothoffNote Added: 0008642
2014-12-05 17:03Bart PolotNote Added: 0008645
2014-12-05 17:09Bart PolotNote Added: 0008646
2014-12-05 17:11Christian GrothoffNote Added: 0008647
2014-12-05 17:11Christian GrothoffSeveritymajor => minor
2014-12-05 17:11Christian GrothoffProduct Version => 0.10.1
2014-12-05 17:11Christian GrothoffTarget Version => 0.11.0pre66
2014-12-05 17:17Bart PolotNote Added: 0008648
2014-12-05 17:52Christian GrothoffNote Added: 0008649
2014-12-12 08:51Christian GrothoffTarget Version0.11.0pre66 =>
2015-03-20 20:42Christian GrothoffAssigned ToBart Polot => ch3
2015-03-20 20:42Christian GrothoffTarget Version => 0.11.0pre66
2015-05-21 09:36Christian GrothoffTarget Version0.11.0pre66 =>
2015-05-31 10:59Christian GrothoffRelationship addedhas duplicate 0003806
2017-07-02 14:53L29AhNote Added: 0012296
2017-07-02 15:26ch3Note Added: 0012297
2017-07-02 15:31L29AhNote Added: 0012298
2017-09-27 17:59nikitaNote Added: 0012454
2017-10-08 14:23nikitaStatusassigned => resolved
2017-10-08 14:23nikitaResolutionopen => fixed
2017-10-08 14:23nikitaNote Added: 0012468
2017-10-09 18:23Christian GrothoffResolutionfixed => unable to reproduce
2017-10-09 18:23Christian GrothoffFixed in Version => 0.11.0pre66
2017-10-09 18:23Christian GrothoffTarget Version => 0.11.0pre66
2018-06-06 22:24Christian GrothoffStatusresolved => closed