The creation of a compute context for a China region failed because the 
`FormSignerV4` didn't allow China endpoints.

The error happens at constructor injection time when Guice is building all 
singleton objects. The `IllegalArgumentException` thrown there causes an 
infinite loop and ends up in an `OutOfMemoryexception`.

@andrewgaul @demobox Despite having only added the China suffix in this commit, 
I'd rather remove completely this validation, as it provides very little value. 
If the endpoint does not support V4 signatures, users will probably see a 
self-explanatory error response coming back. WDYT?
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds/pull/1142

-- Commit Summary --

  * JCLOUDS-1258: Allow China endpoints in FormSignerV4

-- File Changes --

    M apis/sts/src/main/java/org/jclouds/aws/filters/FormSignerV4.java (3)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/1142.patch
https://github.com/jclouds/jclouds/pull/1142.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1142

Reply via email to