HTML5 Build failed with LE Http Request

Hi,

i encounter build failed when i try to deploy my package to HTML5, when selected LE HTTP request plugin. The error log is :-

error: Linking globals named ‘_Z14UELinkerFixupsv’: symbol multiply defined!
link textERROR:root:Failed to run llvm optimizations:

I am able to build for Windows version with the plugin, and Html5 without the plugin. i am using UE 4.19.2.

i have seek advice from Low Entry at

link

and he suggest me to submit this error as a bug report here.

Please help.

My packaging to HTML5 was successful (windows 7, 4.19.2), underneath here you’ll find the buildlog and my project’s packaging settings.

Is it possible that the error is due to i build on windows 10?

Could be, I think Epic recommends using windows 10, could you perhaps try packaging on windows 7 to see if that makes a difference?

ok sure i will try to get a windows 7 to package it.
At the same time Mr.LE do you have any idea what does -
“Linking globals named ‘_Z14UELinkerFixupsv’: symbol multiply defined!” means?
could you explain a little bit more on this error for me?
what could possibly cause it?

i also have these errors from the output logs,-

UATHelper: Packaging (HTML5): error: Linking globals named ‘_Z14UELinkerFixupsv’: symbol multiply defined!
PackagingResults: Error: Linking globals named ‘_Z14UELinkerFixupsv’: symbol multiply defined!
UATHelper: Packaging (HTML5): ERROR:root:Failed to run llvm optimizations:
UATHelper: Packaging (HTML5): WARNING:root:Note: Input file “@C:\Users\tatur\AppData\Local\Temp\tmpvg0gxp.response” did not exist.
UATHelper: Packaging (HTML5): ERROR: UBT ERROR: Failed to produce item: D:\1. UE4 Projects\MyProject\Binaries\HTML5\MyProject.js
PackagingResults: Error: UBT ERROR: Failed to produce item: D:\1. UE4 Projects\MyProject\Binaries\HTML5\MyProject.js

Much appreciation and thanks.

I have no idea what exactly that error references to, but I do know that that error often times shows up when there’s something wrong with the compiling itself, it’s a generic error that shows up for a lot of different issues/problems.

Hi LE,
Thanks for your reply and support, i finally able to deploy in html5 successfully. I copied the plugins from engine and pasted to my project/plugins folder, then the deployment was successful.

However, now i encounter another problem. The HTTP request that was successful in editor/windows, now always failed when launch/deploy in html. the response code is ‘-1’. Do you have any idea why the request is not working?

Thanks.

Hi LE, thanks for your help! it’s work so far!
my team is doing some html projects for data transfer indication through sever so,
i will soon get your LE socket connection, can i expect some technical supports from you? XDDD

You might have to add certain headers (server side) to allow UE4 HTTP requests:

Haha great. Yeah you can always expect technical support from me to get you started, just let me know if you have any questions or if you want something better explained.

OWSON, I am trying to do the same thing but my packaging is getting stuck. I simply moved the LE HTTP plugin and the LE JSON plugin from my engines plugins folder to my projects plugins folder. When I start packing for HTML5 it says:

"Building 5 actions with 16 processes…
UATHelper: Packaging (HTML5): [1/5] Module.LowEntryJson.gen.2_of_2.cpp
UATHelper: Packaging (HTML5): emcc:INFO: emcc step “parse arguments and setup” took 0.06 seconds
UATHelper: Packaging (HTML5): emcc:INFO: emcc step “bitcodeize inputs” took 6.65 seconds
UATHelper: Packaging (HTML5): [2/5] Module.LowEntryJson.gen.1_of_2.cpp
UATHelper: Packaging (HTML5): emcc:INFO: emcc step “parse arguments and setup” took 0.11 seconds
UATHelper: Packaging (HTML5): emcc:INFO: emcc step “bitcodeize inputs” took 9.47 seconds
UATHelper: Packaging (HTML5): [3/5] Module.LowEntryJson.cpp
UATHelper: Packaging (HTML5): emcc:INFO: emcc step “parse arguments and setup” took 0.05 seconds
UATHelper: Packaging (HTML5): emcc:INFO: emcc step “bitcodeize inputs” took 7.74 seconds

Then its just stuck there forever. Any advice on this? Since LE are about the only plugins that supposedly work with HTML5 I am desperate to get this working.

OWSON, if you are still around, can I bother you for some help packaging for HTML5 with LE plugins? I have done exactly as you, and other forum threads have said. I moved the plugin from the engine to the project folder and tried packaging. Works fine for windows but gets hung up with HTML5. Get stuck on Building 8 actions, after action 6 it just stops even if I leave it for hours. No errors…

Any help would be appreciated.