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

Extensions don't work on Windows, error 400 (Bad Request) #2287

Closed
squromiv opened this issue Mar 21, 2019 · 11 comments
Closed

Extensions don't work on Windows, error 400 (Bad Request) #2287

squromiv opened this issue Mar 21, 2019 · 11 comments
Milestone

Comments

@squromiv
Copy link

Use FreshRSS on localhost, xampp server. I installed some extensions, but they do not function. In browser console I see requests, resulted to error 400 (Bad Request).
1

2

@Alkarex
Copy link
Member

Alkarex commented Mar 22, 2019

Hello @squromiv
What address do you have in your browser address bar when you observe this problem?

@squromiv
Copy link
Author

I have made some research. My FreshRSS is situated on address http://localhost/FreshRSS1/p/i/
Scripts, which lead to errors in console, seem to be unvaliable for extension. At first I thought, that the problem is connected with "%2F" encoding to slashes. I added "AllowEncodedSlashes On" directive to file "httpd-vhosts.conf". But nothing changed. Same errors and extensions don`t work.

@Alkarex
Copy link
Member

Alkarex commented Mar 23, 2019

Do you see the corresponding requests in your Apache logs?

@squromiv
Copy link
Author

The following information is provided in access.log. Only one extension is installed - Threepanesview.

::1 - - [23/Mar/2019:14:21:28 +0300] "GET /FreshRSS-dev/p/i/?c=javascript&a=nbUnreadsPerFeed HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36"

::1 - - [23/Mar/2019:14:21:28 +0300] "GET /FreshRSS1/p/i/ HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"

::1 - - [23/Mar/2019:14:21:28 +0300] "GET /FreshRSS1/p/ext.php?f=xextension-threepanesview-master%2Fstatic%2Fthreepanesview.css&t=css&1549213160 HTTP/1.1" 400 - "http://localhost/FreshRSS1/p/i/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"

::1 - - [23/Mar/2019:14:21:28 +0300] "GET /FreshRSS1/p/ext.php?f=xextension-threepanesview-master%2Fstatic%2Fthreepanesview.js&t=js&1549213160 HTTP/1.1" 400 - "http://localhost/FreshRSS1/p/i/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36"

I also tried another local web-server - AMMPS, but result is the same.

@squromiv
Copy link
Author

Tried other browsers, nothing changed. Extensions are installed, but do not function.

@squromiv
Copy link
Author

squromiv commented Mar 29, 2019

May be this issue echoes with #994?
I am not a programmer. Can anybody help me?

@Alkarex Alkarex added this to the 1.14.1 milestone Apr 1, 2019
@Alkarex
Copy link
Member

Alkarex commented Apr 1, 2019

I will have a look

Alkarex added a commit to Alkarex/FreshRSS that referenced this issue Apr 6, 2019
@Alkarex
Copy link
Member

Alkarex commented Apr 6, 2019

@squromiv Yes, I think you are hitting exactly that problem #994
Could you please test #2348 ?

@Alkarex
Copy link
Member

Alkarex commented Apr 6, 2019

Available in the /dev branch. Please give it a try

@squromiv
Copy link
Author

squromiv commented Apr 6, 2019

No errors in browser console, extensions finally work. Thanks a lot.

@Alkarex Alkarex changed the title Extensions don`t work on localhost, error 400 (Bad Request) Extensions don't work on Windows, error 400 (Bad Request) Apr 6, 2019
@Alkarex
Copy link
Member

Alkarex commented Apr 6, 2019

Thanks for the test. A few more patches have just landed in the /dev branch before the imminent release of FreshRSS 1.14.1. Additional tests welcome on the /dev branch.

javerous pushed a commit to javerous/FreshRSS that referenced this issue Jan 20, 2020
mdemoss pushed a commit to mdemoss/FreshRSS that referenced this issue Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants