Comments (7)
This still looks like an issue with your credentials.
- Are you using temporary credentials? If so, you will need to specify the session token too
- Are your temp credentials expired?
- Do you have the appropriate rights setup?
from amazon-kinesis-video-streams-producer-sdk-cpp.
@efflorez your security credentials might be missing or invalid. The test application gets the credentials through the environment variables. Here is the relevant info from the Readme.md:
Define AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables with the AWS access key id and secret key: export AWS_ACCESS_KEY_ID={AccessKeyId} export AWS_SECRET_ACCESS_KEY={SecretAccessKey}
optionally, set AWS_SESSION_TOKEN if integrating with temporary token and AWS_DEFAULT_REGION for the region other than us-west-2
Please let me know whether this works.
However, if you have specified your credentials properly and still have auth issues then please take a look at the credential rights in the IAM policy console and make sure you have the right settings there.
from amazon-kinesis-video-streams-producer-sdk-cpp.
thanks for your answer,now i get this issue , i think that there are a request problem
2018-01-12 10:23:07 [139687916152640] DEBUG - Awaiting for the stream to become ready...
2018-01-12 10:23:07 [139687916152640] INFO - Refreshing credentials. Force refreshing: 0 Now time is: 4984 Expiration: 0
2018-01-12 10:23:07 [139687715264256] ERROR - curl perform failed for url https://kinesisvideo.us-east-1.amazonaws.com/describeStream with result Timeout was reached: Resolving timed out after 5516 milliseconds
2018-01-12 10:23:12 [139687715264256] WARN - HTTP Error 0: Response:
Request URL: https://kinesisvideo.us-east-1.amazonaws.com/describeStream
Request Headers:
Authorization: AWS4-HMAC-SHA256 Credential=AKIAJWJGEQVYE2XKA7BA/20180112/us-east-1/kinesisvideo/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=798aba43ff5845ec7acb7eb1f6e94dc00d0ac3528bd9d770a3a74b2c3f85fbe9
content-type: application/json
host: kinesisvideo.us-east-1.amazonaws.com
X-Amz-Date: 20180112T152307Z
2018-01-12 10:23:12 [139687715264256] DEBUG - describeStream response:
2018-01-12 10:23:12 [139687715264256] INFO - Describe stream did not find the stream ebenezer in Kinesis Video (stream will be created)
2018-01-12 10:23:12 [139687715264256]
describeStreamResultEvent(): Describe stream result event.DEBUG - describeStreamHandler invoked
2018-01-12 10:23:12 [139687715264256] INFO - Refreshing credentials. Force refreshing: 0 Now time is: 4990 Expiration: 0
from amazon-kinesis-video-streams-producer-sdk-cpp.
thanks , wich polices should be active ? i have the following ----AmazonKinesisVideoStreamsFullAccess-----AmazonEC2FullAccess
Also i created other key id and setting panel says "2018-01-12 16:33 EST with kinesisvideo in us-east-1" , so i think that i'am using it
from amazon-kinesis-video-streams-producer-sdk-cpp.
@efflorez, from what I see you have a timeout:
2018-01-12 10:23:07 [139687715264256] ERROR - curl perform failed for url https://kinesisvideo.us-east-1.amazonaws.com/describeStream with result Timeout was reached: Resolving timed out after 5516 milliseconds
2018-01-12 10:23:12 [139687715264256] WARN - HTTP Error 0: Response:
Request URL: https://kinesisvideo.us-east-1.amazonaws.com/describeStream
Request Headers:
Authorization: AWS4-HMAC-SHA256 Credential=AKIAJWJGEQVYE2XKA7BA/20180112/us-east-1/kinesisvideo/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=798aba43ff5845ec7acb7eb1f6e94dc00d0ac3528bd9d770a3a74b2c3f85fbe9
content-type: application/json
host: kinesisvideo.us-east-1.amazonaws.com
X-Amz-Date: 20180112T152307Z
The SDK is configured to timeout after ~5 seconds of no response. Can you check you have external gateway configured properly? Do you have internet access on the device? Are the ports enabled (443 port for standard https)?
from amazon-kinesis-video-streams-producer-sdk-cpp.
i test it on raspberry pi and it works good (big latency and the cores was on the top ) but in my laptop i couldnt connect
from amazon-kinesis-video-streams-producer-sdk-cpp.
@MushMal - I'm using a temporary token us explanation has helped me
from amazon-kinesis-video-streams-producer-sdk-cpp.
Related Issues (20)
- [QUESTION] Gstreamer event/message for streaming/connection releated issues in KVS SDK HOT 2
- [QUESTION] kvs_gstreamer_sample hanging after "pad link successful" HOT 1
- compilation error on Ubuntu HOT 1
- [QUESTION] Struggling with KVS streams on iOS HOT 6
- Not able to access media on Media Playback on Kinesis Video Streamer
- [QUESTION] Raspberry Pi からの映像送信でエラーが発生
- I am getting this error while running: cmake -DBUILD_GSTREAMER_PLUGIN=TRUE .. HOT 4
- [BUG] Streaming h.265 video from RTSP HOT 5
- [BUG] HOT 1
- [BUG] Gst plugin kvssink is built as static library
- [FEATURE] Make log level in kvssink configurable. HOT 1
- [BUG] `kvssink` occasionally generates non-monotonic PTS HOT 1
- How to resolve a "MAX_FRAGMENT_DURATION_REACHED" error when trying to stream RTSP camera feed into KVS HOT 3
- Failed to allocate memory HOT 3
- [BUG] HOT 1
- Stream video to your Kinesis video stream and view the live stream HOT 5
- [BUG] KVS Fails to build due to Threadpool.c.o issue HOT 4
- kvs_gstreamer_sample fails to run on Raspberry Pi bookworm
- [QUESTION] Streaming MP4 file data to Kinesis Video Streams results in Transferred a partial file error with CURL HOT 1
- [BUG] "Make" resulting in "incompatible pointer to integer conversion" Errors HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-kinesis-video-streams-producer-sdk-cpp.