Botframework-composer: Problem publishing

Created on 7 Jan 2021  路  16Comments  路  Source: microsoft/BotFramework-Composer

Describe the bug

Unable to publish bot to azure using bot composer. It spins indefinitely with no status update and no error in the application... There is only an error in the console.. HTTP status code 431 Request Header Fields Too Large.

I tried using newer nightly build.. but I am also unable to uninstall bot composer.. When I launch the uninstaller it comes with NSIS error

Version

Bot composer V 1.3

Browser

  • [ ] Electron distribution
  • [x] Chrome
  • [ ] Safari
  • [ ] Firefox
  • [ ] Edge

OS

  • [ ] macOS
  • [x] Windows
  • [ ] Ubuntu

To Reproduce

Steps to reproduce the behavior:

  1. Go to Publish menu within Bot Framework Composer
  2. Click on Publish Bot
  3. Bot is never published
  4. Error is in the console in developer tools

Expected behavior

Expected the bot to be published as an azure web app

Screenshots

image

image

Additional context

Bot Services Support Runtime & Publishing Bug customer-replied-to customer-reported

All 16 comments

Watching this. New to Bots and the Composer application. I'm receiving same problem, and now looking for a way to downgrade if possible. After many attempts for trying to figure out what I did wrong, I'm seeing this 431 err too.

image

Managed to downgrade to 1.2.1 and can successfully publish to Azure. Unfortunate as I really like the features and organization of 1.3 (plus documentation is updated for it too).

https://github.com/microsoft/BotFramework-Composer/issues/5335 got fixed. @ryan-daly-AgFCS you can try out latest nightly.

Thanks @hibrenda - I gave that a try, but I'm still receiving the 431 error, then subsequent 404. Composer doesn't update to indicate it is accepted for publishing like 1.2.1 does. It essentially just sits there spinning, and never finishes.

image

Here is the results when I uninstalled the nightly, then reinstalled 1.2.1 on the same bot files:

image

@hibrenda @luhan2017 Could you follow up please?

We have a similar issue here. FYI.
https://github.com/MicrosoftDocs/composer-docs/issues/73#issuecomment-758924520

Yes I also tried installing latest nightly and still received the same 431 and 404 errors..

It seems like the accessToken is too large to set in the http header, @kalebk could you give us your arm token(even an expired one is ok) for testing, so that we can see how large it would be?

And there is another issue. frontend should show error when accept 431 or 404 instead of loading, @alanlong9278 could you help to take a look?

I don't have access to get it quickly right now, but I see in a previous message that I sent my teammate that it's 9,538 characters. I can try to provide tomorrow if needed

Sure, I will cover 202, 200, 404, 431, 500 http status in frontend in #5375

You closed the issue but I still see the error on the nightly build df53a98
image

Still getting HTTP 431 when publishing
image

@tiagonmas we just found the change on this PR will not take effect in electron app. could you try to set this environment variable before start the nightly composer build, and try again?

NODE_OPTIONS="--max-http-header-size=16000"

@luhan2017 it worked with that setting! :)

Was this page helpful?
0 / 5 - 0 ratings