Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
oyvind  
#1 Posted : Friday, December 17, 2010 5:21:30 AM(UTC)
oyvind

Rank: Member

Groups: Member
Joined: 12/17/2010(UTC)
Posts: 24

Was thanked: 1 time(s) in 1 post(s)
Hi

I get the following error when trying to upload with the flash image uploader:

Package upload error: Error #2170

How can I view detailed error information?

Thanks :)
Dmitry.Obukhov  
#2 Posted : Sunday, December 19, 2010 9:04:10 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello,

Thanks for contacting us.

The error #2170 means: Security sandbox violation: %1 cannot send HTTP headers to %2. You experience this problem because you use two different domains (please confirm it). One of them is used for Image Uploader hosting, the second - for uploading of files. This is disabled by security reasons of Adobe Flash.

In this case, you should configure settings of Flash to enable uploading of files to the domain.

Also, please note that if you ever purchase the production version of Image Uploader Flash, you should purchase two licenses for two domains.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
oyvind  
#3 Posted : Monday, December 20, 2010 1:57:26 AM(UTC)
oyvind

Rank: Member

Groups: Member
Joined: 12/17/2010(UTC)
Posts: 24

Was thanked: 1 time(s) in 1 post(s)
Yes, we're uploading from www.domain.com to upload.domain.com. Is there anywhere I can see the error details, cause I've also got an 2032 error, when uploading to a script on the same domain.

Thanks :)
oyvind  
#4 Posted : Monday, December 20, 2010 3:10:49 AM(UTC)
oyvind

Rank: Member

Groups: Member
Joined: 12/17/2010(UTC)
Posts: 24

Was thanked: 1 time(s) in 1 post(s)
We've also put a crossdomain file on the target server with the contents of:

Code:
<cross-domain-policy>
<allow-access-from domain="*"/>
</cross-domain-policy>


And we know flash reads it, because we initially put it in the wrong place, and we got a 404 and the flash uploader wouldn't go on.

Also, using Firefox for testing.

Edited by moderator Monday, January 24, 2011 7:53:21 AM(UTC)  | Reason: Not specified

oyvind  
#5 Posted : Monday, December 20, 2010 3:18:43 AM(UTC)
oyvind

Rank: Member

Groups: Member
Joined: 12/17/2010(UTC)
Posts: 24

Was thanked: 1 time(s) in 1 post(s)
Installing the debug version of flash player reveals the detailed error messages :)
oyvind  
#6 Posted : Monday, December 20, 2010 3:39:28 AM(UTC)
oyvind

Rank: Member

Groups: Member
Joined: 12/17/2010(UTC)
Posts: 24

Was thanked: 1 time(s) in 1 post(s)
Got rid of the #2170 error by putting the following in the crossdomain.xml file:

Code:
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*" to-ports="*"/>
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>


Problem solved :)

Edited by moderator Monday, January 24, 2011 7:52:19 AM(UTC)  | Reason: Not specified

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.