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

OpenJDK 1.8 SSL error #367

Open
anilj opened this issue May 20, 2016 · 1 comment
Open

OpenJDK 1.8 SSL error #367

anilj opened this issue May 20, 2016 · 1 comment

Comments

@anilj
Copy link

anilj commented May 20, 2016

I have openjdk8-1.8.66nb1 installed.
I get this exception when trying to start Glassfish. Happened to a few different people too:
https://www.mail-archive.com/smartos-discuss@lists.smartos.org/msg02750.html

https://bugzilla.redhat.com/show_bug.cgi?id=1167153

Reproduce it with:
Download and unzip this file (as user test1):
http://download.java.net/glassfish/4.1.1/release/glassfish-4.1.1.zip

If you don't do this as root, make sure to allow test1 access to lower ports:
usermod -K defaultpriv=basic,net_privaddr test1

asadmin create-domain --adminport 4848 --instanceport 80 --domainproperties http.ssl.port=443 --domaindir /home/test1/domains test1
asadmin change-admin-password
asadmin --port 4848 enable-secure-admin
asadmin start-domain --domaindir /home/test1/domains test1

Login to https://host:4848

[2016-05-20T01:17:08.211+0000] [glassfish 4.1] [WARNING] [] [org.glassfish.grizzly.filterchain.DefaultFilterChain] [tid: _ThreadID=44 _ThreadName=admin-listener(4)] [timeMillis: 1463707028211] [levelValue: 900] [[
GRIZZLY0013: Exception during FilterChain execution
java.lang.Error: BAD
at sun.security.ssl.HandshakeHash.getFinishedHash(HandshakeHash.java:249)
at sun.security.ssl.HandshakeMessage$Finished.getFinished(HandshakeMessage.java:1945)
at sun.security.ssl.HandshakeMessage$Finished.verify(HandshakeMessage.java:1914)
at sun.security.ssl.ServerHandshaker.clientFinished(ServerHandshaker.java:1679)
at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:305)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:1025)
at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:907)
at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:781)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
at org.glassfish.grizzly.ssl.SSLUtils.sslEngineUnwrap(SSLUtils.java:460)
at org.glassfish.grizzly.ssl.SSLConnectionContext.unwrap(SSLConnectionContext.java:189)
at org.glassfish.grizzly.ssl.SSLUtils.handshakeUnwrap(SSLUtils.java:286)
at org.glassfish.grizzly.ssl.SSLBaseFilter.doHandshakeStep(SSLBaseFilter.java:638)
at org.glassfish.grizzly.ssl.SSLBaseFilter.doHandshakeStep(SSLBaseFilter.java:587)
at org.glassfish.grizzly.ssl.SSLBaseFilter.handleRead(SSLBaseFilter.java:304)
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)

@mamash
Copy link

mamash commented Aug 24, 2016

Good old erroneous auto-close by GitHub.

@mamash mamash reopened this Aug 24, 2016
jperkin pushed a commit that referenced this issue Oct 22, 2016
version 1.11.1: 2016-06-14

    * new guesser infrastructure, support for emacs and vim modelines (#489)
    * javascript bugfix for nested objects with quoted keys (#496)
    * new theme: Gruvbox (thanks @jamietanna!)
    * praat: lots of improvements (thanks @jjatria)
    * fix for rougify error when highlighting from stdin (#493)
    * new lexer: kotlin (thanks @meleyal!)
    * new lexer: cfscript (thanks @mjclemente!)

version 1.11.0: 2016-06-06

    * groovy:
	o remove pathological regexes and add basic support for
	  triple-quoted strings (#485)
	o add the "trait" keyword and fix project url (thanks @glaforge! #378)
    * new lexer: coq (thanks @gmalecha! #389)
    * gemspec license now more accurate (thanks @connorshea! #484)
    * swift:
	o properly support nested comments (thanks @dblessing! #479)
	o support swift 2.2 features (thanks @radex #376 and @wokalski #442)
	o add indirect declaration (thanks @nRewik! #326)
    * new lexer: verilog (thanks @Razer6! #317)
    * new lexer: typescript (thanks @Seikho! #400)
    * new lexers: jinja and twig (thanks @robin850! #402)
    * new lexer: pascal (thanks @alexcu!)
    * css: support attribute selectors (thanks @skoji! #426)
    * new lexer: shell session (thanks @sio4! #481)
    * ruby: add support for <<~ heredocs (thanks @tinci! #362)
    * recognize comments at EOF in SQL, Apache, and CMake (thanks @julp! #360)
    * new lexer: phtml (thanks @Igloczek #366)
    * recognize comments at EOF in CoffeeScript (thanks @rdavila! #370)
    * c/c++:
	o support c11/c++11 features (thanks @Tosainu! #371)
	o Allow underscores in identifiers (thanks @coverify! #333)
    * rust: add more builtin types (thanks @RalfJung! #372)
    * ini: allow hyphen keys (thanks @KrzysiekJ! #380)
    * r: massively improve lexing quality (thanks @klmr! #383)
    * c#:
	o add missing keywords (thanks @BenVlodgi #384 and @SLaks #447)
    * diff: do not require newlines at the ends (thanks @AaronLasseigne! #387)
    * new lexer: ceylon (thanks @bjansen! #414)
    * new lexer: biml (thanks @japj! #415)
    * new lexer: TAP - the test anything protocol (thanks @mblayman! #409)
    * rougify bugfix: treat input as utf8 (thanks @japj! #417)
    * new lexer: jsonnet (thanks @davidzchen! #420)
    * clojure: associate *.cljc for cross-platform clojure (thanks @alesguzik! #423)
    * new lexer: D (thanks @nikibobi! #435)
    * new lexer: smarty (thanks @tringenbach! #427)
    * apache:
	o add directives for v2.4 (thanks @stanhu!)
	o various improvements (thanks @julp! #301)
	    - faster keyword lookups
	    - fix nil error on unknown directive (cf #246, #300)
	    - properly manage case-insensitive names (cf #246)
	    - properly handle windows CRLF
    * objective-c:
	o support literal dictionaries and block arguments (thanks @BenV!
	  #443 and #444)
	o Fix error tokens when defining interfaces (thanks @meleyal! #477)
    * new lexer: NASM (thanks @sraboy! #457)
    * new lexer: gradle (thanks @nerro! #468)
    * new lexer: API Blueprint (thanks @kylef! #261)
    * new lexer: ActionScript (thanks @honzabrecka! #241)
    * terminal256 formatter: stop confusing token names (thanks @julp! #367)
    * new lexer: julia (thanks @mpeteuil! #331)
    * new lexer: cmake (thanks @julp! #302)
    * new lexer: eiffel (thanks @Conaclos! #323)
    * new lexer: protobuf (thanks @fqqb! #327)
    * new lexer: fortran (thanks @CruzR! #328)
    * php: associate *.phpt files (thanks @Razer6!)
    * python: support raise from and yield from (thanks @mordervomubel! #324)
    * new VimL example (thanks @tpope! #315)
jperkin pushed a commit that referenced this issue Mar 6, 2017
v0.2.2:
not documented

v0.2.1

    Add the rel HTML attribute to the footer links which point to the previous and next pages.
    Fix toctree issue caused by Sphinx singlehtml builder (#367)

v0.2.0

    Adds the comments block after the body block in the template
    Added "Edit on GitLab” support
    Many bug fixes

v0.1.10-alpha

    Removes Sphinx dependency
    Fixes hamburger on mobile display
    Adds a body_begin block to the template
    Add prev_next_buttons_location which can take the value bottom, top, both , None and will display the “Next” and “Previous” buttons accordingly
jperkin pushed a commit that referenced this issue Jun 5, 2017
0.8.4					2017/05/31

* Revert "Don't allow nil to be submitted as a key to i18n.translate()"

0.8.3					2017/5/30

* I18n::Gettext#plural_keys will now return a hash from Gettext if no
  arguments are provided - #122
* Fixed a bug where passing false to translate would not translate that value
  - #367

0.8.2					2017/5/30

* Do not allow nil to be passed to translate - #236
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants