Unable to add td-agent-bit repository to our artifactory instance

159 views
Skip to first unread message

Hector Oswaldo Caballero

unread,
Oct 31, 2018, 2:00:37 PM10/31/18
to Fluent-Bit
Hi,

I've been testing using the RPM packaged version of fluent-bit (td-agent-bit) and now I want to create a remote repository in our Artifactory instance in order to cache the package.
However, I receive a 403 Forbidden error. I was able to do exactly that with the td-agent (Fluentd) repo but not with the one for Fluentbit. I saw in this discussion [1] that the issue seems to be that "the packages repo has not directory listing enabled." Any way to add this repository to our Artifactory instance as a remote?

Thanks


Eduardo Silva

unread,
Oct 31, 2018, 2:21:52 PM10/31/18
to Hector Oswaldo Caballero, fluen...@googlegroups.com
Hi, 

I am not familiar how that artifactory works but doing a mirror should work I think:

    https://docs.fluentbit.io/manual/installation/redhat_centos

note: directory listing will not be enabled. 

regards, 

--
You received this message because you are subscribed to the Google Groups "Fluent-Bit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluent-bit+...@googlegroups.com.
To post to this group, send email to fluen...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fluent-bit/e564aaaf-0016-4560-ac20-ed497f66eacd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Eduardo Silva
Open Source, Treasure Data
http://www.treasuredata.com/opensource

http://twitter.com/edsiper
  http://www.linkedin.com/in/edsiper

Hector Oswaldo Caballero

unread,
Oct 31, 2018, 3:06:59 PM10/31/18
to Fluent-Bit
Thanks for your answer but trying to do a mirror fails with the exact same error:

   wget –spider -w 1 -r -np http://packages.fluentbit.io/centos/7
-Spider mode enabled. Check if remote file exists.
--2018-10-31 14:58:30--  http://packages.fluentbit.io/centos/7
Resolving packages.fluentbit.io (packages.fluentbit.io)... 23.253.238.156
Connecting to packages.fluentbit.io (packages.fluentbit.io)|23.253.238.156|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://packages.fluentbit.io/centos/7 [following]
Spider mode enabled. Check if remote file exists.
--2018-10-31 14:58:31--  https://packages.fluentbit.io/centos/7
Connecting to packages.fluentbit.io (packages.fluentbit.io)|23.253.238.156|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://packages.fluentbit.io/centos/7/ [following]
Spider mode enabled. Check if remote file exists.
--2018-10-31 14:58:32--  http://packages.fluentbit.io/centos/7/
Connecting to packages.fluentbit.io (packages.fluentbit.io)|23.253.238.156|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://packages.fluentbit.io/centos/7/ [following]
Spider mode enabled. Check if remote file exists.
--2018-10-31 14:58:33--  https://packages.fluentbit.io/centos/7/
Connecting to packages.fluentbit.io (packages.fluentbit.io)|23.253.238.156|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
Remote file does not exist -- broken link!!!
Found 1 broken link.

https://packages.fluentbit.io/centos/7/

HTTP request sent, awaiting response... 403 Forbidden
2018-10-31 14:48:27 ERROR 403: Forbidden.

Seems we'd need to build fluent-bit from source every time (we're using it inside a Dockerfile) even if it takes more time and resources to do so.

Thanks again

Hector Oswaldo Caballero

unread,
Oct 31, 2018, 3:22:01 PM10/31/18
to Fluent-Bit
Just for the record if anyone is trying to do the same:

In Artifactory, it is needed to uncheck the "List Remote Folder Items" and avoid to push the "Test" button.
Configured like that, it works!

Thanks again

Eduardo Silva

unread,
Oct 31, 2018, 4:08:34 PM10/31/18
to Hector Oswaldo Caballero, fluen...@googlegroups.com
oh, that's good, thanks for sharing. happy logging :)


For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages