> hello,
>
> i'm trying to test the instructions to setup an HTTPS subscription
> server, described in the final section here:
>
> http://projects.unbit.it/uwsgi/wiki/SubscriptionServer
>
> ... but i am instead seeing this problem:
>
> [...]
> [uwsgi-subscription for pid 20659] invalid (sniffed ?) packet sent for
> slot: test.uwsgi.it:8000 node: 127.0.0.1:8080 unix_check: 577052591
> [uwsgi-subscription for pid 20659] invalid (sniffed ?) packet sent for
> slot: test.uwsgi.it:8000 node: 127.0.0.1:8080 unix_check: 577052595
> [uwsgi-subscription for pid 20659] invalid (sniffed ?) packet sent for
> slot: test.uwsgi.it:8000 node: 127.0.0.1:8080 unix_check: 577052595
> [uwsgi-subscription for pid 20659] invalid (sniffed ?) packet sent for
> slot: test.uwsgi.it:8000 node: 127.0.0.1:8080 unix_check: 577052599
> [...]
>
> ... i literally copy/pasted the configs and openssl commands from that
> wiki page.  i first tried with test.unbit.it_8000, then
> localhost_8000, but same result both ways. the only thing i changed
> was the paths to use $(PWD) instead (wiki might want to use PWD too).
>
> this is a freshly synced repo/build, commit 340f1e2.  running on an
> ARM Pandaboard, Archlinux, kernel 3.4.4.
>
> reproduction script follows; simply save to a file in the uWSGI repo
> and `chmod +x` it ...
>
> # cat test.sh
> ========================================
> #!/bin/bash
>
> mkdir -p keys
>
> openssl genrsa -out private.pem
> openssl rsa -pubout -out keys/test.uwsgi.it_8000.pem -in private.pem
>
> cat > _server.ini <<'EOF'
> [uwsgi]
> master = 1
> http = :8000
> http-subscription-server = 127.0.0.1:2626
> subscriptions-sign-check = SHA1:$(PWD)/keys
> EOF
>
> cat > _client.ini <<'EOF'
> [uwsgi]
> socket = 127.0.0.1:8080
> subscribe-to = 127.0.0.1:2626:test.uwsgi.it:8000,5,SHA1:$(PWD)/private.pem
> psgi = test.psgi
> EOF
>
> ./uwsgi --ini _server.ini &
> ./uwsgi --ini _client.ini &
>
> sleep 30 && kill -INT %1 %2
> ========================================
>
>

Are you able to reproduce this on a non-ARM box ? (i will try it on arm
tomorrow)

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to