Re: [Yxa-devel] Status
Hi Manuel, I was wondering the same for some time. I will follow this thread for the replies from devs. CGS On Fri, Aug 31, 2012 at 1:42 PM, Manuel A. Rubio Bombadil bomba...@bosqueviejo.net wrote: Hi to all, I'm new in the list, I've reviewed the YXA code and I'd like to know the project activity, is ready for production? Thanks. Manuel Rubio. __**_ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/**listinfo/yxa-develhttps://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel
Re: [Yxa-devel] Status
I tried a test, but firstly it needs to be brought up to the latest version of Erlang. R13B01 is obsolete version and many things are changed in Erlang since then. CGS On Fri, Aug 31, 2012 at 2:01 PM, Manuel A. Rubio Bombadil bomba...@bosqueviejo.net wrote: ** And ... are you usign YXA in some areas? dev? production? test? El 2012-08-31 13:54, Mikael Magnusson escribió: On 08/31/2012 01:46 PM, CGS wrote: Hi Manuel, I was wondering the same for some time. I will follow this thread for the replies from devs. CGS I am not active in the project currently, and I don't think the project is active at KTH or Stockholm University. People at KTH started the project, and people at Stockholm University continued after them. But now the project seems rather inactive. /Mikael On Fri, Aug 31, 2012 at 1:42 PM, Manuel A. Rubio Bombadil bomba...@bosqueviejo.net wrote: Hi to all, I'm new in the list, I've reviewed the YXA code and I'd like to know the project activity, is ready for production? Thanks. Manuel Rubio. ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing listyxa-de...@lists.su.sehttps://lists.su.se/mailman/listinfo/yxa-devel -- Manuel A. Rubio Bombadil Usuario de GNU/Linux #323628 acorde a http://counter.li.org/ Técnico en Admin. Sistemas Informáticos ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel
Re: [Yxa-devel] Status
On 08/31/2012 02:13 PM, CGS wrote: I tried a test, but firstly it needs to be brought up to the latest version of Erlang. R13B01 is obsolete version and many things are changed in Erlang since then. CGS There is a branch for R14, maybe it works better with the latest Erlang version. https://github.com/mikma/yxa/tree/otp-r14a On Fri, Aug 31, 2012 at 2:01 PM, Manuel A. Rubio Bombadil bomba...@bosqueviejo.net mailto:bomba...@bosqueviejo.net wrote: And ... are you usign YXA in some areas? dev? production? test? El 2012-08-31 13:54, Mikael Magnusson escribió: On 08/31/2012 01:46 PM, CGS wrote: Hi Manuel, I was wondering the same for some time. I will follow this thread for the replies from devs. CGS I am not active in the project currently, and I don't think the project is active at KTH or Stockholm University. People at KTH started the project, and people at Stockholm University continued after them. But now the project seems rather inactive. /Mikael On Fri, Aug 31, 2012 at 1:42 PM, Manuel A. Rubio Bombadil bomba...@bosqueviejo.net mailto:bomba...@bosqueviejo.net wrote: Hi to all, I'm new in the list, I've reviewed the YXA code and I'd like to know the project activity, is ready for production? Thanks. Manuel Rubio. ___ Yxa-devel mailing list Yxa-devel@lists.su.se mailto:Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se mailto:Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel -- Manuel A. Rubio Bombadil Usuario de GNU/Linux #323628 acorde ahttp://counter.li.org/ Técnico en Admin. Sistemas Informáticos ___ Yxa-devel mailing list Yxa-devel@lists.su.se mailto:Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel
Re: [Yxa-devel] Status
Just tried it and I got this with Erlang R15B01 (erts-5.9.1): configure: error: 5.9.1 found, 5.7.2 (Erlang/OTP R13B-1) required If I will change the configure, do you think it won't affect the code further? CGS On Fri, Aug 31, 2012 at 2:16 PM, Mikael Magnusson mikma...@gmail.comwrote: On 08/31/2012 02:13 PM, CGS wrote: I tried a test, but firstly it needs to be brought up to the latest version of Erlang. R13B01 is obsolete version and many things are changed in Erlang since then. CGS There is a branch for R14, maybe it works better with the latest Erlang version. https://github.com/mikma/yxa/tree/otp-r14a On Fri, Aug 31, 2012 at 2:01 PM, Manuel A. Rubio Bombadil bomba...@bosqueviejo.net wrote: And ... are you usign YXA in some areas? dev? production? test? El 2012-08-31 13:54, Mikael Magnusson escribió: On 08/31/2012 01:46 PM, CGS wrote: Hi Manuel, I was wondering the same for some time. I will follow this thread for the replies from devs. CGS I am not active in the project currently, and I don't think the project is active at KTH or Stockholm University. People at KTH started the project, and people at Stockholm University continued after them. But now the project seems rather inactive. /Mikael On Fri, Aug 31, 2012 at 1:42 PM, Manuel A. Rubio Bombadil bomba...@bosqueviejo.net wrote: Hi to all, I'm new in the list, I've reviewed the YXA code and I'd like to know the project activity, is ready for production? Thanks. Manuel Rubio. ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing listyxa-de...@lists.su.sehttps://lists.su.se/mailman/listinfo/yxa-devel -- Manuel A. Rubio Bombadil Usuario de GNU/Linux #323628 acorde a http://counter.li.org/ Técnico en Admin. Sistemas Informáticos ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing listyxa-de...@lists.su.sehttps://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel
Re: [Yxa-devel] Status
On 08/31/2012 02:24 PM, CGS wrote: Just tried it and I got this with Erlang R15B01 (erts-5.9.1): configure: error: 5.9.1 found, 5.7.2 (Erlang/OTP R13B-1) required If I will change the configure, do you think it won't affect the code further? There should be a parameter to configure that can be used to disable that test, try it. /Mikael CGS On Fri, Aug 31, 2012 at 2:16 PM, Mikael Magnusson mikma...@gmail.com mailto:mikma...@gmail.com wrote: On 08/31/2012 02:13 PM, CGS wrote: I tried a test, but firstly it needs to be brought up to the latest version of Erlang. R13B01 is obsolete version and many things are changed in Erlang since then. CGS There is a branch for R14, maybe it works better with the latest Erlang version. https://github.com/mikma/yxa/tree/otp-r14a On Fri, Aug 31, 2012 at 2:01 PM, Manuel A. Rubio Bombadil bomba...@bosqueviejo.net mailto:bomba...@bosqueviejo.net wrote: And ... are you usign YXA in some areas? dev? production? test? El 2012-08-31 13:54, Mikael Magnusson escribió: On 08/31/2012 01:46 PM, CGS wrote: Hi Manuel, I was wondering the same for some time. I will follow this thread for the replies from devs. CGS I am not active in the project currently, and I don't think the project is active at KTH or Stockholm University. People at KTH started the project, and people at Stockholm University continued after them. But now the project seems rather inactive. /Mikael On Fri, Aug 31, 2012 at 1:42 PM, Manuel A. Rubio Bombadil bomba...@bosqueviejo.net mailto:bomba...@bosqueviejo.net wrote: Hi to all, I'm new in the list, I've reviewed the YXA code and I'd like to know the project activity, is ready for production? Thanks. Manuel Rubio. ___ Yxa-devel mailing list Yxa-devel@lists.su.se mailto:Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se mailto:Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel -- Manuel A. Rubio Bombadil Usuario de GNU/Linux #323628 acorde ahttp://counter.li.org/ Técnico en Admin. Sistemas Informáticos ___ Yxa-devel mailing list Yxa-devel@lists.su.se mailto:Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se mailto:Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se mailto:Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel
Re: [Yxa-devel] Status
On 08/31/2012 02:01 PM, Manuel A. Rubio Bombadil wrote: And ... are you usign YXA in some areas? dev? production? test? I have used YXA for connecting to VoIP services. But most recently I used it as a production presence server with Twinkle as clients. Unfortunately the YXA presence server sometimes would crash without being able to recover and needed manual restart. As a result a replaced it with another presence server. I guess the presence server isn't as well tested as the other parts since I think Yxa has mostly been used for VoIP. /Mikael El 2012-08-31 13:54, Mikael Magnusson escribió: On 08/31/2012 01:46 PM, CGS wrote: Hi Manuel, I was wondering the same for some time. I will follow this thread for the replies from devs. CGS I am not active in the project currently, and I don't think the project is active at KTH or Stockholm University. People at KTH started the project, and people at Stockholm University continued after them. But now the project seems rather inactive. /Mikael On Fri, Aug 31, 2012 at 1:42 PM, Manuel A. Rubio Bombadil bomba...@bosqueviejo.net mailto:bomba...@bosqueviejo.net wrote: Hi to all, I'm new in the list, I've reviewed the YXA code and I'd like to know the project activity, is ready for production? Thanks. Manuel Rubio. ___ Yxa-devel mailing list Yxa-devel@lists.su.se mailto:Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel -- Manuel A. Rubio Bombadil Usuario de GNU/Linux #323628 acorde a http://counter.li.org/ Técnico en Admin. Sistemas Informáticos ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel
Re: [Yxa-devel] Status
I changed it in configure.ac and configure script finished without error. Unfortunately, make reports errors: ssl_util.erl:27: can't find include lib ssl/include/OTP-PKIX.hrl ssl_util.erl:179: record 'AttributeTypeAndValue' undefined ssl_util.erl:182: record 'AttributeTypeAndValue' undefined ssl_util.erl:186: record 'AttributeTypeAndValue' undefined ssl_util.erl:195: record 'SSLAttributeTypeAndValue' undefined ssl_util.erl:196: record 'SSLAttributeTypeAndValue' undefined ssl_util.erl:238: record 'Certificate' undefined ssl_util.erl:239: record 'Certificate' undefined ssl_util.erl:239: record 'TBSCertificate' undefined ssl_util.erl:279: record 'Certificate' undefined ssl_util.erl:280: record 'Certificate' undefined ssl_util.erl:280: record 'TBSCertificate' undefined ssl_util.erl:290: record 'Extension' undefined ssl_util.erl:292: record 'Extension' undefined ssl_util.erl:302: record 'Extension' undefined ssl_util.erl:303: variable 'Value' is unbound ssl_util.erl:519: record 'Certificate' undefined ssl_util.erl:519: record 'TBSCertificate' undefined ssl_util.erl:523: record 'Certificate' undefined ssl_util.erl:523: record 'TBSCertificate' undefined ssl_util.erl:532: record 'AttributeTypeAndValue' undefined ssl_util.erl:63: Warning: ssl:peercert/2: deprecated (will be removed in R15A); use ssl:peercert/1 and public_key:pkix_decode_cert/2 instead make[2]: *** [../../ebin/ssl_util.beam] Error 1 make[2]: Leaving directory `/media/Data/Projects/yxa_new/src/transportlayer' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/media/Data/Projects/yxa_new/src' make: *** [all-recursive] Error 1 Any suggestion? CGS On Fri, Aug 31, 2012 at 2:27 PM, Mikael Magnusson mikma...@gmail.comwrote: On 08/31/2012 02:24 PM, CGS wrote: Just tried it and I got this with Erlang R15B01 (erts-5.9.1): configure: error: 5.9.1 found, 5.7.2 (Erlang/OTP R13B-1) required If I will change the configure, do you think it won't affect the code further? There should be a parameter to configure that can be used to disable that test, try it. /Mikael CGS On Fri, Aug 31, 2012 at 2:16 PM, Mikael Magnusson mikma...@gmail.comwrote: On 08/31/2012 02:13 PM, CGS wrote: I tried a test, but firstly it needs to be brought up to the latest version of Erlang. R13B01 is obsolete version and many things are changed in Erlang since then. CGS There is a branch for R14, maybe it works better with the latest Erlang version. https://github.com/mikma/yxa/tree/otp-r14a On Fri, Aug 31, 2012 at 2:01 PM, Manuel A. Rubio Bombadil bomba...@bosqueviejo.net wrote: And ... are you usign YXA in some areas? dev? production? test? El 2012-08-31 13:54, Mikael Magnusson escribió: On 08/31/2012 01:46 PM, CGS wrote: Hi Manuel, I was wondering the same for some time. I will follow this thread for the replies from devs. CGS I am not active in the project currently, and I don't think the project is active at KTH or Stockholm University. People at KTH started the project, and people at Stockholm University continued after them. But now the project seems rather inactive. /Mikael On Fri, Aug 31, 2012 at 1:42 PM, Manuel A. Rubio Bombadil bomba...@bosqueviejo.net wrote: Hi to all, I'm new in the list, I've reviewed the YXA code and I'd like to know the project activity, is ready for production? Thanks. Manuel Rubio. ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing listyxa-de...@lists.su.sehttps://lists.su.se/mailman/listinfo/yxa-devel -- Manuel A. Rubio Bombadil Usuario de GNU/Linux #323628 acorde a http://counter.li.org/ Técnico en Admin. Sistemas Informáticos ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing listyxa-de...@lists.su.sehttps://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel
Re: [Yxa-devel] Status
For example, https://github.com/mikma/yxa/blob/otp-r14a/src/eldap/eldap.erl(line 66): open(Hosts, Opts) when list(Hosts), list(Opts) - list/1 should be is_list/1. CGS On Fri, Aug 31, 2012 at 3:33 PM, Mikael Magnusson mikma...@gmail.comwrote: On 08/31/2012 03:31 PM, CGS wrote: Well, it may be my mistake here. I might have taken the master branch accidentally. I retraced my steps and I recompiled. Now it compiles, but there are some warnings about obsolete things like eldap.erl:66: Warning: list/1 obsolete which in code is used to guard the variable to be list and since R14B03 (I think) it became is_list. I will attempt to update all those things and come back with info. Sorry for previous misleading. CGS Have a look at yxa forkes/branches at github, above might already be fixed. On Fri, Aug 31, 2012 at 3:21 PM, Mikael Magnusson mikma...@gmail.comwrote: On 08/31/2012 03:15 PM, CGS wrote: I was taking a closer look at the code and I found this in yxa/src/transportlayer/ssl_util.erl (line 33): -include_lib(ssl/include/OTP-PKIX.hrl). which I couldn't find it in R15B01. I will try to find more about that header, but if you have a better starting point, please, let me know. I am not familiar with Erlang releases older than maximum 1 year. CGS Don't know why HAS_OTP_PUB_KEY_HRL wasn't set by configure. Try to define it in config.hrl as a work-around. https://github.com/mikma/yxa/blob/otp-r14a/src/transportlayer/ssl_util.erl /Mikael On Fri, Aug 31, 2012 at 2:36 PM, CGS cgsmcml...@gmail.com wrote: Yes. On Fri, Aug 31, 2012 at 2:35 PM, Mikael Magnusson mikma...@gmail.comwrote: On 08/31/2012 02:33 PM, CGS wrote: I changed it in configure.ac and configure script finished without error. Unfortunately, make reports errors: ssl_util.erl:27: can't find include lib ssl/include/OTP-PKIX.hrl ssl_util.erl:179: record 'AttributeTypeAndValue' undefined ssl_util.erl:182: record 'AttributeTypeAndValue' undefined ssl_util.erl:186: record 'AttributeTypeAndValue' undefined ssl_util.erl:195: record 'SSLAttributeTypeAndValue' undefined ssl_util.erl:196: record 'SSLAttributeTypeAndValue' undefined ssl_util.erl:238: record 'Certificate' undefined ssl_util.erl:239: record 'Certificate' undefined ssl_util.erl:239: record 'TBSCertificate' undefined ssl_util.erl:279: record 'Certificate' undefined ssl_util.erl:280: record 'Certificate' undefined ssl_util.erl:280: record 'TBSCertificate' undefined ssl_util.erl:290: record 'Extension' undefined ssl_util.erl:292: record 'Extension' undefined ssl_util.erl:302: record 'Extension' undefined ssl_util.erl:303: variable 'Value' is unbound ssl_util.erl:519: record 'Certificate' undefined ssl_util.erl:519: record 'TBSCertificate' undefined ssl_util.erl:523: record 'Certificate' undefined ssl_util.erl:523: record 'TBSCertificate' undefined ssl_util.erl:532: record 'AttributeTypeAndValue' undefined ssl_util.erl:63: Warning: ssl:peercert/2: deprecated (will be removed in R15A); use ssl:peercert/1 and public_key:pkix_decode_cert/2 instead make[2]: *** [../../ebin/ssl_util.beam] Error 1 make[2]: Leaving directory `/media/Data/Projects/yxa_new/src/transportlayer' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/media/Data/Projects/yxa_new/src' make: *** [all-recursive] Error 1 Any suggestion? Are you using the R14A branch? https://github.com/mikma/yxa/tree/otp-r14a /Mikael CGS On Fri, Aug 31, 2012 at 2:27 PM, Mikael Magnusson mikma...@gmail.comwrote: On 08/31/2012 02:24 PM, CGS wrote: Just tried it and I got this with Erlang R15B01 (erts-5.9.1): configure: error: 5.9.1 found, 5.7.2 (Erlang/OTP R13B-1) required If I will change the configure, do you think it won't affect the code further? There should be a parameter to configure that can be used to disable that test, try it. /Mikael CGS On Fri, Aug 31, 2012 at 2:16 PM, Mikael Magnusson mikma...@gmail.comwrote: On 08/31/2012 02:13 PM, CGS wrote: I tried a test, but firstly it needs to be brought up to the latest version of Erlang. R13B01 is obsolete version and many things are changed in Erlang since then. CGS There is a branch for R14, maybe it works better with the latest Erlang version. https://github.com/mikma/yxa/tree/otp-r14a On Fri, Aug 31, 2012 at 2:01 PM, Manuel A. Rubio Bombadil bomba...@bosqueviejo.net wrote: And ... are you usign YXA in some areas? dev? production? test? El 2012-08-31 13:54, Mikael Magnusson escribió: On 08/31/2012 01:46 PM, CGS wrote: Hi Manuel, I was wondering the same for some time. I will follow this thread for the replies from devs. CGS I am not active in the project currently, and I don't think the project is active at KTH or Stockholm University. People at KTH started the project, and people at Stockholm University continued after them. But now the project seems rather inactive. /Mikael On Fri,
Re: [Yxa-devel] Status
On 08/31/2012 04:10 PM, CGS wrote: OK! I managed to compile it with only one warning (error/2 is not used; I set eldap:parse_error/2 which does the same). I started the tests, but I got the following error: ssl_util: failed (test SSL certificates - 0, line 419) - Error: {'EXIT', {{badmatch, {'Certificate', ... [{ssl_util,test,0,[{file,ssl_util.erl},{line,519}]}, {autotest,test_module2,2,[{file,autotest.erl},{line,300}]}]}} Any idea? Do I need to set a certificate manually? CGS Looks like there is a problem with decoding certificates. I guess they have changed the return value from some function. /Mikael ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel
Re: [Yxa-devel] Status
BINGO! :D I changed ssl_util.erl to use ssl:peercert/1 and {ok, TestCert1} with TestCert1 and all the tests are passed now. I attached here the archive with the changes for Erlang/OTP R15B01. If you prefer it, I can make a git repo for it. CGS On Fri, Aug 31, 2012 at 4:58 PM, Mikael Magnusson mikma...@gmail.comwrote: On 08/31/2012 04:10 PM, CGS wrote: OK! I managed to compile it with only one warning (error/2 is not used; I set eldap:parse_error/2 which does the same). I started the tests, but I got the following error: ssl_util: failed (test SSL certificates - 0, line 419) - Error: {'EXIT', {{badmatch, {'Certificate', ... [{ssl_util,test,0,[{file,ssl_**util.erl},{line,519}]}, {autotest,test_module2,2,[{**file,autotest.erl},{line,**300}]}]}} Any idea? Do I need to set a certificate manually? CGS Looks like there is a problem with decoding certificates. I guess they have changed the return value from some function. /Mikael yxa_changes.tgz Description: GNU Zip compressed data ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel
Re: [Yxa-devel] Status
On 08/31/2012 05:26 PM, CGS wrote: BINGO! :D I changed ssl_util.erl to use ssl:peercert/1 and {ok, TestCert1} with TestCert1 and all the tests are passed now. I attached here the archive with the changes for Erlang/OTP R15B01. If you prefer it, I can make a git repo for it. CGS I prefer a git repo, refer to https://github.com/fredrikt/yxa/wiki/Submitting-patches. In which version was ssl:peercert/1 introduced in Erlang? I think many users prefer if Yxa can be built with the Erlang versions included in common Linux dists without requiring building Erlang from source. For example Ubuntu 12.04 has erlang r14b4. /Mikael On Fri, Aug 31, 2012 at 4:58 PM, Mikael Magnusson mikma...@gmail.com mailto:mikma...@gmail.com wrote: On 08/31/2012 04:10 PM, CGS wrote: OK! I managed to compile it with only one warning (error/2 is not used; I set eldap:parse_error/2 which does the same). I started the tests, but I got the following error: ssl_util: failed (test SSL certificates - 0, line 419) - Error: {'EXIT', {{badmatch, {'Certificate', ... [{ssl_util,test,0,[{file,ssl_util.erl},{line,519}]}, {autotest,test_module2,2,[{file,autotest.erl},{line,300}]}]}} Any idea? Do I need to set a certificate manually? CGS Looks like there is a problem with decoding certificates. I guess they have changed the return value from some function. /Mikael ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel
Re: [Yxa-devel] Status
I am not sure, but I suppose in R14B04 is already set as a warning (I will check). Nevertheless, there is a repo for R15B01 already compiled: https://www.erlang-solutions.com/downloads/download-erlang-otp I make my installations by myself, but I heard that those packages are fully compiled (with Java and wx required). I have Ubuntu 12.04 here. CGS On Fri, Aug 31, 2012 at 5:35 PM, Mikael Magnusson mikma...@gmail.comwrote: On 08/31/2012 05:26 PM, CGS wrote: BINGO! :D I changed ssl_util.erl to use ssl:peercert/1 and {ok, TestCert1} with TestCert1 and all the tests are passed now. I attached here the archive with the changes for Erlang/OTP R15B01. If you prefer it, I can make a git repo for it. CGS I prefer a git repo, refer to https://github.com/fredrikt/yxa/wiki/Submitting-patches. In which version was ssl:peercert/1 introduced in Erlang? I think many users prefer if Yxa can be built with the Erlang versions included in common Linux dists without requiring building Erlang from source. For example Ubuntu 12.04 has erlang r14b4. /Mikael On Fri, Aug 31, 2012 at 4:58 PM, Mikael Magnusson mikma...@gmail.comwrote: On 08/31/2012 04:10 PM, CGS wrote: OK! I managed to compile it with only one warning (error/2 is not used; I set eldap:parse_error/2 which does the same). I started the tests, but I got the following error: ssl_util: failed (test SSL certificates - 0, line 419) - Error: {'EXIT', {{badmatch, {'Certificate', ... [{ssl_util,test,0,[{file,ssl_util.erl},{line,519}]}, {autotest,test_module2,2,[{file,autotest.erl},{line,300}]}]}} Any idea? Do I need to set a certificate manually? CGS Looks like there is a problem with decoding certificates. I guess they have changed the return value from some function. /Mikael ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel
Re: [Yxa-devel] Status
As far as I could discover, ssl:peercert/1 is supported since 2009, so, definitely, it should work with R14B04 or even with R14B03. See the old documentation at http://demo.erlang.org/documentation/doc-5.7.4/lib/ssl-3.10.7/doc/html/new_ssl.html#peercert-1 which is from 2009. Presently, ssl:peercert/2 is no longer supported because they left only the [plain] option (during the transition there were two options [otp] and [plain], but only [plain] was supported): http://www.erlang.org/doc/man/ssl.html#peercert-1 CGS On Fri, Aug 31, 2012 at 5:48 PM, CGS cgsmcml...@gmail.com wrote: I am not sure, but I suppose in R14B04 is already set as a warning (I will check). Nevertheless, there is a repo for R15B01 already compiled: https://www.erlang-solutions.com/downloads/download-erlang-otp I make my installations by myself, but I heard that those packages are fully compiled (with Java and wx required). I have Ubuntu 12.04 here. CGS On Fri, Aug 31, 2012 at 5:35 PM, Mikael Magnusson mikma...@gmail.comwrote: On 08/31/2012 05:26 PM, CGS wrote: BINGO! :D I changed ssl_util.erl to use ssl:peercert/1 and {ok, TestCert1} with TestCert1 and all the tests are passed now. I attached here the archive with the changes for Erlang/OTP R15B01. If you prefer it, I can make a git repo for it. CGS I prefer a git repo, refer to https://github.com/fredrikt/yxa/wiki/Submitting-patches. In which version was ssl:peercert/1 introduced in Erlang? I think many users prefer if Yxa can be built with the Erlang versions included in common Linux dists without requiring building Erlang from source. For example Ubuntu 12.04 has erlang r14b4. /Mikael On Fri, Aug 31, 2012 at 4:58 PM, Mikael Magnusson mikma...@gmail.comwrote: On 08/31/2012 04:10 PM, CGS wrote: OK! I managed to compile it with only one warning (error/2 is not used; I set eldap:parse_error/2 which does the same). I started the tests, but I got the following error: ssl_util: failed (test SSL certificates - 0, line 419) - Error: {'EXIT', {{badmatch, {'Certificate', ... [{ssl_util,test,0,[{file,ssl_util.erl},{line,519}]}, {autotest,test_module2,2,[{file,autotest.erl},{line,300}]}]}} Any idea? Do I need to set a certificate manually? CGS Looks like there is a problem with decoding certificates. I guess they have changed the return value from some function. /Mikael ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel
Re: [Yxa-devel] Status
Could give more details here, maybe I can help. CGS On Fri, Aug 31, 2012 at 2:31 PM, Mikael Magnusson mikma...@gmail.comwrote: On 08/31/2012 02:01 PM, Manuel A. Rubio Bombadil wrote: And ... are you usign YXA in some areas? dev? production? test? I have used YXA for connecting to VoIP services. But most recently I used it as a production presence server with Twinkle as clients. Unfortunately the YXA presence server sometimes would crash without being able to recover and needed manual restart. As a result a replaced it with another presence server. I guess the presence server isn't as well tested as the other parts since I think Yxa has mostly been used for VoIP. /Mikael El 2012-08-31 13:54, Mikael Magnusson escribió: On 08/31/2012 01:46 PM, CGS wrote: Hi Manuel, I was wondering the same for some time. I will follow this thread for the replies from devs. CGS I am not active in the project currently, and I don't think the project is active at KTH or Stockholm University. People at KTH started the project, and people at Stockholm University continued after them. But now the project seems rather inactive. /Mikael On Fri, Aug 31, 2012 at 1:42 PM, Manuel A. Rubio Bombadil bomba...@bosqueviejo.net wrote: Hi to all, I'm new in the list, I've reviewed the YXA code and I'd like to know the project activity, is ready for production? Thanks. Manuel Rubio. ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing listyxa-de...@lists.su.sehttps://lists.su.se/mailman/listinfo/yxa-devel -- Manuel A. Rubio Bombadil Usuario de GNU/Linux #323628 acorde a http://counter.li.org/ Técnico en Admin. Sistemas Informáticos ___ Yxa-devel mailing listyxa-de...@lists.su.sehttps://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel ___ Yxa-devel mailing list Yxa-devel@lists.su.se https://lists.su.se/mailman/listinfo/yxa-devel