[TIMOB-18838] ACS Photo uploads fail with 500 error
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-05-08T18:27:32.000+0000 |
Affected Version/s | Release 4.0.0 |
Fix Version/s | Release 4.0.0, Release 4.1.0 |
Components | TiAPI |
Labels | acs, photo, regression, upload |
Reporter | Sebastian Klaus |
Assignee | Vishal Duggal |
Created | 2015-04-15T12:52:01.000+0000 |
Updated | 2015-05-16T18:42:16.000+0000 |
Description
Photos returned a 500
[INFO] [iphone, 8.1, undefined] {
"success": false,
"error": true,
"code": 500,
"message": "Internal server error. The Appcelerator Cloud Services Team has just been notified of this problem."
}
Please have a look at it.
Could you include the parameters/URL used for this return to happen? And does it always reproduce? CC [~mgadiya]
I can confirm, that this only happens compiled with 4.0.0.Beta2. SDK 3.5.1.GA works as expected. This ist my code:
Working environment:
Using latest ti.cloud 3.2.8
[~fokkezb] can you reproduce this?
I will let that up to [~rtlechuga] if you don't mind ;)
Of course :-) Thank you
Problem can be reproduced on SDK 4.0.0 Bate2, and works well on SDK 3.5.1 as customer mentioned. Test Case:
Also I tried Curl command with REST API, It works well.
So I believe this is the problem from SDK.
Any news for that? I think this is really urgent for all developer who are using ACS
Thank you for the bump. We will fix.
I am able to reproduce this today, using: MacOS 10.10.3 Studio 4.0.0.201505070727 Ti SDK 4.0.0.v20150507131012 Appc NPM 0.3.55 Appc CLI 0.2.280 Ti CLI 4.0.0-beta8 Alloy 1.6.0-beta4 Node v0.10.37
[~wkong] , [~ewieber] ran into similar problem and I looked up the logs on api node and this is showed up:
I think we may have possible ACS issue here.
I'm seeing this issue uploading photos to a destination other than ACS, only in the 4.0.0.x Ti SDK on iOS. Works on Android. I don't think this is an ACS issue. Looking into it more now. First error I see is:
Pulls pending APSHTTPClient - https://github.com/appcelerator/APSHTTPClient/pull/24 Titanium Mobile master - https://github.com/appcelerator/titanium_mobile/pull/6828 4_0_X - https://github.com/appcelerator/titanium_mobile/pull/6829
Booyah. Thank you, All!
Verified using: Mac OSX 10.10.3 Titanium SDK build: 4.0.0.v20150515213410 Appc CLI (NPM): 0.3.56 Appc CLI (Registry): 0.2.287 Using the code attached by Shuo, when uploading a photo to ACS the upload is now successful. Closing ticket