What I am saying is that when I use GET/write through the proxy I get
"Method Not Allowed" and I feel quite stupid now :)
But for this not to be a complete waste of everything, I'll doublecheck
if local GET/write and then hopefully don't raise an issue.

Thanks!

On 20.12.2016 17:54, Mark Rushakoff wrote:
> According to the 1.1.1 code[1] and the docs[2] , /write only accepts
> OPTIONS and POST. I believe you're seeing expected, correct behavior.
>
> Are you saying that you are able to get a non-405 response when you
> GET /write without going through the proxy? If so, that is a bug.
> Please file an issue, or at least provide a script to reproduce the
> problem.
>
> [1] 
> https://github.com/influxdata/influxdb/blob/v1.1.1/services/httpd/handler.go#L120-L127
> [2] https://docs.influxdata.com/influxdb/v1.1/guides/writing_data/
>
> On Tue, Dec 20, 2016 at 8:38 AM, <[email protected]
> <mailto:[email protected]>> wrote:
>
>     On Tuesday, December 20, 2016 at 5:20:00 PM UTC+1,
>     [email protected] <mailto:[email protected]> wrote:
>     > Sounds like the proxy isn't allowing POST requests on /write.
>     You can confirm this by looking at the response headers: if the
>     X-Influxdb-Version header is present, then InfluxDB has handled
>     the request. If not, then it's probably an Apache configuration issue.
>
>     It's there. However, the request is GET, and it seems response
>     telling me that it only allows "OPTIONS, POST"
>
>     HTTP/1.1 405 Method Not Allowed
>     Date: Tue, 20 Dec 2016 16:35:05 GMT
>     Server: Apache/2.4.18 (Ubuntu)
>     Allow: OPTIONS, POST
>     Content-Type: text/plain; charset=utf-8
>     X-Content-Type-Options: nosniff
>     X-Influxdb-Version: 1.1.1
>     Content-Length: 19
>     Keep-Alive: timeout=5, max=100
>     Connection: Keep-Alive
>
>

-- 
Remember to include the version number!
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/5a7dfd02-4760-7b9c-7e0d-eaed418b21ec%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to