Coder Social home page Coder Social logo

Comments (3)

skavanagh avatar skavanagh commented on June 5, 2024

from bastillion.

preske87 avatar preske87 commented on June 5, 2024

Hello @skavanagh and thank you. This indeed changes the pattern, but still bastillion is not getting accessible.

Log now says

plenty of downloads...
Downloaded from central: https://repo.maven.apache.org/maven2/org/eclipse/jdt/ecj/3.19.0/ecj-3.19.0.jar (2.9 MB at 2.3 MB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/checkerframework/checker-qual/3.12.0/checker-qual-3.12.0.jar (209 kB at 158 kB/s)
bastillion_1  | [INFO] webAppSourceDirectory not set. Trying src/main/webapp
bastillion_1  | [INFO] Reload Mechanic: automatic
bastillion_1  | [INFO] nonBlocking:false
bastillion_1  | [INFO] Classes = /Bastillion/target/classes
bastillion_1  | [INFO] Configuring Jetty for project: Bastillion
bastillion_1  | [INFO] Logging initialized @15505ms to org.eclipse.jetty.util.log.Slf4jLog
bastillion_1  | [INFO] Configuring Jetty from xml configuration file = /Bastillion/src/test/resources/jetty.xml
bastillion_1  | [INFO] Configuring Jetty from xml configuration file = /Bastillion/src/test/resources/jetty-ssl.xml
bastillion_1  | [WARNING] Deprecated constructor public org.eclipse.jetty.util.ssl.SslContextFactory() in file:///Bastillion/src/test/resources/jetty-ssl.xml
bastillion_1  | [INFO] Configuring Jetty from xml configuration file = /Bastillion/src/test/resources/jetty-https.xml
bastillion_1  | [INFO] Context path = /
bastillion_1  | [INFO] Tmp directory = /Bastillion/target/tmp
bastillion_1  | [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
bastillion_1  | [INFO] Web overrides =  none
bastillion_1  | [INFO] web.xml file = file:///Bastillion/src/main/webapp/WEB-INF/web.xml
bastillion_1  | [INFO] Webapp directory = /Bastillion/src/main/webapp
bastillion_1  | [INFO] jetty-9.4.48.v20220622; built: 2022-06-21T20:42:25.880Z; git: 6b67c5719d1f4371b33655ff2d047d24e171e49a; jvm 18.0.2-ea+9-Ubuntu-222.04
bastillion_1  | [INFO] Scanning elapsed time=171ms
bastillion_1  | [INFO] DefaultSessionIdManager workerName=node0
bastillion_1  | [INFO] No SessionScavenger set, using defaults
bastillion_1  | [INFO] node0 Scavenging every 660000ms
bastillion_1  | Setting Bastillion SSH public/private key pair
bastillion_1  | Finger print: ad:3c:51:af:77:bf:68:34:56:7e:8b:7f:d8:3e:b3:be
bastillion_1  | Bastillion Generated Global Public Key:
bastillion_1  | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDapIaJB+VRhdg6mCTY03oy10XyfFyeQwKvBPwLFQnglmJP01FAZR5ZF9GZrTRjQix3yFh0oTKOrciHRhWbEUoCaDeh6RIIMCWsNKY8U41bO6hoq0Kp9pO9903CjJtAqqBTUqjvHb0Am5htAPGHGcSC3oPubmQtzy8R/mAHzkKOi9d9yxCdYPf5wny5r8V4UsaulsT9FD5/5AH/oOSLLBhQcfGur963AZXUIuZ8xl2ZCQYQd6QyRCHLJaEJNrSI8D1Ke6HxYWUT2IL25vShzk6l6Pqv0iLXtyrYlah+wHg6qN3NK89q4y0jLJO0YHqX91oU+piyhYb524+QqXnNOoFfDoGd0imwrYG3R7zAvz2/PGTILwUmnsBmTnCejZiT3iFs7e+TdPxTuCRpv9fZZ2gj22ehnvyJc3blClXyG9SReXet8hZA7YiXeyrFu031+9dR0KOm/mtxxZoXiG3AEgA0/+AnD9sQCt48s68cWWs127FAv8CXMUVqCsE/zySnQ6AkxJzsaK5C/L0wnAtgPh3A545T80wo3QUEfPEJL0YVslHKuGVXVxaNrnHtDdTvMCl+52rlA52Sgkch1McKeisr4Oazttr93v2U2mTLBHtGLQbKo2bWLAdCRDLKqmEfNpNcKyJXvCc2n59BghPEu6EMK/YhbTSl5v4OCeEwLKsWvQ== bastillion@global_key
bastillion_1  | 
bastillion_1  | [INFO] Started o.e.j.m.p.JettyWebAppContext@37c7766e{/,file:///Bastillion/src/main/webapp/,AVAILABLE}{file:///Bastillion/src/main/webapp/}
bastillion_1  | [INFO] x509=X509@5b715ea(jetty,h=[sean kavanagh],a=[],w=[]) for SslContextFactory@787a0fd6[provider=null,keyStore=file:///Bastillion/src/test/resources/keystore,trustStore=null]
bastillion_1  | [INFO] Started ServerConnector@3e61cffd{SSL, (ssl, http/1.1)}{0.0.0.0:8443}
bastillion_1  | [INFO] Started @19158ms
bastillion_1  | [INFO] Started Jetty Server

But accessing http://localhost:8443/ gives an http error about ERR_INVALID_HTTP_RESPONSE. In cURL

sh-3.2# curl -vvvv http://localhost:8443
*   Trying 127.0.0.1:8443...
* Connected to localhost (127.0.0.1) port 8443 (#0)
> GET / HTTP/1.1
> Host: localhost:8443
> User-Agent: curl/7.79.1
> Accept: */*
> 
* Received HTTP/0.9 when not allowed
* Closing connection 0
curl: (1) Received HTTP/0.9 when not allowed

from bastillion.

preske87 avatar preske87 commented on June 5, 2024

Haha.. Edit..

When accessing https://localhost:8443, all fine.

from bastillion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.