# Request-\>OnProcessRequestComplete() gets called only on first play session

**URL:** <https://forums.unrealengine.com/t/request-onprocessrequestcomplete-gets-called-only-on-first-play-session/2080155>\
**Category:** C++\
**Tags:** Networking, network-error, network-deployment, httprequest, network-replay, networking-replicat, networking-multipla, unreal-engine, question\
**Created:** [October 22, 2024, 1:21pm UTC](https://forums.unrealengine.com/t/request-onprocessrequestcomplete-gets-called-only-on-first-play-session/2080155 "2024-10-22T13:21:41Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [October 30, 2024, 12:44pm UTC](https://forums.unrealengine.com/t/request-onprocessrequestcomplete-gets-called-only-on-first-play-session/2080155/9 "2024-10-30T12:44:34Z")

</div>

You could add the flush command within the function bound to the rquestcomplete delegate function. It would then trigger at the correct time.(you might already have this)

Or as a cleanup function that is triggered if it fails or succeeds.

Also have you seen this thread regarding ssl?

> [@No response (fail or success) on HTTP calls](https://forums.unrealengine.com/t/no-response-fail-or-success-on-http-calls/489259/4):
>
> Turns out the reason here was an SSL error between UE and my server. UE didn’t trust the certificate authority of my server, and gave up on the HTTP request. When that happens, no error callback is triggered for some reason. My first workaround was to use HTTP instead of HTTPS for all calls. I then found that the fix from [https://answers.unrealengine.com/questions/840027/when-playing-in-the-editor-websocket-connection-su.html](https://answers.unrealengine.com/questions/840027/when-playing-in-the-editor-websocket-connection-su.html) fixes it; copying the cacert.pem file from engine to the project and …

It also tackles a lack if response but it due to certificates.

---

_[View the full topic](https://forums.unrealengine.com/t/request-onprocessrequestcomplete-gets-called-only-on-first-play-session/2080155)._
