Comments (10)
What is the error you are seeing, @jeregrine?
from apns4erl.
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.
@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.
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.
Sorry for ellipses. the test_certs script does not work.
from apns4erl.
You're entirely right. I had an older version of the system in my machine, sorry.
from apns4erl.
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.
@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.
Ahh so you need to run it in the head directory, gotyou.
from apns4erl.
@jeregrine Yeah, sorry for the confusion. 😄
from apns4erl.
Related Issues (20)
- adding coverage in Travis
- Increase test coverage
- Connections using Provider Auth Token HOT 1
- how to send mutiple token to apns in one time? HOT 4
- Rebar compile issues when included in other projects HOT 1
- version bump to 2.3.1
- New 2.4.0 release HOT 2
- apns:connect error HOT 3
- Maintenance-related issues HOT 9
- Move from Travis CI to GitHub Actions? HOT 2
- Release request HOT 2
- CRASH gun_http2:parse in server logs HOT 26
- src/apns_connection.erl:22: Warning: undefined callback function terminate/3 (behaviour 'gen_statem') HOT 12
- Erlang (Not apns4erl) Question HOT 3
- With gun-2.0.0-rc.1, apns reconnections are much more frequent than with gun-1.3.3 HOT 3
- timeout key is expected but its presence is not verified in apns_connection:init/1
- Improvements from Akick HOT 4
- Function not exported {string,lowercase,1} HOT 3
- apns crashes with {case_clause,{error,{closed,"The connection was lost."}}
- push current master to hex.pm HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apns4erl.