HTTP 302 & "Found"

You are here

HTTP 302 & "Found"

4 posts / 0 new
Last post
mccachar
mccachar's picture
HTTP 302 & "Found"

Greetings,

I'm new to AS2 in general and Mendelson in particular. I was able to setup a pair of my own Mendelson servers and send back and forth (across my firewall). I'm now testing with our client (who I understand is using Gentran Integration Suite) and having some trouble. Here's what I get when sending:

[2:23:44 PM] mendelson_opensource_AS2-1255026224856-2@transfertest.mydomain.com_RECIPIENT_AS2ID: Outgoing message signed with the algorithm SHA-1,using keystore alias "transfertest".
[2:23:45 PM] mendelson_opensource_AS2-1255026224856-2@transfertest.mydomain.com_RECIPIENT_AS2ID: Outgoing message encrypted with the algorithm 3DES, using keystore alias "genentechit".
[2:23:45 PM] mendelson_opensource_AS2-1255026224856-2@transfertest.mydomain.com_RECIPIENT_AS2ID: Outbound AS2 message created from "portecle-1.4.zip" for the receiver "TheirPartnerName" in 874ms, raw message size: 1.82 MB
[2:23:46 PM] mendelson_opensource_AS2-1255026224856-2@transfertest.mydomain.com_RECIPIENT_AS2ID: Sending message to http://b2bqa.theirdomain.com/as2/inbound, sync MDN requested.
[2:23:47 PM] mendelson_opensource_AS2-1255026224856-2@transfertest.mydomain.com_RECIPIENT_AS2ID: Transmission failed, remote AS2 server reports "Found".
[2:23:47 PM] mendelson_opensource_AS2-1255026224856-2@transfertest.mydomain.com_RECIPIENT_AS2ID: Transaction state written to /opt/as2/messages/TheirPartnerName/sent/transfertest_mydomain_com/20091008/portecle-1.4.zip_mendelson_opensource_AS2_1255026224856_2@transfertest_m....
[2:23:49 PM] mendelson_opensource_AS2-1255026224856-2@transfertest.mydomain.com_RECIPIENT_AS2ID: A transaction error notification mail has been sent to cmccabe@mydomain.com.
[2:23:49 PM] mendelson_opensource_AS2-1255026224856-2@transfertest.mydomain.com_RECIPIENT_AS2ID: HTTP 302
[2:23:49 PM] mendelson_opensource_AS2-1255026224856-2@transfertest.mydomain.com_RECIPIENT_AS2ID: Message payload stored to "/opt/as2/messages/TheirPartnerName/error/transfertest_mydomain_com/20091008/AS2Message2724902597445064517.as2".
[2:23:49 PM] mendelson_opensource_AS2-1255026224856-2@transfertest.mydomain.com_RECIPIENT_AS2ID: Raw outgoing message stored to "/opt/as2/messages/TheirPartnerName/error/transfertest_mydomain_com/20091008/raw/error2994481955003921022.raw".
[2:23:49 PM] mendelson_opensource_AS2-1255026224856-2@transfertest.mydomain.com_RECIPIENT_AS2ID: Transaction state written to /opt/as2/messages/TheirPartnerName/sent/transfertest_mydomain_com/20091008/portecle-1.4.zip_mendelson_opensource_AS2_1255026224856_2@transfertest_m....
[2:23:52 PM] mendelson_opensource_AS2-1255026224856-2@transfertest.mydomain.com_RECIPIENT_AS2ID: A transaction error notification mail has been sent to cmccabe@mydomain.com.

We're being required to use HTTP auth. I've used a browser to confirm that the name and password are correct, and that output doesn't seem to suggest that there's an authentication issue.

Can anyone shed some light on what's going on? Is there any more detailed logging anywhere?

Thanks,
Chaz

heller
heller's picture

mccachar,

"HTTP 302 Found" is the message for a HTTP redirection on your partners side.

See http://en.wikipedia.org/wiki/HTTP_302

Please ask your partner to remove the redirection.

Regards
Heller

mccachar
mccachar's picture

UPDATE: Got this one figured out. They redirect from the HTTP URL they gave me to HTTPS. I just changed their target URL to HTTPS:// and it worked fine. Now I have some NoSuchAlgorithmException error, but I see posts about that and I'll spend some time reading them before I come crawling back for help ; )

================================

Thanks for the rapid response.

I'm aware that a 302 is a redirect. This is a multi-$B company I'm connecting to, they do it all the time with other partners, and so I ASSume whatever they're doing normally works. Is it possible that MEC "should" be able to deal with the redirection?

There is something curious, however...after I posted my request, I noticed that there was a new build yesterday. When I tried to DL it from SF, in two different browsers, I got "redirect loop" errors. I then RDPed to a machine offsite and downloaded it just fine. For the life of me, I can't think of a local problem that would hose redirections.

FYI, using 1.1b29, I get the 302, but I don't get the "Found" line.

Thanks,
Chaz

neilparks1
neilparks1's picture