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

Deploy.bundle.js - Error: transition superseded #18

Closed
itzmesaran opened this issue Mar 17, 2018 · 12 comments
Closed

Deploy.bundle.js - Error: transition superseded #18

itzmesaran opened this issue Mar 17, 2018 · 12 comments

Comments

@itzmesaran
Copy link

When i try to install this on a DNN 9.1.1 installation, i get
Deploy.bundle.js?cdv=334:1 Error: transition superseded
Error: transition prevented
Error: transition aborted
https://{domainname}/DesktopModules/PolyDeploy/API/Session/Create 403 (Forbidden)

Possibly unhandled rejection: {"data":{"Message":"Access denied."},"status":403,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"/DesktopModules/PolyDeploy/API/Session/Create","headers":{"Accept":"application/json, text/plain, /","ModuleId":2520,"TabId":"675","__RequestVerificationToken":"_PQ1Idob6iJgnLnU61Fu8ruJ57bMSCEheCYFDag0wdF8JB9rKFzHf3Se00LBp43AVw3F9ofEbKEEnY3s0","RequestVerificationToken":"_PQ1Idob6iJgnLnU61Fu8ruJ57bMSCEheCYFDag0wdF8JB9rKFzHf3Se00LBp43AVw3F9ofEbKEEnY3s0"}},"statusText":"Forbidden","xhrStatus":"complete"}

Any tips on how to resolve this?

@ghost
Copy link

ghost commented Mar 19, 2018

There's a few things that might cause this:

  • Are you logged in using a host account?
  • Are you either accessing the website from the machine it's hosted on, or from an IP address which is whitelisted?

@itzmesaran
Copy link
Author

Thanks for the prompt reply.

  • Yes, earlier i got the error as host user. I tried logging in as non-admin user as well who has access to that page and still got the same error.
  • No, I'm not accessing the website from the machine it's hosted on. My IP address is not whitelisted.

@ghost
Copy link

ghost commented Mar 19, 2018

I think the problem you're encountering is because you're accessing from an IP address which PolyDeploy hasn't been told to trust.

If you login as a host user on the machine hosting the website you'll be able to access the management UI and add the IP address you're accessing from currently to the whitelist. For added ease, the Event Log within PolyDeploy will have logged the IP address you've been trying to access from.

@itzmesaran
Copy link
Author

Thank you. I logged in to the actual web server where the site is hosted and login as host user, but i still receive the same error message. (I was connected using gotomypc though since i can't physically access the server at the moment). Please assist.

@ghost
Copy link

ghost commented Mar 19, 2018

Hmmm, it's possible that this may be related to #16.

Do you have access to the database? As a temporary measure you could add the IP address you wish to access in to the Cantarus_PolyDeploy_IPSpecs table manually. Viewing the Cantarus_PolyDeploy_EventLog may also give additional information in case it's nothing to do with the whitelist check.

@Swimburger
Copy link

@can-anierzad, adding the IP directly to the SQL database worked as a great workaround for us. We couldn't log into DNN from the host machine, the workaround resolved the need for configuring from the host machine.

@ghost
Copy link

ghost commented Oct 4, 2018

@Sniels, using the latest version (v0.8.0) you can disable the IP whitelist check for individual API users entirely if that's helpful.

Glad the work around got everything working for you though.

@ghost ghost closed this as completed Oct 4, 2018
@mtrutledge
Copy link

I am experiencing this issue on a Evoq Content 9.2.2 instance. I am logged in is a host account and accessing the site from url dnndev.me which is pointed to ip address 127.0.0.1 in the hosts file. I have version 0.8.0 installed. Any ideas?

@ghost
Copy link

ghost commented Jan 17, 2019

@mtrutledge, if you peek in to the database and look at the Cantarus_PolyDeploy_EventLogs table you should be able to see why you're being denied access to the UI.

@mtrutledge
Copy link

When I look at that table it is empty. I checked to make sure I am still receiving the javascript error and I am. I attempted to re-install the component as well thinking that maybe something was corrupt. I still receive the same error. However, the UI allows me to upload and install extensions.

This is the output from the browser console:

Deploy.bundle.js?cdv=5079:1 Error: transition superseded
    at $StateProvider.$get (Deploy.bundle.js?cdv=5079:1)
    at Object.invoke (Deploy.bundle.js?cdv=5079:1)
    at Deploy.bundle.js?cdv=5079:1
    at getService (Deploy.bundle.js?cdv=5079:1)
    at injectionArgs (Deploy.bundle.js?cdv=5079:1)
    at Object.invoke (Deploy.bundle.js?cdv=5079:1)
    at Deploy.bundle.js?cdv=5079:1
    at forEach (Deploy.bundle.js?cdv=5079:1)
    at Object.<anonymous> (Deploy.bundle.js?cdv=5079:1)
    at Object.invoke (Deploy.bundle.js?cdv=5079:1) "Possibly unhandled rejection: {}"
(anonymous) @ Deploy.bundle.js?cdv=5079:1
(anonymous) @ Deploy.bundle.js?cdv=5079:1
processChecks @ Deploy.bundle.js?cdv=5079:1
$digest @ Deploy.bundle.js?cdv=5079:1
$apply @ Deploy.bundle.js?cdv=5079:1
(anonymous) @ Deploy.bundle.js?cdv=5079:1
invoke @ Deploy.bundle.js?cdv=5079:1
i @ Deploy.bundle.js?cdv=5079:1
bootstrap @ Deploy.bundle.js?cdv=5079:1
angularInit @ Deploy.bundle.js?cdv=5079:1
(anonymous) @ Deploy.bundle.js?cdv=5079:1
j @ jquery.min.js?cdv=5079:2
k @ jquery.min.js?cdv=5079:2
setTimeout (async)
(anonymous) @ jquery.min.js?cdv=5079:2
i @ jquery.min.js?cdv=5079:2
fireWith @ jquery.min.js?cdv=5079:2
fire @ jquery.min.js?cdv=5079:2
i @ jquery.min.js?cdv=5079:2
fireWith @ jquery.min.js?cdv=5079:2
ready @ jquery.min.js?cdv=5079:2
S @ jquery.min.js?cdv=5079:3
Deploy.bundle.js?cdv=5079:1 Error: transition prevented
    at $StateProvider.$get (Deploy.bundle.js?cdv=5079:1)
    at Object.invoke (Deploy.bundle.js?cdv=5079:1)
    at Deploy.bundle.js?cdv=5079:1
    at getService (Deploy.bundle.js?cdv=5079:1)
    at injectionArgs (Deploy.bundle.js?cdv=5079:1)
    at Object.invoke (Deploy.bundle.js?cdv=5079:1)
    at Deploy.bundle.js?cdv=5079:1
    at forEach (Deploy.bundle.js?cdv=5079:1)
    at Object.<anonymous> (Deploy.bundle.js?cdv=5079:1)
    at Object.invoke (Deploy.bundle.js?cdv=5079:1) "Possibly unhandled rejection: {}"
(anonymous) @ Deploy.bundle.js?cdv=5079:1
(anonymous) @ Deploy.bundle.js?cdv=5079:1
processChecks @ Deploy.bundle.js?cdv=5079:1
$digest @ Deploy.bundle.js?cdv=5079:1
$apply @ Deploy.bundle.js?cdv=5079:1
(anonymous) @ Deploy.bundle.js?cdv=5079:1
invoke @ Deploy.bundle.js?cdv=5079:1
i @ Deploy.bundle.js?cdv=5079:1
bootstrap @ Deploy.bundle.js?cdv=5079:1
angularInit @ Deploy.bundle.js?cdv=5079:1
(anonymous) @ Deploy.bundle.js?cdv=5079:1
j @ jquery.min.js?cdv=5079:2
k @ jquery.min.js?cdv=5079:2
setTimeout (async)
(anonymous) @ jquery.min.js?cdv=5079:2
i @ jquery.min.js?cdv=5079:2
fireWith @ jquery.min.js?cdv=5079:2
fire @ jquery.min.js?cdv=5079:2
i @ jquery.min.js?cdv=5079:2
fireWith @ jquery.min.js?cdv=5079:2
ready @ jquery.min.js?cdv=5079:2
S @ jquery.min.js?cdv=5079:3
Deploy.bundle.js?cdv=5079:1 Error: transition aborted
    at $StateProvider.$get (Deploy.bundle.js?cdv=5079:1)
    at Object.invoke (Deploy.bundle.js?cdv=5079:1)
    at Deploy.bundle.js?cdv=5079:1
    at getService (Deploy.bundle.js?cdv=5079:1)
    at injectionArgs (Deploy.bundle.js?cdv=5079:1)
    at Object.invoke (Deploy.bundle.js?cdv=5079:1)
    at Deploy.bundle.js?cdv=5079:1
    at forEach (Deploy.bundle.js?cdv=5079:1)
    at Object.<anonymous> (Deploy.bundle.js?cdv=5079:1)
    at Object.invoke (Deploy.bundle.js?cdv=5079:1) "Possibly unhandled rejection: {}"
(anonymous) @ Deploy.bundle.js?cdv=5079:1
(anonymous) @ Deploy.bundle.js?cdv=5079:1
processChecks @ Deploy.bundle.js?cdv=5079:1
$digest @ Deploy.bundle.js?cdv=5079:1
$apply @ Deploy.bundle.js?cdv=5079:1
(anonymous) @ Deploy.bundle.js?cdv=5079:1
invoke @ Deploy.bundle.js?cdv=5079:1
i @ Deploy.bundle.js?cdv=5079:1
bootstrap @ Deploy.bundle.js?cdv=5079:1
angularInit @ Deploy.bundle.js?cdv=5079:1
(anonymous) @ Deploy.bundle.js?cdv=5079:1
j @ jquery.min.js?cdv=5079:2
k @ jquery.min.js?cdv=5079:2
setTimeout (async)
(anonymous) @ jquery.min.js?cdv=5079:2
i @ jquery.min.js?cdv=5079:2
fireWith @ jquery.min.js?cdv=5079:2
fire @ jquery.min.js?cdv=5079:2
i @ jquery.min.js?cdv=5079:2
fireWith @ jquery.min.js?cdv=5079:2
ready @ jquery.min.js?cdv=5079:2
S @ jquery.min.js?cdv=5079:3
Deploy.bundle.js?cdv=5079:1 Error: transition failed
    at $StateProvider.$get (Deploy.bundle.js?cdv=5079:1)
    at Object.invoke (Deploy.bundle.js?cdv=5079:1)
    at Deploy.bundle.js?cdv=5079:1
    at getService (Deploy.bundle.js?cdv=5079:1)
    at injectionArgs (Deploy.bundle.js?cdv=5079:1)
    at Object.invoke (Deploy.bundle.js?cdv=5079:1)
    at Deploy.bundle.js?cdv=5079:1
    at forEach (Deploy.bundle.js?cdv=5079:1)
    at Object.<anonymous> (Deploy.bundle.js?cdv=5079:1)
    at Object.invoke (Deploy.bundle.js?cdv=5079:1) "Possibly unhandled rejection: {}"
(anonymous) @ Deploy.bundle.js?cdv=5079:1
(anonymous) @ Deploy.bundle.js?cdv=5079:1
processChecks @ Deploy.bundle.js?cdv=5079:1
$digest @ Deploy.bundle.js?cdv=5079:1
$apply @ Deploy.bundle.js?cdv=5079:1
(anonymous) @ Deploy.bundle.js?cdv=5079:1
invoke @ Deploy.bundle.js?cdv=5079:1
i @ Deploy.bundle.js?cdv=5079:1
bootstrap @ Deploy.bundle.js?cdv=5079:1
angularInit @ Deploy.bundle.js?cdv=5079:1
(anonymous) @ Deploy.bundle.js?cdv=5079:1
j @ jquery.min.js?cdv=5079:2
k @ jquery.min.js?cdv=5079:2
setTimeout (async)
(anonymous) @ jquery.min.js?cdv=5079:2
i @ jquery.min.js?cdv=5079:2
fireWith @ jquery.min.js?cdv=5079:2
fire @ jquery.min.js?cdv=5079:2
i @ jquery.min.js?cdv=5079:2
fireWith @ jquery.min.js?cdv=5079:2
ready @ jquery.min.js?cdv=5079:2
S @ jquery.min.js?cdv=5079:3

I double checked my web.config as well and have the

    <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />

line in the appSettings section.

@mtrutledge
Copy link

Could the error be related to this: angular-ui/ui-router#3246

I am seeing this same behavior in multiple 9.2.2 instances.

@ghost
Copy link

ghost commented Jan 18, 2019

@mtrutledge, if you can access the PolyDeploy UI successfully then your IP address is correctly whitelisted and there should be no issue using the module.

The transition superseded error messages are indeed to do with ui-router. They shouldn't affect the functioning of the module.

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

No branches or pull requests

3 participants