-
Notifications
You must be signed in to change notification settings - Fork 173
Using "ssl" : true cause a panic: runtime error #725
Comments
Just built my own docker image from 0.26.3 Same issue. |
I had nginx fronting the API so we could have SSL enabled. This appears to be causing uchiwa to crash on a call to /info. |
Uchiwa 0.25.3-1 does not have this problem and works with nginx ssl fronting the sensu api |
I tested with all versions, and the latest one which still works is 0.26.0-1. |
Some modifications were done in the HTTP client used by Uchiwa to query the APIs in the subsequent 0.26 releases. I just pushed a change which prevents the panic in #738. That being said, I'm not 100% sure why the content length would be unknown (-1) but it should help us understand what's going on if you still have this problem in the 1.0.0 release. Thanks! |
The issue now doesn't kill uchiwa, but it still not working well. 1.1.0-1 provides an error instead, as per #751 . |
@julian7 - I ran into this same issue and found that a compression profile set on our load balancer was to blame. Once removing that this error went away. |
@tcador I can confirm that: I added |
When setting "ssl" : true without a "path" setting causes the application to crash
Expected Behavior
"path" should default to "" and start without issue
Current Behavior
When "ssl" is true in the config and "path" is "" or not set I get the following
If I set "path" to "/" I get the following:
https://host:4567//stashes isn't a valid URL
Steps to Reproduce (for bugs)
Use a similar config to
Context
I can't connected to a sensu api with SSL enabled without the above issue.
Your Environment
The text was updated successfully, but these errors were encountered: