async_method_call_timed issue ?

Bills, Jason M jason.m.bills at linux.intel.com
Fri Oct 27 00:37:32 AEDT 2023



On 10/17/2023 4:29 AM, Francine Sauvage wrote:
> Hi @ all,
> 
> I cannot figure out how to change bmcweb dbus method call timeout with 
> async_method_call_timed ?

Not sure if you solved this one already.

> 
> My bmcweb version is old, but I guess I missed something, like http 
> connection timeout? socket timeout ? web server timeout ? Adaptator 
> timeout ?
> 
> I tried to implement it with a 4mn timeout.
> 
> But I always get an internal server error after about 25 seconds:

It sounds like you're hitting the D-Bus internal timeout which is around 
25 seconds.  As far as I understand, if you make a D-Bus method call, 
and the receiver doesn't respond within about 25 seconds, D-Bus will 
time out and return an error to the caller.

> 
> Response:
> 
> Implementation – callback is never reached.
> 
> busctl call is OK with timeout option, I mean, my service is able to 
> take care of timeout :
> 
> *Any idea or suggestion ?*
> 
> *Kind Regards,*
> 
> Francine Sauvage
> Team Leader – BDS-RD-PFM
> M: +33 (1) 6 21 43 11 21
> Av. Jean Jaurès BP68 – 78340 LES CLAYES-SOUS-BOIS – France
> eviden.com <https://eviden.com/>
> LinkedIn icon 
> <https://www.linkedin.com/in/francine-sauvage-consultant>Twitter icon 
> <https://twitter.com/EvidenLive>Instagram icon 
> <https://www.instagram.com/evidenlive>YouTube icon 
> <https://www.youtube.com/@EvidenLive><https://github.com/frsauvage>
> 
> Eviden logo
> 
> 	
> 
> an atos business
> 


More information about the openbmc mailing list