Code Monkey home page Code Monkey logo

Comments (10)

elbrujohalcon avatar elbrujohalcon commented on May 26, 2024

What is the error you are seeing, @jeregrine?

from apns4erl.

jeregrine avatar jeregrine commented on May 26, 2024
Enter Import Password:
MAC verified OK
writing RSA key
unable to load certificate
66019:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:/BuildRoot/Library/Caches/com.apple.xbs/Sources/OpenSSL098/OpenSSL098-59/src/crypto/asn1/tasn_dec.c:1341:
66019:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:/BuildRoot/Library/Caches/com.apple.xbs/Sources/OpenSSL098/OpenSSL098-59/src/crypto/asn1/tasn_dec.c:385:Type=X509
cat: priv/temp/cert.pem: No such file or directory
make: *** No rule to make target `tests'.  Stop.

from apns4erl.

elbrujohalcon avatar elbrujohalcon commented on May 26, 2024

@jeregrine what's the command you're trying to run?
If it is make tests, as it seems to be, I have to warn you that the proper command to run the tests in this project is make test

from apns4erl.

jeregrine avatar jeregrine commented on May 26, 2024

Still if I change the test_certs commands to run make test it also fails.
So.

On Fri, Aug 21, 2015 at 7:48 AM, Jason S [email protected] wrote:

... I am running the test_certs scripts? Which executes make tests?

On Fri, Aug 21, 2015 at 7:45 AM, Brujo Benavides <[email protected]

wrote:

@jeregrine https://github.com/jeregrine what's the command you're
trying to run?
If it is make tests, as it seems to be, I have to warn you that the
proper command to run the tests in this project is make test


Reply to this email directly or view it on GitHub
#68 (comment).

from apns4erl.

jeregrine avatar jeregrine commented on May 26, 2024

Sorry for ellipses. the test_certs script does not work.

from apns4erl.

elbrujohalcon avatar elbrujohalcon commented on May 26, 2024

You're entirely right. I had an older version of the system in my machine, sorry.

from apns4erl.

elbrujohalcon avatar elbrujohalcon commented on May 26, 2024

I can reproduce the error here now, it's somehow related to SSL but it's still unclear to me what's happening.

from apns4erl.

jfacorro avatar jfacorro commented on May 26, 2024

@jeregrine I just run the priv/test_certs script using a certificate and private key file from Inaka and the tests passed. Is it possible that your certificate and/or private key is outdated?

Here is the command I ran and the result:

➜ apns4erl git:(master) priv/test_certs apns_dev.cer certs.p12
Enter Import Password:
MAC verified OK
writing RSA key
Makefile:23: warning: overriding commands for target `shell'
erlang.mk:1033: warning: ignoring old commands for target `shell'
 GEN    clean
 GEN    clean-app
 GEN    clean-ct
./rebar compile
==> proper (compile)
make[2]: `include/compile_flags.hrl' is up to date.
==> jiffy (compile)
./rebar compile
==> sync (compile)
./rebar compile
==> sync (compile)
mkdir -p ebin
erl -make
cp src/aleppo.app.src ebin/aleppo.app
-n
 APP    katana.app.src
==> eper (compile)
==> eper (escriptize)
 ERLC   apns.erl apns_connection.erl apns_queue.erl apns_sup.erl
 APP    apns.app.src
 GEN    build-ct-suites


Common Test v1.11 starting (cwd is apns4erl)



CWD set to: "apns4erl/logs/[email protected]_14.45.33"

TEST INFO: 1 test(s), 1 case(s) in 1 suite(s)

Cover compiling 3 modules - this may take some time... done

Testing work.apns4erl.apns_SUITE: Starting test, 1 test cases

=INFO REPORT==== 21-Aug-2015::14:45:45 ===
Sending msg <<"��;�">> (expires on 1440265545)

=INFO REPORT==== 21-Aug-2015::14:45:45 ===
Feedback server disconnected. Waiting 600000 millis to connect again...

=INFO REPORT==== 21-Aug-2015::14:45:46 ===
Sending msg <<223,202,67,151>> (expires on 1440265546)

=INFO REPORT==== 21-Aug-2015::14:45:47 ===
Sending msg <<"��X�">> (expires on 1440265547)

=INFO REPORT==== 21-Aug-2015::14:45:48 ===
Sending msg <<"��k�">> (expires on 1440265548)

=INFO REPORT==== 21-Aug-2015::14:45:49 ===
Sending msg <<"��s@">> (expires on 1440265549)

=INFO REPORT==== 21-Aug-2015::14:45:50 ===
Sending msg <<"��x1">> (expires on 1440265550)

=INFO REPORT==== 21-Aug-2015::14:45:51 ===
    application: apns
    exited: stopped
    type: temporary
Testing work.apns4erl.apns_SUITE: TEST COMPLETE, 1 ok, 0 failed of 1 test cases

Cover analysing... done

Updating apns4erl/logs/index.html... done
Updating apns4erl/logs/all_runs.html... done

 GEN    tests-ct

from apns4erl.

jeregrine avatar jeregrine commented on May 26, 2024

Ahh so you need to run it in the head directory, gotyou.

from apns4erl.

jfacorro avatar jfacorro commented on May 26, 2024

@jeregrine Yeah, sorry for the confusion. 😄

from apns4erl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.