This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2025-03-18T15:11:58.526+0200 [DEBUG] backend-s3: HTTP Response Received: aws.region=us-west-1 aws.s3.bucket=<bucket> aws.s3.key=issue-2570-state-file rpc.method=PutObject rpc.service=S3 rpc.system=aws-api tf_aws.sdk=aws-sdk-go-v2 tf_aws.signing_region="" http.duration=175 http.status_code=400 http.response.header.connection=keep-alive http.response.header.cache_control="max-age=0, no-cache, no-store" http.response.header.date="Tue, 18 Mar 2025 13:11:58 GMT" http.response.header.strict_transport_security=max-age=63072000 | |
http.response.body= | |
| <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
| <Error> | |
| <Code>InvalidArgument</Code> | |
| <Message>Unsupported header 'x-amz-checksum-sha256' received for this API call.</Message> | |
| </Error> | |
http.response_content_length=200 http.response.header.server=nginx http.response.header.x_amz_request_id=3579085b00e92d6b http.response.header.x_amz_id_2="aMzkzjjU0MJ41ozAxZXJmL2E+ZWtmFDSu" http.response.header.content_type=application/xml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2025-03-18T11:06:42.857+0200 [DEBUG] backend-s3: HTTP Request Sent: aws.region=us-west-1 aws.s3.bucket=<bucket-name> aws.s3.key=<lock-state-object-name>.tflock rpc.method=PutObject rpc.service=S3 rpc.system=aws-api tf_aws.sdk=aws-sdk-go-v2 tf_aws.signing_region="" http.request.header.authorization="AWS4-HMAC-SHA256 Credential=<obfuscated>, SignedHeaders=accept-encoding;amz-sdk-invocation-id;amz-sdk-request;content-encoding;content-length;content-type;host;if-none-match;x-amz-content-sha256;x-amz-date;x-amz-decoded-content-length;x-amz-trailer, Signature=*****" http.request.header.accept_encoding=identity http.request.header.x_amz_decoded_content_length=253 http.request.header.amz_sdk_request="attempt=1; max=5" http.request.header.x_amz_date=20250318T090642Z http.request.body="[Redacted: 295 bytes, Type: application/json]" http.request.header.amz_sdk_invocation_id=d4288450-6932-4996-aaef-0c9559af9580 http.request.header.content_encoding=aws-chunked http.request.header.x_amz_content_sha256=STREAMING-UNSIGNED-PA |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
web: | |
build: ./web | |
container_name: web-client | |
networks: | |
- internal-network | |
server: | |
build: ./server | |
container_name: product-service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vcl 4.1; | |
backend default { | |
.host = "web-client"; | |
.port = "80"; | |
} | |
backend productService { | |
.host = "product-service"; | |
.port = "8080"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:jessie | |
RUN \ | |
useradd -r -s /bin/false varnishd | |
# Install Varnish source build dependencies. | |
RUN \ | |
apt-get update && apt-get install -y --no-install-recommends \ | |
automake \ | |
build-essential \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
web: | |
build: ./web | |
container_name: websocket-client | |
ports: | |
- "8081:80" | |
server: | |
build: ./server | |
container_name: product-service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM nginx | |
COPY index.html /usr/share/nginx/html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.12.1 | |
WORKDIR /ws-server | |
ADD main.go go.sum go.mod /ws-server/ | |
RUN go build | |
ENTRYPOINT ["/ws-server/product-service"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Products</title> | |
</head> | |
<body> | |
<p>Product List:</p> | |
<ul id="products"> | |
</ul> | |
<script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"sync" |
NewerOlder