0

BingTranslateAPIで構成されるMVC3Webアプリケーションがあります。エミュレーターではすべて正常に動作しますが、エミュレーターをWindows Azureに展開すると、この問題が何度も発生します(2回以上再試行します)。

Instance 0 of role Website is busy
Instance 0 of role Website is cycling

非常に長い間サイクリングで停止します。そしてポータルで、私はこのメッセージを見ます:

Waiting for role to start... System is initializing

すでに「Add deployable assemblies」を選択し、アカウントストレージへの接続文字列もチェックしたすべての参照をtrueにCopy Local = true チェックし、アカウントストレージを介してクラウドで動作するようにプロジェクトを設定しました。

そしてここにBingTranslateAPIの私のweb.configがあります

<system.serviceModel>
    <bindings>
      <basicHttpBinding>
        <binding name="BasicHttpBinding_LanguageService" closeTimeout="00:25:00"
          openTimeout="00:25:00" receiveTimeout="00:25:00" sendTimeout="00:25:00"
          allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
          maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
          messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
          useDefaultWebProxy="true">
          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
          <security mode="None">
            <transport clientCredentialType="None" proxyCredentialType="None"
              realm="" />
            <message clientCredentialType="UserName" algorithmSuite="Default" />
          </security>
        </binding>
      </basicHttpBinding>
    </bindings>
    <client>
      <endpoint address="http://api.microsofttranslator.com/V2/soap.svc"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_LanguageService"
        contract="BingTranslator.LanguageService" name="BasicHttpBinding_LanguageService" />
    </client>
  </system.serviceModel>

私は長い間検索してきましたが、何もうまくいきません。助けてください。よろしくお願いします

4

1 に答える 1

0

これらのエラーを何らかの情報に変換する方法について、あなたの何かを思いつくことができます:

ケース 1:ステータスが Web ロール内でループしている:

  1. WebRole開始
  2. WebRole ビジー
  3. Webロール サイクリング
  4. WebRole 不明な状態
  5. WebRole の再起動

これはロール固有の問題である可能性があり、インスタンスに RDP を実行して、潜在的な例外の Azure Diagnostics ログ、イベント ログ、Azure BootStrapper ログ、IIS Configurator ログなどを探すのが最善の策です。潜在的な問題に関するすべての詳細を含む Azure Storage から Azure Diagnostics ログを取得できない限り、他のどの方法よりも迅速に問題を解決できます。

ケース 2:フル マシン内でステータスがループしている:

  1. 起動...
  2. 初期化中...
  3. WebRole開始
  4. WebRole ビジー
  5. Webロール サイクリング
  6. WebRole の再起動

これは、VM 自体が循環しているマシン固有の問題である可能性があります。これは、Windows Azure サポート チームに連絡して調査することをお勧めします。

于 2012-05-30T18:42:09.010 に答える