HTTPClient polled multiple times #15

Closed
opened 2022-10-28 18:15:27 +02:00 by SnipFernandez · 3 comments
SnipFernandez commented 2022-10-28 18:15:27 +02:00 (Migrated from github.com)

I am trying to use the library and that it comes by default exporting to html5 with godot 3.5, but when I receive a chat message, it goes into a loop with the following error:

tmp_js_export.js:369 WARNING: HTTPClient polled multiple times in one frame, but request cannot progress more than once per frame on the HTML5 platform.

tmp_js_export.js:369 at: poll (platform/javascript/http_client_javascript.cpp:270) - HTTPClient polled multiple times in one frame, but request cannot progress more than once per frame on the HTML5 platform.

and from there everything stops working.

I am trying to use the library and that it comes by default exporting to html5 with godot 3.5, but when I receive a chat message, it goes into a loop with the following error: tmp_js_export.js:369 WARNING: HTTPClient polled multiple times in one frame, but request cannot progress more than once per frame on the HTML5 platform. tmp_js_export.js:369 at: poll (platform/javascript/http_client_javascript.cpp:270) - HTTPClient polled multiple times in one frame, but request cannot progress more than once per frame on the HTML5 platform. and from there everything stops working.
issork commented 2022-11-06 15:41:24 +01:00 (Migrated from github.com)

This is because threads are not supported on the HTML5 platform. I will rewrite this to use the HTTPRequest node instead with Godot 4.0.

Edit: This only affects automatically downloading emotes and badges. It should work with the image cache disabled.

This is because threads are not supported on the HTML5 platform. I will rewrite this to use the HTTPRequest node instead with Godot 4.0. Edit: This only affects automatically downloading emotes and badges. It should work with the image cache disabled.
SnipFernandez commented 2022-11-06 16:57:07 +01:00 (Migrated from github.com)

That's right, I was researching and saw what that was, thanks :)

That's right, I was researching and saw what that was, thanks :)
SnipFernandez commented 2022-11-06 16:58:10 +01:00 (Migrated from github.com)

I close the thread, because I understand that it will be solved in godot 4

I close the thread, because I understand that it will be solved in godot 4
Sign in to join this conversation.
No description provided.