-
Notifications
You must be signed in to change notification settings - Fork 119
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
Re-Open #2945: AppSync realtime endpoint URL is not correct for AWS China regions #2957
Comments
Thank you for the report. We will take a look |
@wulianer Can you provide a code snippet showing how you configured the CN region? I verified that the regex correctly identifies The smoking gun is this part of the endpoint that it's trying to hit: The URL of the endpoint when it goes into the regex should not have a trailing |
Thanks for the reply. Yes I did find the trailing |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Before opening, please confirm:
Language and Async Model
Kotlin
Amplify Categories
GraphQL API
Gradle script dependencies
// Put output below this line
Environment information
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
The latest 2.24.1 release note claims that it fixes the bug in ticket #2945 but actually it still exists.
This is the AppSync Endpoint URL (good for query/mutation methods):
This is the realtime Endpoint that the SDK 2.24.1 tries to access:
which is not correct. It returns 404 and causes subscription failure.
The correct URL should be sth like this:
Reproduction steps (if applicable)
No response
Code Snippet
// Put your code below this line.
Log output
amplifyconfiguration.json
No response
GraphQL Schema
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: