Skip to content
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

302 error when using https #243

Closed
mseelig opened this issue Nov 29, 2011 · 6 comments
Closed

302 error when using https #243

mseelig opened this issue Nov 29, 2011 · 6 comments

Comments

@mseelig
Copy link

mseelig commented Nov 29, 2011

I'm trying to use Savon with https and the server is returning a 302 error code. Can Savon follow a redirect?

SOAP response (status 302): #Savon::HTTP::Error:0x107250500

@mseelig mseelig closed this as completed Nov 29, 2011
@flobby
Copy link

flobby commented Oct 11, 2012

mh I have this issue, could you tell me what your problem was? or what solved this? :)

@bhaity
Copy link

bhaity commented Jun 15, 2015

how did you guys get around this?

@anushabitla
Copy link

@mseelig Hi, I am getting this issue, Could you please help me on fixing this.

@bnymn
Copy link

bnymn commented Sep 20, 2016

We also have the same problem? Could anyone make Savon follow HTTP 302 redirect?

@anushabitla
Copy link

@bnymn Hey I solved it by adding :follow_redirects => true to savon object

Eg: client = Savon.client(wsdl: url, ssl_verify_mode: :none, follow_redirects: true)

@FromStoneage
Copy link

client = Savon.client(wsdl: url, ssl_verify_mode: :none, follow_redirects: true)
this would result in your app to run on HTTP port over plain text and all the data are exposed over the SOAP POST call. Any way around to enforce HTTPS without follow_redirects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants