Jump to content
The Uniform Server Community

PHP SSL client error, openssl issue...


Yoni
 Share

Recommended Posts

Hi there,

 

I'm unable to sync with Google's calendar from my webmail application... Doing some investigation this is what I get from cURL debug:

 

error:14092073:SSL routines:SSL3_GET_SERVER_HELLO:bad packet length

 

I believe PHP is throwing this error because OpenSSL is compiled with no-tlsext? I'm on Coral 8.0.0 and this is really an issue affecting my production system. Is it there a work around to fix this? Can I use apache binaries to allow my application to work?

 

Any tip is appreciated. This is the first and only issue that I have really faced with UniServer Coral running in production :blink:

 

I think I have hit a month or so of uptime and even when there isn't much traffic yet Uniserver seems rock solid.

 

Please, give me some hints on how to resolve this issue...

<p class="bbc_center"><span style="font-size:12px;"><strong>Yoni</strong></span></p>

Link to comment
Share on other sites

Wow. this is waaay beyond my knowledge base. I have NO experience with programming for SSL transactions. I don't know the extent of Ric's knowledge in this area, either.

 

Since you're working with Google's app, you might be able to tap them for some help (maybe) :blink: Hey, it's worth a try.

 

Other possibilities for help are php.net or openssl.

 

I suggest that you map out the transaction as well as you can, perhaps using a packet logger, so that you can be sure just what's being passed.

 

Sorry I can't be more help.

Regards,

BobS

Link to comment
Share on other sites

HAH!

I got a "maybe" clue from this post: http://stackoverflow.com/questions/1555145...r-email-library

This fix was related to the CHARSET specified. Instead of UTF-8, try iso-8859-1. Check out the link for additional info.

 

Regards,

BobS

Link to comment
Share on other sites

Hi Bob,

Thanks a lot for your help. Your good intention is honestly priceless. I was able to solve the issue by upgrading my openssl and php versions respectively. I used the 8.2.0 php and ssl after some testing on my 8.0.0 installation.

 

It is all good now. I haven't seen any errors in my logs yet so the "upgrade" can be considered a success.

 

I'm able to finally sync my personal calendar and google's...

 

Thank you so much. I will look at other things within the package and upgrade them slowly after testing. I can't afford to break it at this point. If ain't broken ain't fix it. That's how I do it :blink:

<p class="bbc_center"><span style="font-size:12px;"><strong>Yoni</strong></span></p>

Link to comment
Share on other sites

You can test the webmail here:

 

http://webmail.unlockforus.com (Google Calendar now syncs beautifully)

 

Demo account

----------------

 

Bob, check the site out. Nothing special to brag about it except the fact that it is fully "Uniserved" :blink:

http://unlockforus.com

 

Server Uptime and Server Load http://unlockforus.com/server

 

Wondering why newer APC version was not included with the latest 8.2.0 release?

 

Newer PHP + APC rocks! I'm testing eAccelerator in another server and it also seems to do wonders. Need to put it under real stress to see how it behaves.

<p class="bbc_center"><span style="font-size:12px;"><strong>Yoni</strong></span></p>

Link to comment
Share on other sites

There are users reporting issues with the latest apache bundle. I think it would be wise to make an extraordinary package (mix of 8.0.0 apache with 8.2.0 php, openssl, mysql, etc.) I think this would give the stability users are looking for in UniServer. Just offer it as an alternative package or something like that. It does work well and I have had it up there for over a month without a crash yet... Would that make sense?

<p class="bbc_center"><span style="font-size:12px;"><strong>Yoni</strong></span></p>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...