GromoshtanniK / socialauth

Automatically exported from code.google.com/p/socialauth
0 stars 0 forks source link

javax.net.ssl.SSLHandshakeException: General SSLEngine problem #386

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
hello, there is no any problem during the socialConnect() method.. han  i'm 
trying to call this after a success facebook connect:

  try {
            ExternalContext externalContext = FacesContext.getCurrentInstance().getExternalContext();
            HttpServletRequest request = (HttpServletRequest) externalContext.getRequest();
            Map map = SocialAuthUtil.getRequestParametersMap(request);
            if (this.manager != null) {
                AuthProvider provider = manager.connect(map);
                this.profile = provider.getUserProfile();
          System.out.println("User's Social profile: " + profile);                FacesContext.getCurrentInstance().getExternalContext().redirect(originalURL);
            } else {
                FacesContext.getCurrentInstance().getExternalContext().redirect(externalContext.getRequestContextPath() + "home.xhtml");
            }
        } catch (Exception ex) {
            System.out.println("UserSession - Exception: " + ex.toString());
        }

What is the expected output? What do you see instead?
But it throws this: 
Exception: org.brickred.socialauth.exception.SocialAuthException: 
javax.net.ssl.SSLHandshakeException: General SSLEngine problem

What version of the product are you using? On what operating system?
Win 7
Weblogic 12c
socialauth 4.2
and also tried 4.3

Please provide any additional information below.
At the developer.facebook.com my site url is : 
https://localhost:7002/CheckKaller/faces ... but i tried with 
https://localhost:7002/CheckKaller/ too.. each of them doesn't work neither.. 
my login page url is https://localhost:7002/CheckKaller/faces/login.xhtml and 
my succes url is : String successURL = 
"https://localhost:7002/CheckKaller/faces/socialLoginSuccess.xhtml" so i think 
it can't be a problem because it is redirecting to succes page.. but then, 
comes the exception.. :( 

does anyone has any idea to solve this?  

Original issue reported on code.google.com by kuli.gab...@gmail.com on 6 Apr 2015 at 6:58

GoogleCodeExporter commented 8 years ago
Your are using very old version of SocialAuth. Please download the latest 
version socialauth 2.8

https://github.com/3pillarlabs/socialauth

https://sourceforge.net/projects/socialauth/files/latest/download

Original comment by tarunnag...@gmail.com on 10 May 2015 at 7:16