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

Failed to construct 'URL' #2064

Closed
halali opened this issue Mar 11, 2018 · 7 comments
Closed

Failed to construct 'URL' #2064

halali opened this issue Mar 11, 2018 · 7 comments

Comments

@halali
Copy link

halali commented Mar 11, 2018

Ombi build Version:

V 3.0.3008

Update Branch:

Develop

Media Sever:

Plex Latest

Operating System:

Windows 10

Ombi Applicable Logs (from /logs/ directory or the Admin page):

There is noghing in log

Problem Description:

after loading page is there only blank black page
and in console is error:

ERROR TypeError: Failed to construct 'URL': Invalid URL
    at t.isWhitelistedDomain (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.handleInterception (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.intercept (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.handle (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.intercept (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.handle (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.handle (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at e.project (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at e._tryNext (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at e._next (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
It @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.handleError @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
(anonymous) @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.invoke @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e.run @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.runOutsideAngular @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
(anonymous) @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.invoke @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
onInvoke @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.invoke @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e.run @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
(anonymous) @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.invokeTask @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
onInvokeTask @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.invokeTask @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e.runTask @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
m @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
Promise.then (async)
f @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.scheduleTask @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e.scheduleTask @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e.scheduleMicroTask @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
k @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.then @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.bootstrapModule @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
(anonymous) @ main.ts:38
r @ bootstrap 5995225b861a3ec53877:49
(anonymous) @ bootstrap 5995225b861a3ec53877:144
(anonymous) @ bootstrap 5995225b861a3ec53877:144
vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1 Unhandled Promise rejection: Failed to construct 'URL': Invalid URL ; Zone: <root> ; Task: Promise.then ; Value: TypeError: Failed to construct 'URL': Invalid URL
    at t.isWhitelistedDomain (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.handleInterception (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.intercept (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.handle (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.intercept (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.handle (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.handle (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at e.project (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at e._tryNext (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at e._next (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1) TypeError: Failed to construct 'URL': Invalid URL
    at t.isWhitelistedDomain (http://localhost:5000/dist/vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1:1387729)
    at t.handleInterception (http://localhost:5000/dist/vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1:1388318)
    at t.intercept (http://localhost:5000/dist/vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1:1388646)
    at t.handle (http://localhost:5000/dist/vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1:2592805)
    at t.intercept (http://localhost:5000/dist/vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1:2598434)
    at t.handle (http://localhost:5000/dist/vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1:2592805)
    at t.handle (http://localhost:5000/dist/vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1:2598991)
    at e.project (http://localhost:5000/dist/vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1:2591034)
    at e._tryNext (http://localhost:5000/dist/vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1:561550)
    at e._next (http://localhost:5000/dist/vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1:561452)
n.onUnhandledError @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
p @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
n.microtaskDrainDone @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
m @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
Promise.then (async)
f @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.scheduleTask @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e.scheduleTask @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e.scheduleMicroTask @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
k @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.then @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.bootstrapModule @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
(anonymous) @ main.ts:38
r @ bootstrap 5995225b861a3ec53877:49
(anonymous) @ bootstrap 5995225b861a3ec53877:144
(anonymous) @ bootstrap 5995225b861a3ec53877:144
2vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1 Uncaught (in promise) TypeError: Failed to construct 'URL': Invalid URL
    at t.isWhitelistedDomain (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.handleInterception (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.intercept (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.handle (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.intercept (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.handle (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at t.handle (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at e.project (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at e._tryNext (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
    at e._next (vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1)
t.isWhitelistedDomain @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.handleInterception @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.intercept @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.handle @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.intercept @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.handle @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.handle @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
(anonymous) @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e._tryNext @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e._next @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e.next @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e._subscribe @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t._trySubscribe @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.subscribe @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.call @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.subscribe @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.call @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.subscribe @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.call @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.subscribe @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e.connect @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.call @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.subscribe @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.call @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.subscribe @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.setDefaultLang @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t @ app.component.ts:38
To @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
Eo @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
is @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
Jo @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
bs @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e.create @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e.create @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.bootstrap @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
(anonymous) @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t._moduleDoBootstrap @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
(anonymous) @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.invoke @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
onInvoke @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.invoke @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e.run @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
(anonymous) @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.invokeTask @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
onInvokeTask @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.invokeTask @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e.runTask @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
m @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
Promise.then (async)
f @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.scheduleTask @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e.scheduleTask @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
e.scheduleMicroTask @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
k @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1
t.then @ vendor.js?v=FIPr4LHcZ9qO5AtoME6jqVc-r5M9OWOyHcZRsyamX0s:1

Reproduction Steps:

start server
open browser

@tidusjar
Copy link
Member

What did you do before this happened?

If you rename ombi.db to something else then start up does it work?

@halali halali closed this as completed Mar 11, 2018
@halali halali reopened this Mar 11, 2018
@halali
Copy link
Author

halali commented Mar 11, 2018

it happend after last update or maybe last 2 updates...

after rename DB and create new, it still happening...

Tried dowsnload master branch 3000 and it works, after back to develop 3008 and still same issue

@claym
Copy link

claym commented Mar 11, 2018

I just recreated my docker instance and I'm getting this error in Chrome as well.

It seems to work fine in Edge.

@halali
Copy link
Author

halali commented Mar 11, 2018

In edge im getting same error

@xunil75
Copy link

xunil75 commented Mar 11, 2018

I have the same problem on both Browsers.

@halali
Copy link
Author

halali commented Mar 11, 2018

Solved, thx

@claym
Copy link

claym commented Mar 11, 2018

Yep, fixed now. Thanks for the quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants