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

Error: Unable to publish when Delegation Enable #830

Closed
asasar opened this issue Aug 13, 2020 · 2 comments
Closed

Error: Unable to publish when Delegation Enable #830

asasar opened this issue Aug 13, 2020 · 2 comments

Comments

@asasar
Copy link

asasar commented Aug 13, 2020

I am following Self hosting the portal documentation.

Bug description

At enable the identity delegation and trying to publish the site with the command

npm run publish

Publishing {"message":"Publishing website..."}
Publishing {"message":"Publishing page APIs: Changelog - Microsoft Azure API Management - developer portal..."}
Publishing {"message":"Publishing page APIs: List - Microsoft Azure API Management - developer portal..."}
Publishing {"message":"Publishing page Errors: 500 Internal error - Microsoft Azure API Management - developer portal..."}
Publishing {"message":"Publishing page APIs: Details - Microsoft Azure API Management - developer portal..."}
Publishing {"message":"Publishing page Change password - Microsoft Azure API Management - developer portal..."}
Publishing {"message":"Publishing page Confirm password - Microsoft Azure API Management - developer portal..."}
Publishing {"message":"Publishing page Errors: 404 Page not found - Microsoft Azure API Management - developer portal..."}
Publishing {"message":"Publishing page Sign in - Microsoft Azure API Management - developer portal..."}
Publishing {"message":"Publishing page Sign up - Microsoft Azure API Management - developer portal..."}
Publishing {"message":"Publishing page Products: Details - Microsoft Azure API Management - developer portal..."}
Publishing {"message":"Publishing page Sign up with OAuth - Microsoft Azure API Management - developer portal..."}
Publishing {"message":"Publishing page Products: List - Microsoft Azure API Management - developer portal..."}
Publishing {"message":"Publishing page Reset password - Microsoft Azure API Management - developer portal..."}
Publishing {"message":"Publishing page Home - Microsoft Azure API Management - developer portal..."}
Error: Unable to complete publishing. Error: Unable to complete pages publishing. Error: Unable to publish page "Sign in":
0 t PagePublisher. (C:\pathToFiles\dist\publisher\index.js :44939:23)
at Generator.throw ()
at rejected (C:\pathToFiles\dist\publisher\index.js:44793:65)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at PagePublisher. (C:\pathToFiles\dist\publisher\index.js :44974:23)
at Generator.throw ()
at rejected (C:\pathToFiles\dist\publisher\index.js:44793:65)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at SitePublisher. (C:\pathToFiles\dist\publisher\index.js:63433:23)
at Generator.throw ()
at rejected (C:\pathToFiles\dist\publisher\index.js:63399:65)

Reproduction steps

  1. Go to Developer portal -> Delegation
  2. Check Delegate sign-in & sign-up
  3. Enter Delegation endpoint URL -> https://myIdentityServer4.azurewebsites.net/Account/Delegation
  4. Save
  5. npm run publish

Is your portal managed or self-hosted?

Self-hosted

Release tag or commit SHA (if using self-hosted version)

[e.g., release 2.0.0, commit c45da9778b70d369aba60fa2e63c191efe2b548f]

@tOmoness
Copy link

Related to #785 for sure.

@ygrik
Copy link
Collaborator

ygrik commented Aug 18, 2020

Please add following parameter in config.publish.json
"backendUrl": "https://.developer.azure-api.net"

Close with #834

@ygrik ygrik closed this as completed Aug 18, 2020
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