-
-
Notifications
You must be signed in to change notification settings - Fork 394
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
[V4] Stuck on "Loading...", Uncaught SyntaxError: Unexpected token '<' when running reverse proxy #3483
Comments
Hi! |
@SleeplessSloth -- I had the same problem. For some reason a hard reload of the page was the only thing that would get past the loading screen (I also had identical console errors and logs). In Chrome, open developer tools, then right click the normal refresh button and choose hard reset. |
Didn't work, there's no difference between a normal reload and a hard reset sadly |
Very odd indeed. The error actually came back for me after a restart of Ombi. My only recourse was to stop the service, wipe out any trace of the config file, and run it again. (I run it as a docker container). Restarting or changing versions did nothing to help the problem. Only once I completed deleted the config folder. |
how are you starting ombi up? Are you passing any args? |
for me, docker compose:
|
|
I'm getting the same results. Even with the newest version release I can still only get the page to load via localhost, and even then it never makes it past the loading screen. Also seeing the same error in chrome developer tools of an unexpected <. |
It works when accessed from the internet via reverse proxy, but does not work when accessed directly |
I am also experiencing this issue on v4.0.365. |
If you have applied a base URL then you need to access ombi through a reverse proxy |
@tidusjar in v4.0.365 when attempting to access via reverse proxy with the base url set, the page appears blank/white, and the console shows the error |
And you restarted ombi after making the Base URL change right? What are you using to reverse proxy it? |
Correct, restarted Ombi, and changed my reverse proxy from pointing to my Ombi v3 instance to my v4 instance, no other settings changed. The v3 instance works perfectly with no issues accessing with the base URL. Reverse proxy is Nginx |
Please share your proxy config |
See attached text file. Ombi is being redirected too as per the /request location. |
I just attempted to upgrade from v3 to v4 and I am having the same behavior. Accessing it through the nginx reverse proxy just produces a white screen. Accessing it directly via port 3579, with or without the /plexreq/ in the URL produces a colored loading screen that spins endlessly. Firefox console shows SyntaxError: expected expression, got '<' Using the latest linuxserver.io Ombi and Let'sEncrypt containers.
|
I'm seeing the same errors and issues on my install as well. Switch my docker container to use the v4-preview tag of the linuxserver.io container. The container starts and doesn't show any errors in it's stdout logs. However, when attempting to access the interface I just get a spinning loading screen. |
Getting the same issues with my install (blank white screen) using the v4-preview docker tag. My nginx reverse proxy config for reference:
|
I tried removing all my databases and doing a completely fresh setup of the v4-preview container and it still didn't work. Ombi doesn't seem to honor the baseurl setting at all in v4. I was able to get to the instance without using a baseurl, but absolutely could not get the baseurl to work with or without an nginx reverse proxy in front of it. |
I'm seeing the same loading issue with v4 running on a Qnap. Had to revert back to using v3. |
I am having the same problem. With a base url, you are stuck on loading../blank screen for direct connect/nginx reverse proxy respectively. |
OK, When using a reverse proxy, if you are passing in the baseurl as a startup argument all good, if you are setting it in the Settings pages, Ombi requires a restart. Then you need to make sure your Proxy Config is all good see here: https://github.com/tidusjar/Ombi/wiki/Reverse-Proxy-v4 Once you have changed your proxy config ensure you restart Nginx. You should be then able to access V4 via the proxy address. |
It looks like the reverse proxy config is correct. Also the *rr apps works through the proxy.
|
and what is the URL you are accessing ombi on? |
https://aaa.duckdns.org/ombi or http://192.168.0.40:3579. I get the same errors in console for both urls: (index):8 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. "Unexpected token '<'" are usually the result of an invalid reference to a resource as the filename is hashed and the site returns a 404 page which begins with a < |
When accessing |
The base path is /
…On Tue, Oct 13, 2020 at 9:44 AM Jamie ***@***.***> wrote:
When accessing https://aaa.duckdns.org/ombi what is the Base Href in the
DOM?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3483 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACLJXJCQG2VC3GLXGTLYIDSKQAONANCNFSM4MF2A5EQ>
.
--
/Jörgen Bergström
|
I have not merged this fix in as I would like some more testing on the build, so there is no docker container for it. I could merge it in but due to the many different configurations that people are using to run ombi, i'd be worried that it would just cause more issues. If anyone is available to test it outside of a docker container, that would be fantastic |
more than happy to test it, perhaps I can make a copy of the repo into my own repo and building a container myself of it? as I am also on your discord channel, we can discuss over there how to do it? I don't understand the link to the Azure host where I see some files? |
But isn't the problem exactly in this docker configuration? People who have letsencrypt + ombi running in docker containers are the ones with the problems, aren't they? At least that's the case for me. |
I am running Ombi 4 on Windows behind nginx reverse proxy & letsencrypt on the frontend. Accessing via the WAN (https://mydomain/request) is not an issue. I did not have this problem on v3 |
The actual way you are running ombi makes no difference @shanester64 please try the build above. |
@tidusjar I tried the test build that was sent but mine was still giving the Uncaught Syntax Error. Here is the setup/config: Version: Ombi V4 custom build Reverse proxy config:
|
Still doesn't seem to work with the test build OS: Windows server 2019
Even going to 127.0.0.1:5000 gives infinite loading. Maybe this first line is the culprit?:
|
I have the same issue. Running on a local install, not sudo, not docker. Reverted back to the stable v4 build. Ombi opens just fine: https://pastebin.com/tzQ3Jsmn My proxypass setup: I can access the /reqombi/swagger url just fine, but the /reqombi and /reqombi/api just returns blank pages. Browser console output: NGINX Log (removed website name and username etc): Edit: Tried to revert to Ombi v3, and the proxypass works there :/. Must be something in v4 |
Same issues with me, I just updated from v3 to v4. Using Caddy on Windows 10 x64, reverse proxy does not work. Strangely, i can still access directly (ip address and port) but the base url that I have set in the configuration and even through startup options don't reflect in the url. I've tried a fresh install and the issue still persists --baseurl doesn't seem to work specifically. No matter what I change it to, it doesn't go into effect. If I log into the OMBI and look at settings it will show the baseurl in settings. |
I'm having the same issue without a reverse proxy/base url in docker v4-preview. If you need more log data, let me know. |
I'm also having this issue. Ubuntu 20.04 with nginx setup per the instructions in wiki. blank screen. Works flawlessly with Firefox but not in edge. I'm using a baseurl Ok so this is very weird. Everything works perfectly if I access it from a browser that I did not use to setup Ombi initially. So on my server I can’t access Ombi through Edge but all other browsers work, and edge works if I access through edge on my desktop. I’ve confirmed that all browsers work fine as long as it as not the browser I originally accessed Ombi via local host. This is true if I start with a clean install and initially setup with another browser. |
Using hotio/ombi:testing instead of linuxserver/ombi:development helped a bit. Still get many errors, but not stuck on loading. So I'll check it out some more and maybe add a new issue. |
I run Ombi v4 on a Windows server on port 80, and then use Cloudflare to connect to it over the WAN. |
This appears to be fixed in the latest version v4.0.1128 |
I just updated to v4.0.1131 and it's still not loading on mobile devices, but working perfectly on desktop browsers. |
@tobyraistrick works for me .. had to wait a while until the container comes up and cleared browser cache. |
Oh yeah, when I tested in Private mode in Safari, it loaded. I can't get all my users to clear their browser cache. Is there anything I can do in the application to make this work normally? I've already tried purging all Cloudflare cache. |
Updated to v4.0.1131. Confirmed local and reverse proxy access working on Win64 |
I fixed my issue by upgrading from caddy V1 to caddy V2. I reinstalled ombi by deleting the folder and installing the amd64 version and copying the 3 files (Ombi.db, ombiexternal.db, ombisettings.db) Changed my Caddy settings to V2 and viola, working reverse proxy. |
Seems to be working for me now as well |
Running v4.0.1131 and it works great 😄 !! |
So just to update you, this is something i've been working on the past few months to try and resolve. It's not been easy due to this doesn't seem like a supported scenario in Angular. But I think i've cracked it and but the response in here it seems like I have so far. Thanks for the feedback everyone |
Working perfectly for me now, thanks so much @tidusjar !! |
thanks a lot, got it working! used latest version of linuxserver docker. |
This does not seem to be fixed, I am getting the issue on 4.0.1142.0. To reproduce:
EDIT: of course a few minutes after writing this I found: https://docs.ombi.app/info/known-faults/#unauthorized-access-to-indexhtml For some reason /opt/Ombi was not owned by ombi, a quick chown and it's working correctly now. |
It's also working for me. |
Describe the bug
After first installing and starting Ombi, the page is stuck on "Loading..." with nothing happening
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The OOBE should begin shortly after opening the page
Logs (Logs directory where Ombi is located)
Server log:
Client log:
Chrome:
Firefox:
Desktop (please complete the following information):
Ombi Version (please complete the following information):
I've tried both the latest release
v3.0.4892
and the latest dev buildv3.0.5115-develop
The text was updated successfully, but these errors were encountered: