Comments (7)
Not supported right now.
I will work on that.
Thanks
from firehose-to-syslog.
Well the fact is this required two change, one in firehose-to-sylog for firehose connection
firehose --> proxy --> firehose-to-syslog
And inside go-cfclient
api,uaa --> proxy --> firehose-to-syslog
Btw your proxy should be websocket capable...
from firehose-to-syslog.
Maybe I am getting something wrong but I think this should work out of the box when setting HTTP_PROXY and HTTPS_PROXY e.g. via
export HTTPS_PROXY=http://localhost:8888
export HTTP_PROXY=http://localhost:8888
before running firehose-to-syslog
. noaa
and gorilla/websocket
are honoring those settings.
Exporting the two mentioned variables and running firehose-to-syslog
with tinyproxy
I see the
- Events coming through firehose
- tinyproxy saying it established a connection to doppler (see below)
INFO Jul 09 20:19:29 [29935]: Initializing tinyproxy ...
INFO Jul 09 20:19:29 [29935]: Reloading config file
INFO Jul 09 20:19:29 [29935]: Setting "Via" header to 'tinyproxy'
WARNING Jul 09 20:19:29 [29935]: Not running as root, so not changing UID/GID.
INFO Jul 09 20:19:29 [29935]: Creating child number 1 of 10 ...
INFO Jul 09 20:19:29 [29935]: Creating child number 2 of 10 ...
INFO Jul 09 20:19:29 [29935]: Creating child number 3 of 10 ...
INFO Jul 09 20:19:29 [29935]: Creating child number 4 of 10 ...
INFO Jul 09 20:19:29 [29935]: Creating child number 5 of 10 ...
INFO Jul 09 20:19:29 [29935]: Creating child number 6 of 10 ...
INFO Jul 09 20:19:29 [29935]: Creating child number 7 of 10 ...
INFO Jul 09 20:19:29 [29935]: Creating child number 8 of 10 ...
INFO Jul 09 20:19:29 [29935]: Creating child number 9 of 10 ...
INFO Jul 09 20:19:29 [29935]: Creating child number 10 of 10 ...
INFO Jul 09 20:19:29 [29935]: Finished creating all children.
INFO Jul 09 20:19:29 [29935]: Setting the various signals.
INFO Jul 09 20:19:29 [29935]: Starting main loop. Accepting connections.
CONNECT Jul 09 20:19:35 [29936]: Connect (file descriptor 10): localhost [127.0.0.1]
CONNECT Jul 09 20:19:35 [29936]: Request (file descriptor 10): CONNECT doppler.xxx:443 HTTP/1.1
INFO Jul 09 20:19:35 [29936]: No upstream proxy for doppler.xxx
CONNECT Jul 09 20:19:35 [29936]: Established connection to host "doppler.xxx" using file descriptor 11.
INFO Jul 09 20:19:35 [29936]: Not sending client headers to remote machine
I have tested on OSX with firehose-to-syslog
1.3.1, 1.6.0 and current develop branch (1.7.1+)
from firehose-to-syslog.
@mrbuk Websocker is fine.
Does your CF api is behind a proxy too ?
Currently the nozzle connect to websocket and your api which can be http / https.
from firehose-to-syslog.
@shinji62 You are right. My API was also accessible without the proxy. So it seems that the Proxy config is missing in https://github.com/cloudfoundry-community/go-cfclient/blob/master/client.go#L97, right?
from firehose-to-syslog.
Yes :) so now you understand my comment ...
I will made a PR pretty soon to go-cfclient
from firehose-to-syslog.
Sorry, still need some work.
the GO-cfclient change a lot and I need some time to test the new one.
from firehose-to-syslog.
Related Issues (20)
- " read: connection reset by peer" when connecting to Syslog server HOT 1
- Firehose Nozzle app experiences following issue sometimes HOT 2
- Splunk logs are missing in flight. HOT 4
- How can GoVersion be updated in nozzle v4.1.1? HOT 10
- Suffix Stripping using a Regex instead of HasSuffix Function HOT 4
- F2S Upgrade Question HOT 3
- Performance Discussion HOT 1
- ERR panic: runtime error: invalid memory address or nil pointer dereference^ HOT 47
- Failed to compile uaatokenrefresher
- F2S_DISABLE_LOGGING = true -- v5.0.0 -- does not disable logging HOT 8
- Exception occurred! Message: Missed Logs Details: HOT 6
- Connect to Pivotal Webservices HOT 1
- The process misses to send all the tags keys to syslog
- v5.0.0+ too slow logging with PCF/PAS 2.5 (no problem in v4.1.1) HOT 7
- Ingestor_Cloudfoundry_Firehose SIGSEGV: segmentation violation /Missing logs HOT 1
- where can i find documentation of available options, switches, and environment variables and their acceptable values HOT 1
- HttpStartStop invalid app id HOT 1
- Unable to Revert back to V1 loggregator due to performance concerns / And Cloud Foundry announcement
- Org, Space name and ID's not available.
- firehose-to-syslog arm64/aarch64 release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firehose-to-syslog.