htmlpreview / htmlpreview.github.com

HTML Preview for GitHub Repositories
htmlpreview.github.com
1.53k stars 307 forks source link

"raw.githubusercontent.com refused to connect." message on Javadocs index.html #68

Open rer98 opened 5 years ago

rer98 commented 5 years ago

Dear htmlpreview team,

The Javadoc pages hosted on github at:

http://htmlpreview.github.io/?https://github.com/jasmineRepo/JAS-mine-core/blob/master/microsim-core/doc/index.html

and

http://htmlpreview.github.io/?https://github.com/jasmineRepo/JAS-mine-gui/blob/master/microsim-gui/doc/index.html

both used to work fine with htmlpreview, but now fail to load, giving the message "raw.githubusercontent.com refused to connect."

Other pages of the Javadocs seem to load without problem, such as: http://htmlpreview.github.io/?https://github.com/jasmineRepo/JAS-mine-core/blob/master/microsim-core/doc/overview-summary.html

I made a new commit / release of the Javadocs on Github on December 13th 2018 and only noticed the problem today (January 22nd 2019). The index.html file of the Javadocs loads fine locally on my computer using my web browser, so I don't think I introduced the problem with the latest commit / release. I wonder whether it could have something to do with the use of scroll panes in the index.html of Javadocs, which don't appear on the other Javadoc pages that load fine? Or perhaps the rendering / page layout of the scroll panes is completely unrelated...

Please could you let me know what you think? I'd be very grateful for any help you may be able to provide!

Best wishes,

Ross

npgall commented 5 years ago

I have the same issue. I have been using htmlpreview to make JavaDocs for my own project CQEngine available.

Recently, my JavaDoc main page, which contains frames, stopped rendering for me: http://raw.githubusercontent.com/npgall/cqengine/master/documentation/javadoc/apidocs/index.html

However, this page which does not use frames, does continue to render: http://htmlpreview.github.io/?http://raw.githubusercontent.com/npgall/cqengine/master/documentation/javadoc/apidocs/overview-summary.html

It looks like the server is returning "X-Frame-Options: deny" which might be the cause?

Is there anything I can do to fix this?

Many thanks for this project btw!