問題タブ [graphql-playground]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
0 に答える
9 参照

spring-boot - GraphQL Playground で 404 エラーが発生するのはなぜですか?

SpringBoot を使用して GraphQL サーバーを動作させるのに問題があります。

実際、遊び場はウェブ上に表示されていますが、何もできません。これは、Graphql プレイグラウンドから取得しているエラーです。 "error": "Response not successful: Received status code 404" クエリとリゾルバーの右側にあるプレイグラウンド ドキュメントは無限に読み込まれます。

遊び場エラー

0 投票する
0 に答える
94 参照

amazon-web-services - AWS Elastic Beanstalk で Spring Boot バックエンドからサブスクリプションの GraphQL スキーマを取得する方法

テストのために、Playgroundをプロジェクトに追加しました。http://localhost:5000/playground の場合、すべてが OK で、Spring Bootバックエンドに接続され、通知をリッスンしてい ます。ここに画像の説明を入力 ここで、Elastic Beanstalkで、サブスクリプション スキーマを取得できません。(お知らせ)

ここに画像の説明を入力

wssを作成するために、これらの 2 行を .platform\nginx\conf.d\https.conf に追加しました
([この URL に従って] ここにリンクの説明を入力してください graphql subscription Could not connect to websocket endpoint at elastic beanstalk )

結果は

この問題を処理するには、どうすれば.platform\nginx\conf.dにファイルを設定する必要がありますか?