Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
AppStream 2.0 createStreamingURL -- Incorrect Endpoint #1189
I am attempting to write a PHP script that uses createStreamingURL() to shuffle users over to AppStream to run apps. However, when I attempt to do this, I am seeing the following in the debug output:
If you notice, the URL it is sending the request to is appstream.us-east-1.amazonaws.com. Invoking the same call using the CLI with debugging turned on shows something different -- and it works:
You will notice here, using appstream_2_.us-east-1.amaazonaws.com, that the CLI gets a 200 and happily returns a JSON object containing the requested streaming URL.
Please investigate. I tried mucking about in the SDK code trying to get it to point at appstream2, but that proved to be more difficult than originally thought.
@seliger Thanks for the information! This is a know bug, PR #1171 is opened to fix the issue, we are working on that.
$appStream = new AppStreamClient([ 'region' => 'us-east-1', 'version' => 'latest', 'endpoint' => 'https://appstream2.us-east-1.amazonaws.com/' ]);
Appreciate your patience : )
Update: tracking #1192 instead.