telehash/telehash-js

Issue running on ubuntu

Opened this issue · 12 comments

Hi
So I had problems getting libSodium to work as it kept throwing
error while loading shared libraries: libsodium.so.4 when I tried to run seed.js

I eventually worked around this by doing a separate sodium standard build that put the file into /usr/local/lib

But now I am recieving
CS3a failed to load { [Error: Cannot find module './tobuffer'] code: 'MODULE_NOT_FOUND' }

Is there a file missing from the CS3a module?

Thanks

Can you still get a stack trace for both? It should fallback gracefully in either case, I'll try to reproduce and make sure :)

On Mar 14, 2014, at 7:06 PM, tearmann notifications@github.com wrote:

Hi
So I had problems getting libSodium to work as it kept throwing
error while loading shared libraries: libsodium.so.4 when I tried to run seed.js

I eventually worked around this by doing a separate sodium standard build that put the file into /usr/local/lib

But now I am recieving

CS3a failed to load {
[Error: Cannot find module './tobuffer']
code: 'MODULE_NOT_FOUND' }

Is there a file missing from the CS3a module?

Thanks


Reply to this email directly or view it on GitHub.

OK so it's a bug with sodium
The package in npm has a bug where the filename is toBuffer.js instead of tobuffer.js required in the code.
I will raise a pull with them and reference it here.
BTW I ran the code again with the -v option got more message info but the error was still the same as I posted previously. Do you want me to raise an issue for better error logging?

can you run it w/ the -v and post the full output on this issue? I can probably fix it here and add better logging too :)

CS3a failed to load { [Error: Cannot find module './tobuffer'] code: 'MODULE_NOT_FOUND' }
adding new path 0 {"type":"ipv4","ip":"208.68.164.253","port":42424}
89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de ipv4 {"type":"ipv4","ip":"208.68.164.253","port":42424}
adding new path 1 {"type":"ipv6","ip":"2605:da00:5222:5269:230:48ff:fe35:6572","port":42424}
89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de ipv6 {"type":"ipv6","ip":"2605:da00:5222:5269:230:48ff:fe35:6572","port":42424}
adding new path 2 {"type":"http","http":"http://208.68.164.253:42424"}
89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de http {"type":"http","http":"http://208.68.164.253:42424"}
adding new path 0 {"type":"ipv4","ip":"208.126.199.195","port":42424}
f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471 ipv4 {"type":"ipv4","ip":"208.126.199.195","port":42424}
adding new path 1 {"type":"ipv6","ip":"2001:470:c0a6:3::10","port":42424}
f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471 ipv6 {"type":"ipv6","ip":"2001:470:c0a6:3::10","port":42424}
adding new path 2 {"type":"http","http":"http://208.126.199.195:42424"}
f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471 http {"type":"http","http":"http://208.126.199.195:42424"}
<<<< Sat Mar 15 2014 23:04:46 GMT+0000 (GMT) 186 lan,,, undefined
new unreliable channel 89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de link 2
SEND link {"seed":true,"see":[],"type":"link","c":2}
alive failthrough undefined []
<<<< Sat Mar 15 2014 23:04:46 GMT+0000 (GMT) 1094 ipv4,208.68.164.253,42424, 89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de
<<<< Sat Mar 15 2014 23:04:46 GMT+0000 (GMT) 1094 ipv6,2605:da00:5222:5269:230:48ff:fe35:6572,42424, 89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de
<<<< Sat Mar 15 2014 23:04:46 GMT+0000 (GMT) 1094 http,,, 89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de
seek starting with []
SEEK LOOP []
new unreliable channel f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471 link 2
SEND link {"seed":true,"see":[],"type":"link","c":2}
alive failthrough undefined []
<<<< Sat Mar 15 2014 23:04:46 GMT+0000 (GMT) 1094 ipv4,208.126.199.195,42424, f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471
<<<< Sat Mar 15 2014 23:04:46 GMT+0000 (GMT) 1094 ipv6,2001:470:c0a6:3::10,42424, f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471
<<<< Sat Mar 15 2014 23:04:46 GMT+0000 (GMT) 1094 http,,, f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471
seek starting with []
SEEK LOOP []

Sat Mar 15 2014 23:04:46 GMT+0000 (GMT) 186 undefined undefined ipv4,172.17.42.1,42424,
Sat Mar 15 2014 23:04:46 GMT+0000 (GMT) 186 undefined undefined ipv4,192.168.0.5,42424,
Sat Mar 15 2014 23:04:46 GMT+0000 (GMT) 186 undefined undefined ipv4,192.168.0.5,42424,
Sat Mar 15 2014 23:04:47 GMT+0000 (GMT) 1094 undefined undefined ipv4,208.126.199.195,42424,
couldn't decode open { err:
[TypeError: Property 'length' of object 0��"0
� _�H��
����\00����\000��
����\00�e��z4r�ܥ�Oa7|>�Ma�
==A���v�_Q�k���WO8�ʋmV���p����7���?Uٽ�bZ��
�����y�ôdidž�yY������[��e\H����hH��E7NsJ�κ�7��Zw���/���-����\�=��[l�t�q�_�e����|b��.�䀛-���;} ��t٨��_BC�<�0q����<�6�Si��_�jE��[�H e.T�\��-���| z���"Z�B2s�P�T�F$4A�jR��_�^̧�ʭ��7(o��o���\00� is not a function] } Sat Mar 15 2014 23:04:47 GMT+0000 (GMT) 1094 undefined undefined ipv4,208.68.164.253,42424, couldn't decode open { err: [TypeError: Property 'length' of object 0��"0 � _�H�� ����\00����\000�� ����\00��a�-�e�k����y�D���33����ωͩ�/E���J�m��!\���,R3�{�{]6��e!�����Ή�@��L����/w1P�ט@c�v�Ϻ�q���2K�(��(
|l����z�\00��+��6��7� �G�bG�� !Y��SVb�s�f�+����0"� �b��FWR���X�Ic�����Ƒ����V������l{@��e�접�&���A��7��DXV��^��-5���JF�!�/�)��M��wM��ӏ=��ֹ ���=K���[��Y���\00� is not a function] } SEND link {"seed":true,"see":[],"type":"link","c":2} alive failthrough 1394924686650 [] <<<< Sat Mar 15 2014 23:04:47 GMT+0000 (GMT) 1094 ipv4,208.68.164.253,42424, 89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de <<<< Sat Mar 15 2014 23:04:47 GMT+0000 (GMT) 1094 ipv6,2605:da00:5222:5269:230:48ff:fe35:6572,42424, 89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de <<<< Sat Mar 15 2014 23:04:47 GMT+0000 (GMT) 1094 http,,, 89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de SEND link {"seed":true,"see":[],"type":"link","c":2} alive failthrough 1394924686751 [] <<<< Sat Mar 15 2014 23:04:47 GMT+0000 (GMT) 1094 ipv4,208.126.199.195,42424, f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471 <<<< Sat Mar 15 2014 23:04:47 GMT+0000 (GMT) 1094 ipv6,2001:470:c0a6:3::10,42424, f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471 <<<< Sat Mar 15 2014 23:04:47 GMT+0000 (GMT) 1094 http,,, f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471 Sat Mar 15 2014 23:04:47 GMT+0000 (GMT) 1094 undefined undefined http,,, couldn't decode open { err: [TypeError: Property 'length' of object 0��"0 � *�H�� ����\00����\000�� ����\00�e��z4r�ܥ�Oa~7|>�Ma� ==A���v�_Q�k���WO8�ʋmV���p����7���?Uٽ�bZ��~������y�ôdidž�yY������[��e\H����hH��E7NsJ�κ�7��Zw���/���-����\�=��[l�t�q�_�e����|b��.�䀛-���;} ��t٨��_BC�<�0q����<�6�Si��_�jE��[�H e.T�\��-���| z���"Z�B2s�P�T�F$4A�jR��_�^̧�ʭ��7(o��o���\00� is not a function] }
Sat Mar 15 2014 23:04:47 GMT+0000 (GMT) 255 undefined undefined http,,,
unknown line received 6b6e6c41b190f582e39f835b75449621 {"type":"http","http":"http://208.126.199.195:42424","json":{"type":"http","http":"http://208.126.199.195:42424"},"priority":0,"lastOut":1394924687753}
Sat Mar 15 2014 23:04:47 GMT+0000 (GMT) 259 undefined undefined ipv4,208.126.199.195,42424,
unknown line received 6b6e6c41b190f582e39f835b75449621 {"type":"ipv4","ip":"208.126.199.195","port":42424}
Sat Mar 15 2014 23:04:47 GMT+0000 (GMT) 1094 undefined undefined ipv4,208.68.164.253,42424,
couldn't decode open { err:
[TypeError: Property 'length' of object 0��"0
� _�H��
����\00����\000��
����\00��a�-�e�k����y�D���33����ωͩ�/E���J�m��!\���,R3�{�{]6��e!�����Ή�@��L����/w1P�ט@c�v�~Ϻ�q���2K�(��( |l����z�\00��+��6��7� �G�bG�� !Y��SVb�s�f�+����0"�
�b��FWR���X�Ic�����Ƒ����V������l{@��e�접�&���A��7��DXV��^��-5���JF�!�/�)��M��wM��ӏ=��ֹ ���=K���[��Y���\00� is not a function] }
Sat Mar 15 2014 23:04:48 GMT+0000 (GMT) 1094 undefined undefined http,,,
couldn't decode open { err:
[TypeError: Property 'length' of object 0��"0
� *�H��
����\00����\000��
����\00�e��z4r�ܥ�Oa
7|>�Ma�
==A���v�_Q�k���WO8�ʋmV���p����7���?Uٽ�bZ�������y�ôdidž�yY������[��e\H����hH��E7NsJ�κ�7��Zw���/���-����\�=��[l�t�q�_�e����|b��.�䀛-���;} ��t٨��_BC�<�0q����<�6�Si��_�jE��[�H e.T�\��-���| z���"Z�B2s�P�T�F$4A�jR��_�^̧�ʭ��7(o��o���\00� is not a function] } Sat Mar 15 2014 23:04:48 GMT+0000 (GMT) 1094 undefined undefined ipv4,208.126.199.195,42424, couldn't decode open { err: [TypeError: Property 'length' of object 0��"0 � _�H�� ����\00����\000�� ����\00�e��z4r�ܥ�Oa~7|>�Ma� ==A���v�_Q�k���WO8�ʋmV���p����7���?Uٽ�bZ��~������y�ôdidž�yY������[��e\H����hH��E7NsJ�κ�7��Zw���/���-����\�=��[l�t�q�_�e����|b��.�䀛-���;} ��t٨��_BC�<�0q����<�6�Si��_�jE��[�H e.T�\��-���| z���"Z�B2s�P�T�F$4A�jR��_�^̧�ʭ��7(o��o���\00� is not a function] }
Sat Mar 15 2014 23:04:48 GMT+0000 (GMT) 257 undefined undefined ipv4,208.68.164.253,42424,
unknown line received e2a461e234578b0f63431436e94a856a {"type":"ipv4","ip":"208.68.164.253","port":42424}
Sat Mar 15 2014 23:04:48 GMT+0000 (GMT) 1094 undefined undefined http,,,
couldn't decode open { err:
[TypeError: Property 'length' of object 0��"0
� _�H��
����\00����\000��
����\00��a�-�e�k����y�D���33����ωͩ�/E���J�m��!\���,R3�{�{]6��e!�����Ή�@��L����/w1P�ט@c�v�~Ϻ�q���2K�(��( |l����z�\00��+��6��7� �G�bG�� !Y��SVb�s�f�+����0"�
�b��FWR���X�Ic�����Ƒ����V������l{@��e�접�&���A��7��DXV��^��-5���JF�!�/�)��M��wM��ӏ=��ֹ ���=K���[��Y���\00� is not a function] }
Sat Mar 15 2014 23:04:48 GMT+0000 (GMT) 253 undefined undefined http,,,
unknown line received e2a461e234578b0f63431436e94a856a {"type":"http","http":"http://208.68.164.253:42424","json":{"type":"http","http":"http://208.68.164.253:42424"},"priority":0,"lastOut":1394924687651}
Sat Mar 15 2014 23:04:48 GMT+0000 (GMT) 1094 undefined undefined http,,,
couldn't decode open { err:
[TypeError: Property 'length' of object 0��"0
� *�H��
����\00����\000��
����\00��a�-�e�k����y�D���33����ωͩ�/E���J�m��!\���,R3�{�{]6��e!�����Ή�@��L����/w1P�ט@c�v�~Ϻ�q���2K�(��( |l����z�\00��+��6��7� �G�bG�� !Y��SVb�s�f�+����0"�
�b��FWR���X�Ic�����Ƒ����V������l{@��e�접�&���A��7��DXV��^��-5���JF�!�/�)��M��wM��ӏ=��ֹ ���=K���[��Y���\00� is not a function] }
SEND link {"seed":true,"see":[],"type":"link","c":2}
alive failthrough 1394924686650 []
<<<< Sat Mar 15 2014 23:04:49 GMT+0000 (GMT) 1094 ipv4,208.68.164.253,42424, 89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de
<<<< Sat Mar 15 2014 23:04:49 GMT+0000 (GMT) 1094 ipv6,2605:da00:5222:5269:230:48ff:fe35:6572,42424, 89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de
<<<< Sat Mar 15 2014 23:04:49 GMT+0000 (GMT) 1094 http,,, 89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de
SEND link {"seed":true,"see":[],"type":"link","c":2}
alive failthrough 1394924686751 []
<<<< Sat Mar 15 2014 23:04:49 GMT+0000 (GMT) 1094 ipv4,208.126.199.195,42424, f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471
<<<< Sat Mar 15 2014 23:04:49 GMT+0000 (GMT) 1094 ipv6,2001:470:c0a6:3::10,42424, f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471
<<<< Sat Mar 15 2014 23:04:49 GMT+0000 (GMT) 1094 http,,, f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471
Sat Mar 15 2014 23:04:49 GMT+0000 (GMT) 1094 undefined undefined http,,,
couldn't decode open { err:
[TypeError: Property 'length' of object 0��"0
� *�H��
����\00����\000��
����\00��a�-�e�k����y�D���33����ωͩ�/E���J�m��!\���,R3�{�{]6��e!�����Ή�@��L����/w1P�ט@c�v�~Ϻ�q���2K�(��( |l����z�\00��+��6��7� �G�bG�� !Y��SVb�s�f�+����0"�
�b��FWR���X�Ic�����Ƒ����V������l{@��e�접�&���A��7��DXV��^��-5���JF�!�/�)��M��wM��ӏ=��ֹ ���=K���[��Y���\00� is not a function] }
Sat Mar 15 2014 23:04:50 GMT+0000 (GMT) 1094 undefined undefined ipv4,208.68.164.253,42424,
couldn't decode open { err:
[TypeError: Property 'length' of object 0��"0
� *�H��
����\00����\000��
����\00��a�-�e�k����y�D���33����ωͩ�/E���J�m��!\���,R3�{�{]6��e!�����Ή�@��L����/w1P�ט@c�v�~Ϻ�q���2K�(��( |l����z�\00��+��6��7� �G�bG�� !Y��SVb�s�f�+����0"�
�b��FWR���X�Ic�����Ƒ����V������l{@��e�접�&���A��7��DXV��^��-5���JF�!�/�)��M��wM��ӏ=��ֹ ���=K���[��Y���\00� is not a function] }
Sat Mar 15 2014 23:04:50 GMT+0000 (GMT) 1094 undefined undefined ipv4,208.126.199.195,42424,
couldn't decode open { err:
[TypeError: Property 'length' of object 0��"0
� *�H��
����\00����\000��
����\00�e��z4r�ܥ�Oa
7|>�Ma�
==A���v�_Q�k���WO8�ʋmV���p����7���?Uٽ�bZ�������y�ôdidž�yY������[��e\H����hH��E7NsJ�κ�7��Zw���/���-����\�=��[l�t�q�_�e����|b��.�䀛-���;} ��t٨��_BC�<�0q����<�6�Si��_�jE��[�H e.T�\��-���| z���"Z�B2s�P�T�F$4A�jR��_�^̧�ʭ��7(o��o���\00� is not a function] } Sat Mar 15 2014 23:04:50 GMT+0000 (GMT) 1094 undefined undefined http,,, couldn't decode open { err: [TypeError: Property 'length' of object 0��"0 � _�H�� ����\00����\000�� ����\00�e��z4r�ܥ�Oa~7|>�Ma� ==A���v�_Q�k���WO8�ʋmV���p����7���?Uٽ�bZ��~������y�ôdidž�yY������[��e\H����hH��E7NsJ�κ�7��Zw���/���-����\�=��[l�t�q�_�e����|b��.�䀛-���;} ��t٨��_BC�<�0q����<�6�Si��_�jE��[�H e.T�\��-���| z���"Z�B2s�P�T�F$4A�jR��_�^̧�ʭ��7(o��o���\00� is not a function] }
SEND link {"seed":true,"see":[],"type":"link","c":2}
alive failthrough 1394924686650 []
<<<< Sat Mar 15 2014 23:04:53 GMT+0000 (GMT) 1094 ipv4,208.68.164.253,42424, 89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de
<<<< Sat Mar 15 2014 23:04:53 GMT+0000 (GMT) 1094 ipv6,2605:da00:5222:5269:230:48ff:fe35:6572,42424, 89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de
<<<< Sat Mar 15 2014 23:04:53 GMT+0000 (GMT) 1094 http,,, 89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de
seek starting with []
SEEK LOOP []
SEND link {"seed":true,"see":[],"type":"link","c":2}
alive failthrough 1394924686751 []
<<<< Sat Mar 15 2014 23:04:53 GMT+0000 (GMT) 1094 ipv4,208.126.199.195,42424, f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471
<<<< Sat Mar 15 2014 23:04:53 GMT+0000 (GMT) 1094 ipv6,2001:470:c0a6:3::10,42424, f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471
<<<< Sat Mar 15 2014 23:04:53 GMT+0000 (GMT) 1094 http,,, f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471
seek starting with []
SEEK LOOP []
Sat Mar 15 2014 23:04:54 GMT+0000 (GMT) 1094 undefined undefined ipv4,208.68.164.253,42424,
couldn't decode open { err:
[TypeError: Property 'length' of object 0��"0
� _�H��
����\00����\000��
����\00��a�-�e�k����y�D���33����ωͩ�/E���J�m��!\���,R3�{�{]6��e!�����Ή�@��L����/w1P�ט@c�v�~Ϻ�q���2K�(��( |l����z�\00��+��6��7� �G�bG�� !Y��SVb�s�f�+����0"�
�b��FWR���X�Ic�����Ƒ����V������l{@��e�접�&���A��7��DXV��^��-5���JF�!�/�)��M��wM��ӏ=��ֹ ���=K���[��Y���\00� is not a function] }
Sat Mar 15 2014 23:04:54 GMT+0000 (GMT) 1094 undefined undefined http,,,
couldn't decode open { err:
[TypeError: Property 'length' of object 0��"0
� *�H��
����\00����\000��
����\00��a�-�e�k����y�D���33����ωͩ�/E���J�m��!\���,R3�{�{]6��e!�����Ή�@��L����/w1P�ט@c�v�~Ϻ�q���2K�(��( |l����z�\00��+��6��7� �G�bG�� !Y��SVb�s�f�+����0"�
�b��FWR���X�Ic�����Ƒ����V������l{@��e�접�&���A��7��DXV��^��-5���JF�!�/�)��M��wM��ӏ=��ֹ ���=K���[��Y���\00� is not a function] }
Sat Mar 15 2014 23:04:54 GMT+0000 (GMT) 1094 undefined undefined http,,,
couldn't decode open { err:
[TypeError: Property 'length' of object 0��"0
� *�H��
����\00����\000��
����\00�e��z4r�ܥ�Oa
7|>�Ma�
==A���v�_Q�k���WO8�ʋmV���p����7���?Uٽ�bZ��~������y�ôdidž�yY������[��e\H����hH��E7NsJ�κ�7��Zw���/���-����\�=��[l�t�q�_�e����|b��.�䀛-���;} ��t٨��_BC�<�0q����<�6�Si��_�jE��[�H e.T�\��-���| z���"Z�B2s�P�T�F$4A�jR��_�^̧�ʭ��7(o��o���\00� is not a function] } Sat Mar 15 2014 23:04:54 GMT+0000 (GMT) 1094 undefined undefined ipv4,208.126.199.195,42424, couldn't decode open { err: [TypeError: Property 'length' of object 0��"0 � _�H�� ����\00����\000�� ����\00�e��z4r�ܥ�Oa~7|>�Ma� ==A���v�_Q�k���WO8�ʋmV���p����7���?Uٽ�bZ��~������y�ôdidž�yY������[��e\H����hH��E7NsJ�κ�7��Zw���/���-����\�=��[l�t�q�_�e����|b��.�䀛-���;} ��t٨��_BC�<�0q����<�6�Si��_�jE��[�H e.T�\��-���| z���"Z�B2s�P�T�F$4A�jR��_�^̧�ʭ��7(o��o���\00� is not a function] }

Can you try pulling from the node-telehash repo and npm update to make sure everything is updated? I can't reproduce the length error, and am not sure if it was the few fixes in the last day or so?

So that still gives me the same ./tobuffer error but the length error is gone and I get
connected to 2 mesh seed peers.
I think we are done here if issues 9 on sodium closes :)

CS3a failed to load { [Error: Cannot find module './tobuffer'] code: 'MODULE_NOT_FOUND' }
89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de ipv4 {"type":"ipv4","ip":"208.68.164.253","port":42424}
89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de ipv6 {"type":"ipv6","ip":"2605:da00:5222:5269:230:48ff:fe35:6572","port":42424}
89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de http {"type":"http","http":"http://208.68.164.253:42424"}
f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471 ipv4 {"type":"ipv4","ip":"208.126.199.195","port":42424}
f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471 ipv6 {"type":"ipv6","ip":"2001:470:c0a6:3::10","port":42424}
f50f423ce7f94fe98cdd09268c7e57001aed300b23020840a84a881c76739471 http {"type":"http","http":"http://208.126.199.195:42424"}
bouncing unknown channel/type { seed: true, c: 14 }
bouncing unknown channel/type { seed: true, c: 9 }
PATHS { http: { type: 'http', port: 42424, http: undefined },
  lan4: { type: 'lan4', ip: '172.17.42.1', port: 42424 },
  lan6: { type: 'lan6', ip: 'fe80::c060:1dff:fe5f:1146', port: 42424 } }
{
  "cb7162c0dad56e07eda3acf8e523b5eb2e821d5313c6f10189e308cadf68de93": {
    "paths": [
      {
        "type": "ipv4",
        "ip": "172.17.42.1",
        "port": 42424
      },
      {
        "type": "ipv6",
        "ip": "fe80::c060:1dff:fe5f:1146",
        "port": 42424
      },
      {
        "type": "http",
        "http": "http://172.17.42.1:42424"
      }
    ],
    "parts": {
      "2a": "dc224b4493c82723638caa0827a98fbfe9c0e6b24ad2ae1fac44eebb17d55fd9",
      "1a": "c86b7867d978adc50f4fec00866c098eb456c257"
    },
    "keys": {
      "2a": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArXVM8nEpOYlWshaaYBoMASoozygjid/wwjUUtZpBOo0dDHv0FE5+AQ7CcF8iKwagw73w4SDX/7KWHdpSuWBrohf+nNVQzfa3YnnZC5MCD165NlXQAq4W7jdbwJ5Q9IEd0fBLNPO7CIVCs2kUHnCKiOZ14WDCR44+qDHvewJcgxbS3sdMBhQwW5ATDvEFak3ZQXcQJS2OgaPgq9jAqa77rel7kkwYPeEYN2iRjH6OZX4nxqCMAFqOdL2O2roG184hifgtJKY6kCJUOBCDoz75jd9SZWjrmC+4kVhy3Kk0siIDyutMkiPqL9HtyX3KKO99eOGOxNgca7OEvpcCB321BwIDAQAB",
      "1a": "vwZb2Ykj87RgeYPzoPfNj2zWGDjaKwe/A6lmgWuKNs4CeP4u4/ZBKA=="
    },
    "bridge": true
  }
}
connected to 2 mesh seed peers
old channel id 11 17
b819cc62d95ea1d41684a7b86f5e043e302ed0ec5a1cd8999741b641f11b3271 ipv4 {"type":"ipv4","ip":"162.243.1.152","port":42424}
b819cc62d95ea1d41684a7b86f5e043e302ed0ec5a1cd8999741b641f11b3271 relay {"type":"relay","relay":"89a4cbc6c27eb913c1bcaf06bac2d8b872c7cbef626b35b6d7eaf993590d37de"}

Yep, awesome!!! Also, if it doesn't close by tomorrow, I may just fork node sodium and point to a git dependency instead of the npm ver for cs3a :)

Sounds reasonable
Looking at the commit rate on the repo I am not holding my breath.
Shame really as it needs some extra-love to get the windows build together too.

Can I ask why you use it if there is a fallback anyway?

The fallback is just lesser crypto, so it's preferable to have sodium working whenever possible, and when we get closer to stable then definitely want it working well. I've been wanting to set up a fallback to https://github.com/tonyg/js-nacl, or find some way to merge the two so it presents the same interface to node and browserify.

If you're up for forking and maintaining a more stable version and/or heading down that path, I'm totally happy to point to your repo instead of the npm one :)

K point to https://github.com/tearmann/node-sodium for now.

Would be nice to have the node version abstraction such as https://github.com/rvagg/nan as well as a safer windows build.

Heh, tried pointing to yours, errors on osx :) Totally agree on the compiled mess w/ node :/

make sodium
cd libsodium;
./autogen.sh;
./configure;
make
/bin/bash: line 0: cd: libsodium: No such file or directory
/bin/bash: ./autogen.sh: No such file or directory
/bin/bash: ./configure: No such file or directory
Run make test-cov for coverage reports
Mocha and Instanbul Node.js must be installed globally
/bin/bash: mocha: command not found
make[1]: *** [test] Error 127
make: *** [sodium] Error 2
npm WARN optional dep failed, continuing sodium@1.0.9

@quartzjer closing as sodium 1.0.11 in NPM now builds without submodule support on Linux and Mac with Windows coming soom.