Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
523 views
in Technique[技术] by (71.8m points)

portforwarding - Kibana port forwarding creates redirect loop after changing base path

I have made a website that can access Kibana via a specific path, and to do that I added service.basePath: "/search" to kibana.yml. This works fine; however, now when I try to access Kibana directly through SSH and port forwarding, I get an infinite redirect loop. From trying to access localhost:5601, the url becomes http://localhost:5601/search/login?next=%2Fsearch%2Fsearch%2Flogin%3Fnext%3D%252Fsearch%252Fsearch%252Flogin%253Fnext%253D%25252Fsearch%25252Fsearch%25252Flogin%25253Fnext%25253D%2525252Fsearch%2525252Fsearch%2525252Flogin%2525253Fnext%2525253D%252525252Fsearch%252525252Fsearch%252525252Flogin%252525253Fnext%252525253D%25252525252Fsearch%25252525252Fsearch%25252525252Flogin%25252525253Fnext%25252525253D%2525252525252F etc.

I have not made any other new modifications to Kibana. What is causing this problem and how do I resolve it?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...