[zeromq-dev] Use IPC socket under win32 service

momchil at bojinov.info momchil at bojinov.info
Fri Mar 18 11:04:04 CET 2022


Here:
https://github.com/bozhinov/cache-poc/blob/88f3b190711dcd632b2435f2b4e315bd3b16e8aa/client_1.py#L8

Message was sent, but was never received on by the service and then the client gets stuck waiting for response.


-----Original Message-----
From: zeromq-dev <zeromq-dev-bounces at lists.zeromq.org> On Behalf Of Arnaud Loonstra
Sent: Friday, March 18, 2022 11:40 AM
To: zeromq-dev at lists.zeromq.org
Subject: Re: [zeromq-dev] Use IPC socket under win32 service

Gets stuck where?

On 18-03-2022 10:23, momchil at bojinov.info wrote:
> Hello Arnaud,
> 
> The issue is mine, yes.
> I provided PoC in the initial e-mail:
> https://github.com/bozhinov/cache-poc
> 
> Service and app run under the same user account in both scenarios
> 
> The python wrapper does not provide output/throws nothing Just gets 
> stuck
> 
> Momchil
> 
> -----Original Message-----
> From: zeromq-dev <zeromq-dev-bounces at lists.zeromq.org> On Behalf Of 
> Arnaud Loonstra
> Sent: Friday, March 18, 2022 10:54 AM
> To: zeromq-dev at lists.zeromq.org
> Subject: Re: [zeromq-dev] Use IPC socket under win32 service
> 
> Also; try to come up with some reproducible code that illustrates the problem.
> 
> Is this yours btw? https://github.com/zeromq/libzmq/issues/4358
> 
> I guess it is. Try to see if you can get any errors out of your code.
> I'm not familiar with the Python wrapper but usually the recv and send calls return something. If your code freezes, make sure you know where.
> 
> Would be helpful to test this code directly against libzmq instead of through python.
> 
> Rg,
> 
> Arnaud
> 
> On 17-03-2022 14:18, momchil at bojinov.info wrote:
>> An yet I don’t feel like a winner
>>
>> Really need some help here
>>
>> Momchil
>>
>> *From:* zeromq-dev <zeromq-dev-bounces at lists.zeromq.org> *On Behalf 
>> Of *Joerg Schneider-Simon
>> *Sent:* Tuesday, March 15, 2022 11:23 AM
>> *To:* zeromq-dev at lists.zeromq.org
>> *Subject:* Re: [zeromq-dev] Use IPC socket under win32 service
>>
>> Hi Momchil,
>>
>> Windows does not provide IPC sockets.
>> you'll have to stick to TCP sockets
>>
>> cheers,
>>
>> Joerg
>>
>> Am 15.03.22 um 09:58 schrieb momchil at bojinov.info
>> <mailto:momchil at bojinov.info>:
>>
>>      Hello,
>>
>>      I have a client server poc code that runs ok in user mode
>>      it uses zmq.REQ context and an IPC socket to send over json and
>>      receive back json
>>
>>      problem is when I wrap the server part in win32service code
>>      both service and client app run under the same user but I still fail
>>      to send data over
>>      works just fine if I switch to TCP socket
>>
>>      PoC code:
>>
>>      https://github.com/bozhinov/cache-poc
>>      <https://github.com/bozhinov/cache-poc>
>>
>>      Environment:
>>
>>      libzmq version: pyzmq 14.1.1, libzmq 4.3.4
>>
>>      OS: Windows Server 2022
>>
>>      Python 3.10.2 x64
>>
>>      Is this even supposed to work?
>>
>>      Momchil
>>
>>
>>
>>      _______________________________________________
>>
>>      zeromq-dev mailing list
>>
>>      zeromq-dev at lists.zeromq.org  
>> <mailto:zeromq-dev at lists.zeromq.org>
>>
>>      https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>> <https://lists.zeromq.org/mailman/listinfo/zeromq-dev>
>>
>> --
>>
>> *Jörg Schneider-Simon*
>> Chief Technology Officer & Co-Founder
>>
>> bowbridge Software GmbH
>> Donnersbergerstrasse 22A
>> D-80634 Munich / GERMANY
>>
>> 	
>>
>> https://www.bowbridge.net <https://www.bowbridge.net>
>> Tel.: +49 - 6227 - 698 99 - 50
>> Fax: +49 - 6227 - 698 99 - 59
>>
>>
>> Geschäftsführerin: Andrea Simon
>> Amtsgericht Mannheim - HRB 719011
>>
>> *Wichtiger Hinweis:
>> *Diese Information ist für den Gebrauch durch die Person oder die 
>> Firma/Organisation bestimmt, die in der Empfängeradresse benannt sind 
>> und unterliegt u. U. dem Berufsgeheimnis, dem Schutz von 
>> Arbeitsergebnissen oder anderweitigem rechtlichen Schutz.
>> Wenn Sie nicht der angegebene Empfänger sind, nehmen Sie bitte zur 
>> Kenntnis, dass Weitergabe, Kopieren, Verteilung oder Nutzung des 
>> Inhalts dieser eMail-Übertragung unzulässig ist. Falls Sie diese 
>> eMail irrtümlich erhalten haben, benachrichtigen Sie den Absender 
>> bitte unverzüglich telefonisch oder durch eine eMail.
>>
>> *Important Note:*
>> This e-mail may contain trade secrets or privileged, undisclosed or 
>> confidential information or otherwise protected by work product 
>> immunity or other legal rules. If you have received this e-mail in 
>> error, you are hereby notified that any review, copying or 
>> distribution of it is strictly prohibited.
>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
> 
> 
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev




More information about the zeromq-dev mailing list