Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnRequestFail and OnRequestComplete events do not trigger after binding #60

Closed
cyberconian opened this issue Apr 12, 2016 · 10 comments
Closed
Labels
help wanted Extra attention is needed research

Comments

@cyberconian
Copy link

The events stated to do not appear to fire when a request is completed.

@pushmatrix
Copy link

pushmatrix commented Apr 21, 2016

bump. I'm getting this too on OSX using the latest release. It shows that the request is being made in the output log though.

@ufna ufna added help wanted Extra attention is needed research labels Apr 26, 2016
@ufna
Copy link
Owner

ufna commented Apr 26, 2016

@cyberconian @pushmatrix What is the url you're launching?

@cyberconian
Copy link
Author

im hitting an internal http url in standard form.
On 26 Apr 2016 3:48 pm, "Vladimir Alyamkin" notifications@github.com
wrote:

@cyberconian https://github.com/cyberconian @pushmatrix
https://github.com/pushmatrix What is the url you're launching?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#60 (comment)

@pushmatrix
Copy link

pushmatrix commented Apr 28, 2016

@ufna Actually my issue was totally a mistake on my end.

What I was trying was:

screen shot 2016-04-27 at 9 10 32 pm

In this case I wasn't storing the constructed JSON request in a variable, meaning that the request that I was binding my OnRequestComplete to was not the same one that was being passed to ProcessURL. I was constructing it twice :(

This fixed it for me:
screen shot 2016-04-27 at 9 09 47 pm

@cyberconian were you doing something similar?

@ufna
Copy link
Owner

ufna commented May 1, 2016

@pushmatrix That's exactly how blueprints work.. :)

Personally I'm using the plugin on all mentioned platforms and last version works like a clock.

Closing the issue, will reopen if @cyberconian provides new details.

@ufna ufna closed this as completed May 1, 2016
@cyberconian
Copy link
Author

Hey guys,
I will re-verify and let you know - I think I may not have been using it
quite correctly.

Regards,

On 2 May 2016 at 05:01, Vladimir Alyamkin notifications@github.com wrote:

@pushmatrix https://github.com/pushmatrix That's exactly how blueprints
work.. :)

Personally I'm using the plugin on all mentioned platforms and last
version works like a clock.

Closing the issue, will reopen if @cyberconian
https://github.com/cyberconian provides new details.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#60 (comment)

@cyberconian
Copy link
Author

Hey guys,
I was doing exactly that - but the event still failed to trigger
(onComplete after event binding as per image above).
As a work around, I am using ApplyURL instead:

[image: Inline images 1]

Still not sure what is happening, but Ill leave it for the time being.

Regards,

On 2 May 2016 at 06:50, Christian Kanakis christian.kanakis@gmail.com
wrote:

Hey guys,
I will re-verify and let you know - I think I may not have been using it
quite correctly.

Regards,

On 2 May 2016 at 05:01, Vladimir Alyamkin notifications@github.com
wrote:

@pushmatrix https://github.com/pushmatrix That's exactly how
blueprints work.. :)

Personally I'm using the plugin on all mentioned platforms and last
version works like a clock.

Closing the issue, will reopen if @cyberconian
https://github.com/cyberconian provides new details.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#60 (comment)

@ufna
Copy link
Owner

ufna commented May 3, 2016

@cyberconian Re-upload the image, please :)

@ufna ufna reopened this May 3, 2016
@xulture
Copy link
Contributor

xulture commented May 3, 2016

Make sure you assign 'Request' to a blueprint variable (not just local variable inside a function).

This will prevent UE's garbage collection from destroying request object before it completed.

@ufna ufna closed this as completed May 30, 2016
@OlliSchu
Copy link

Hey,
I'm having more or less the same issue. My request gets triggered and the data is created on the server but sometimes I'm not getting a response. This is happening more or less random, but most often when I start the game and this is my first request, or sometimes even a little pause. When I fire the event directly after the first try everything is fine but this leads to a lot of trash on my server. I tried saving the request into a blueprint variable but so far it didn't help. Could there be any other reason than the garbage collection?

Best regards

grafik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed research
Projects
None yet
Development

No branches or pull requests

5 participants