This repository was archived by the owner on May 23, 2024. It is now read-only.
Description Describe the bug
I am getting a Connection reset by peer error when sending a curl request to the built container.
To reproduce
./scripts/build.sh --version 2.0.0 --arch gpu
./scripts/start.sh --version 2.0.0 --arch gpu
curl -X POST --data-binary @test/resources/inputs/test.json
-H 'Content-Type: application/json'
-H 'X-Amzn-SageMaker-Custom-Attributes: tfs-model-name=half_plus_three'
http://localhost:8080/invocations
These steps can be found in the « Building your image » section from here
Expected behavior
The server should give a JSON response corresponding to the input data.
Screenshots or logs
If applicable, add screenshots or logs to help explain your problem.
System information
A description of your system. Please provide:
Toolkit version : Ubuntu 18.04 AMI (AWS EC2 Instance).
Framework version : Docker version 20.10.5, build 55c4c8
Python version :3.6
CPU or GPU :GPU
Custom Docker image (Y/N) :N
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Describe the bug
I am getting a Connection reset by peer error when sending a curl request to the built container.
To reproduce
-H 'Content-Type: application/json'
-H 'X-Amzn-SageMaker-Custom-Attributes: tfs-model-name=half_plus_three'
http://localhost:8080/invocations
These steps can be found in the « Building your image » section from here
Expected behavior
The server should give a JSON response corresponding to the input data.
Screenshots or logs
If applicable, add screenshots or logs to help explain your problem.
System information
A description of your system. Please provide:
Additional context
Add any other context about the problem here.