HTML5>Chrome: SyntaxError.Unexpected Token ILLEGAL

Does not work on remote server_ (:

HTML5>Chrome: SyntaxError.Unexpected Token ILLEGAL

HTML5>IE: ScriptError

.htaccess

AddType "text/javascript" .gz
AddEncoding gzip .gz


AddType "text/css" .gz
AddEncoding gzip .gz

localhost testing: Works

I have this problem as well. Localhost works fine but not remote server. “Uncaught SyntaxError: Unexpected token ILLEGAL”.

Hey Xangs,

Are you only having this trouble with Chrome, or is it with FireFox and as well? Where are you remotely setting up your HTML5 project at? Please provide additional information so we can look into this further.

Thanks!

I do not use FireFox .
On server shared hosting static files compression is enabled by default . Static files are processed web server Nginx, access to which there is no setting .

Hey Xangs,

Could you please verify that remote server for your HTML5 project does not work on Chrome, Chromium, and Firefox? With that verification, we will be able to dig into that information more.

Also, are there any additional error codes or that is being sent once you try to host your game?

Thanks!

Here is address of domain with this error: [http://reverseside.ru/][1]
Error in Chrome, Chromium and Internet Explorer.

http://reverseside.ru

Hi!
REG.RU virtual hosting servers compress static files is enabled by default. (gzip_static on)

URL Compression Test
Checks for compression via mod_gzip, mod_deflate, or any server-side language that does content compression. reverseside.ru is Compressed.
(Your Browser is Requesting Compressed Content)

Are there any options?

Hi Xangs,

I’ve had a look at response headers from a local test and from reverseside.ru. It appears that reverseside.ru is not responding with content encoding of “gzip”. I’m not very ferminlar with Nginx but from looking into [this link here][1] is seems you need to enable static compression hosting on server by adding
location / {
gzip_static on;
}
to server config…

Compression and Decompression | NGINX Plus

Even if static compression is enabled for some reason response headers are not being sent with gzip encoding. I not sure what would cause that to happen.

However, you can try hosting all files as uncompressed. To do this, unzip any .gz files (e.g. *.js.gz or *.jz.mem.gz) and then change .html file to not reference any .gz files. Hopefully, that will fix your issue as cost of increased download times.

If REG.RU has on–fly compression enabled by default you may not notice any difference.

Well. I will try today.

Hey Xangs,

Please let us know whether or not you’ve been able to use information provided by JoJo in order to progress further.

Looking forward to hearing back from you, thanks!

Hi!
Part of problem solved, error no longer appears, but still not loading resources.
It remains to use functionality of compression resources before sending it to , temporarily.

Xangs,

Could you make sure that you try all that’s suggested on this [post][1]?
We know of issue that’s currently happening for those using HTML5 and are actively working on it however, we are trying to create work-around solutions in process.

Thanks!

4.9 Packaged HTML5 Project - b83 error - Platform & Builds - Epic Developer Community Forums

Yes, I tried this solution, error is not displayed but download is not happening. In uncompressed form, everything works.

Please use uncompressed form at this time. We have a report in our system, listed as: UE-20600. issue found is that .gz or gzip is causing trouble with remote servers.

This issue is not fixed yet however it is assigned to a developer. I’d suggest to check on this issue within a few weeks.

Thank you!

Thanks, I will wait for decision.

Hi guys, i have same error, any solution?

Thanks

Not at this time. UE-20600 has not been updated yet. We will post here when we see any change in its status.

still no news?

UE-20600 is backlogged, I haven’t seen any movement on this issue yet.