I thought that subscriptions packet were UDP based, my
--fastrouter-subscription-server option spawns UDP socket.

@Cycle switch from file sockets in fastrouter-subscription-server and
subscripe2 options to port based ones.


2013/7/23 Roberto De Ioris <robe...@unbit.it>

>
> >
> >
> >
> > On 23/07/13 13:43, Roberto De Ioris wrote:
> >>
> >>> On 23/07/13 11:54, Roberto De Ioris wrote:
> >>>>
> >>>> Sory, but can you make a simple setup without the fastrouter and the
> >>>> subscription system to check if the django part is ok ? What you are
> >>>> experiencing is the fastrouter closing the connection as no backend is
> >>>> registered. Before starting dealing with it i would ensure the "simple
> >>>> parts" are ok
> >>>>
> >>>
> >>> Roberto,
> >>>
> >>> Yes, everything works with a plain server, run manually with
> >>>
> >>>     ./bin/uwsgi --xml test.xml
> >>>
> >>> No emperor, no router, no subscription-server.
> >>>
> >>> subscribe_to/subscribe-to makes no difference to the complex setup.
> >>>
> >>> gmf
> >>>
> >>
> >>
> >> Ok, the emperor config is correct so i will focus on the vassal.
> >>
> >> Start the emperor instance (the one containing the fastrouter too) on a
> >> directory without vassals, and manually spawn a fake instance
> >> subscribing
> >> to it:
> >>
> >> uwsgi --subscribe-to <path>:<domain> --socket /tmp/foobar
> >>
> >> What you see in the logs of both the fake instance and the
> >> emperor/fastrouter ?
> >>
> >>
> >
> > Ah, a new error in the fake instance log:
> >
> > subscribing to
> > /home/gmf/working/bugle-frontend.git/run/uwsgi-router.sock:dev1.localhost
> > send_udp_message()/sendto(): Protocol wrong type for socket
> > [core/protocol.c line 83]
> > send_udp_message()/sendto(): Protocol wrong type for socket
> > [core/protocol.c line 83]
> > send_udp_message()/sendto(): Protocol wrong type for socket
> > [core/protocol.c line 83]
> >
> > Haven't seen that before.
> >
> >
> >
> >
> > _______________________________________________
> > uWSGI mailing list
> > uWSGI@lists.unbit.it
> > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
> >
>
>
> wow, cool :)
>
> for some reason the parser thinks you are using an udp address (???)
>
> try with the explicit form:
>
> --subscribe2 server=<path>,key=<domain>
>
> --
> Roberto De Ioris
> http://unbit.it
> _______________________________________________
> uWSGI mailing list
> uWSGI@lists.unbit.it
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>



-- 
Łukasz Mierzwa
_______________________________________________
uWSGI mailing list
uWSGI@lists.unbit.it
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to