Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Cannot connect in https

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I seen a few post about that and also a few solution with a google search but none as worked for me.
I get this when I try to connect to me tomcat in https:


SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)



This is the ssl connector part of my server.xml:


Any Help would be appreciated
Thanks
 
Alan Melrose
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone?
 
Bartender
Posts: 20924
127
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You typically get this message when you have a mismatch between the protocol that your client is using and the protocol that the server is expecting; usually sending HTTP to an HTTPS listener.

Search back in this forum a week or 2, however, and there's another thread on this subject that should be of interest to you.
 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to specify the protocol in 'server.xml'.

Check out this post.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!