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

localで正常に起動するように #15

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

nakagawa1022
Copy link
Collaborator

@nakagawa1022 nakagawa1022 commented Sep 20, 2024

localで動作させた時に少し詰まった箇所があったので修正した。

- READMEタイポ修正
- DELIVERY_OPERATION_NOTIFICATION_ENDPOINT修正
@nakagawa1022 nakagawa1022 reopened this Sep 20, 2024
@nakagawa1022 nakagawa1022 changed the base branch from PB-688 to issue/PB-688 September 20, 2024 07:40

DELIVERY_CONTROL_TOPIC = $(PROJECT_NAME_PREFIX)server-campaign-cache-local
DELIVERY_CONTROL_TOPIC_ARN = arn:aws:sns:ap-northeast-1:000000000000:$(DELIVERY_CONTROL_TOPIC)

start-localstack: ## build sqs mock (elasticmq)
docker run --name touchgift-job-localstack -d --rm -it -p 4566:4566 -p 4567-4582:4567-4582 -e "LOCALSTACK_SERVICES=sns,sqs,dynamodb" localstack/localstack:1.2.0
docker run --name touchgift-job-localstack -d --rm -it -p 4566:4566 -p 4567-4582:4567-4582 -e "LOCALSTACK_SERVICES=sns,sqs,dynamodb" localstack/localstack:3.7.1
Copy link
Collaborator Author

@nakagawa1022 nakagawa1022 Sep 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

localstackのverをあげておかないとSQSコマンド実行時に下記エラーが発生していた。

An error occurred (500) when calling the CreateQueue operation (reached max retries: 2): <?xml version='1.0' encoding='utf-8'?>
<ErrorResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><Error><Code>InternalError</Code><Message>exception while calling sqs with unknown operation: Operation detection failed. Missing Action in request for query-protocol service ServiceModel(sqs).</Message></Error><RequestId>YM0CHXZO7WL5RHJNBUGK9U5U549YFKRDOKM5SLZR30W3AT5VLSOR</RequestId></ErrorResponse>
make[1]: *** [create-sqs-delivery-operation-queue] Error 254
make: *** [create-sqs-all-queue] Error 2


Copy link
Contributor

@NaoyukiGouko NaoyukiGouko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ご対応ありがとうございます。自分の環境でも問題なく動作することを確認しました。

@nakagawa1022 nakagawa1022 merged commit 2bb9859 into issue/PB-688 Sep 24, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

3 participants