Comments (7)
Had a quick look and it seems like the node module
currently does not pass the necessary --ignore-ssl-errors=true --ssl-protocol=tlsv1
flags, in order to support HTTPS
.
I'll have a look at this during the weekend, should be very easy to fix!
from penthouse.
Or does it, through the config.json ? I might have overlooked that in a rush 😊
from penthouse.
Originally it did this, so in that case be a regression due to some later changes.
@pocketjoso Feel free to assign Node issues to me if you need help.
from penthouse.
@fatso83 : Have not yet touched the Node module, so no regression possible there. But just by looking through it, it doesn't seem to be handling neither the config.json
file nor these ssl
flags for phantomjs
- and if so it never did. Or am I missing something?
from penthouse.
@JimmyRittenborg I should have mentioned earlier: the module will normally work against https
just fine, it's just in the case where there are ssl errors
(f.e. expired certificate), or an old ssl version in use that it might not work. In these cased the config.json
needs to be used, which I believe the module needs to be updated to handle.
from penthouse.
Don't know about current master, but at least the changes I did in early July, featured in the dev branch includes code that does this.
from penthouse.
I have now made a proper check into the code, and the code is already present in the master, as I meant it was. Not sure where you looked, Jonas, but that wasn't it :-) It has been there since the first Node code was included. It is included as line 9 in the index.js file.
So in essence, this issue should be closed.
from penthouse.
Related Issues (20)
- UnhandledPromiseRejectionWarning: Error: Error: Penthouse timed out after 30s. HOT 4
- Cannot read property 'width' of null
- Media queries in the generated .css file see seem inserted in the wrong line numbers HOT 6
- The media query `@media screen and (min-device-width: 20cm) and (min-aspect-ratio: 1/1)` is not inserted in the generated .ccs file. HOT 2
- Error: Failed to launch the browser process! on travis CI HOT 1
- why it crops critical css generated file? HOT 3
- What is CSSstring HOT 5
- Page speed insights CLS time on desktop get increased after resolving render blocking errors HOT 1
- Chrome processes HOT 4
- Output Wrong CSS HOT 1
- not finishing in Docker environment HOT 1
- Puppeteer Update HOT 3
- TypeError: Cannot read property 'clear' of undefined HOT 2
- Navigation timeout infinitely
- bug(iframes): timed out if lazy loaded iframes HOT 2
- Display none elements do not get added to critical
- Puppeteer screenshot works, but not penthouse HOT 2
- forceExclude is ignored / not working
- CSS selectors like `:where()` are not included in generated critical css HOT 1
- The generated CSS is too big and include many unused CSS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from penthouse.