Jekyll bad uri bad request line - jekyll

For some reason I started getting this error and I'm not sure why. I haven't been doing anything differently, it just started doing this. Does anyone know why this would be happening?
Bryans-MacBook-Pro:website bryan$ bundle exec jekyll serve
Configuration file: /Users/bryan/Dropbox/Websites/Clients/website/_config.yml
Configuration file: /Users/bryan/Dropbox/Websites/Clients/website/_config.yml
Source: /Users/bryan/Dropbox/Websites/Clients/website
Destination: /Users/bryan/Dropbox/Websites/Clients/website/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 0.114 seconds.
Auto-regeneration: enabled for '/Users/bryan/Dropbox/Websites/Clients/website'
Configuration file: /Users/bryan/Dropbox/Websites/Clients/website/_config.yml
Server address: http://127.0.0.1:4000/
Server running... press ctrl-c to stop.
[2017-10-31 11:06:45] ERROR bad URI `d??\x1EG?7?\x16??\x06???\x16????\\,?\x01\b?oq?K\x00\x00(?,?+?$?#?'.
[2017-10-31 11:06:50] ERROR bad Request-Line `\x16\x03\x01\x00?\x01\x00\x00?\x03\x03\x14?????.?z?m??\x02®?,??("p?M%?'\x17?N\x00\x00.?,?+?$?#?'.
[2017-10-31 11:06:50] ERROR bad Request-Line `\x16\x03\x01\x00?\x01\x00\x00?\x03\x01????ۙ\x10o?/?\\????k?<r\x18ofGL>`\x02?Ć\v\x00\x00\x12\x00/\x003\x005\x009?\t?'.

If you are receiving this answer it is because your browser is trying to load the page via https and not http

Related

Jekyll and Strapi: The Strapi server sent a error with the following status: 404. Please make sure it is correctly running

I am currently trying to follow this tutorial (https://blog.strapi.io/building-a-static-website-using-jekyll-and-strapi/) and everything was working fine until the "Posts List" step. Once I added the _layouts/home.html file, changed _config.yml and restarted the jekyll server (bundle exec jekyll serve), I ended up with an error message:
jekyll 3.8.5 | Error: The Strapi server sent a error with the following status: 404. Please make sure it is correctly running.
Thing is, the strapi server IS RUNNING... I have access to the the strapi admin backend and I can access and view the Posts json object by visiting: http://localhost:1337/posts.
Please make sure you have data in your Post content type.
Create some posts and then retry.

jekyll serve ERROR `/sw.js' not found

I get the following error after using jekyll serve
[2018-07-06 09:42:43] INFO WEBrick::HTTPServer#start: pid=7146 port=4000
Server running... press ctrl-c to stop.
[2018-07-06 09:43:03] DEBUG accept: 127.0.0.1:45172
[2018-07-06 09:43:03] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-07-06 09:43:03] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-07-06 09:43:03] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-07-06 09:43:04] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
[2018-07-06 09:43:04] ERROR `/sw.js' not found.
[2018-07-06 09:43:04] DEBUG close: 127.0.0.1:45172
The error occurs every time I reload the page in the Firefox browser, not during build.
Where does that come from? I couldn't find any file in my project directory that contains sw.js
I use the minima theme
The sw.js file can be anything :) but I've seen this file created automatically by the REACT framework. It includes some caching information and the name is short for service worker.
The easiest way to avoid this error os to check where this file should be found using your browser's console and then create it in that location.
However, I assume that your theme needs this file, generally through a node_modul and you should see how to avoid needing it and thus fix this issue permanently.

ERROR `/' not found. ERROR `/blog/assets/main.css' not found.

Noob here. Recently setup jekyll with github pages and the site is functioning on the github server however, since i pushed to github I am now having problems when I enter jekyll serve in to the shell and make any changes in my blog posts md files. The following message appears in the command line and a 404 page not found on my local server... All I did was add some content to one of my posts.. Didn't change any front matter either, have since undone any changes and still i get the same error...
tim#ubuntu16:~/github/blog$ jekyll serve
Configuration file: /home/tim/github/blog/_config.yml
Source: /home/tim/github/blog
Destination: /home/tim/github/blog/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 0.199 seconds.
Auto-regeneration: enabled for '/home/tim/github/blog'
Server address: http://127.0.0.1:4000blog/
Server running... press ctrl-c to stop.
[2018-04-08 21:56:21] ERROR/' not found.
[2018-04-08 21:56:21] ERROR /blog/assets/main.css' not found.
[2018-04-08 21:56:21] ERROR/blog/assets/minima-social-icons.svg' not found.
`
`
This is where it breaks : "Server address: http://127.0.0.1:4000blog/"
In _config.yml, set baseurl: /blog

Why does my openshift app timeout when I try to access the URL?

I am trying to set up a BrowserQuest server that runs in openshift
I've been following this readme. Everything seems to go fine, I get to the end and run rhc app show bq and get the following output:
bq # http://bq-plantagenet.rhcloud.com/ (uuid: 55e4311189f5cf028d0000fc)
------------------------------------------------------------------------
Domain: plantagenet
Created: 8:18 AM
Gears: 1 (defaults to small)
Git URL: ssh://55e4311189f5cf028d0000fc#bq-plantagenet.rhcloud.com/~/git/bq.git/
SSH: 55e4311189f5cf028d0000fc#bq-plantagenet.rhcloud.com
Deployment: auto (on git push)
nodejs-0.10 (Node.js 0.10)
--------------------------
Gears: Located with smarterclayton-redis-2.6
smarterclayton-redis-2.6 (Redis)
--------------------------------
From: http://cartreflect-claytondev.rhcloud.com/reflect?github=smarterclayton/openshift-redis-cart
Website: https://github.com/smarterclayton/openshift-redis-cart
Gears: Located with nodejs-0.10
But when I try to access http://bq-plantagenet.rhcloud.com:8080/ in a browser, I get:
The connection has timed out
The server at bq-plantagenet.rhcloud.com is taking too long to respond
My questions are what is going wrong and how can I fix it? Many thanks for your consideration in reading through this and any suggestions you might have for resolving it
You need to access http://bq-plantagenet.rhcloud.com, leave off the port 8080, that is the port you listen on internally. You should also try checking your log files (https://developers.openshift.com/en/managing-log-files.html) to see what errors your application is producing.

yum Error: Cannot retrieve repository metadata (repomd.xml) for repository: Updates-ambari-1.x. Please verify its path and try again

To whom it may concern:
I am running CentOS 6.5 on my server.
I keep on receiving the following error when I type in yum update as the root user:
[root#dbtest /]# yum update
Loaded plugins: fastestmirror, security
Setting up Update Process
Loading mirror speeds from cached hostfile
epel/metalink | 14 kB 00:00
* epel: mirror.steadfast.net
* passenger: mirror.hmdc.harvard.edu
http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/repodata/repomd.xml: [Errno 14]
PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: Updates-ambari-1.x. Please
verify its path and try again
I am using these two links to assist me:
https://www.webmaster.net/fix-pycurl-error-22-the-requested-url-returned-error-404-not-found/
To the best of my knowledge the reason I think I am getting this error is because there is something wrong with the ambari.repo repository file under the /etc/yum.repos.d directory.
My question is what can I do to fix the ambari.repo file, if anything, and what can I do so that I am able to successfully perform the yum update task without any errors?
This is what is inisde the ambari.repo file. Any help can be greatly appreciated.
One more thing I would like to mention is that I made changes to the CentOS-Base.repo file
That URL is incorrect. A quick search online for ambari repo led me to this page which seems to suggest that the correct path is now http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/1.2.3.7/ and that you can get a new repo file from http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/1.2.3.7/ambari.repo.