Date   

Re: Impossible to download archives from cloudfoundry+cf-dev

Luis Cañas-Díaz
 

We are having a look during today/tomorrow. Thanks for the info!


Re: Impossible to download archives from cloudfoundry+cf-dev

 

On Fri, Feb 15, 2019 at 3:51 AM Luis Cañas-Díaz <lcanas@...> wrote:

we are seeing this error with the following groups during the past week:

They are consistent and the last time I saw them was 5 minutes ago with a local test I just did with the group cloudfoundry+cf-dev

I checked one of the errors, and it was 'upstream prematurely closed connection while reading'. Can you look at increasing your network timeouts?

Thanks,
Mark 


Re: Impossible to download archives from cloudfoundry+cf-dev

Luis Cañas-Díaz
 

Hi Mark,

we are seeing this error with the following groups during the past week:

  • https://groups.io/g/cloudfoundry+cf-dev
  • https://groups.io/g/onap+onap-discuss
  • https://groups.io/g/OPNFV+opnfv-tech-discuss
  • https://groups.io/g/cloudfoundry+cf-dev

They are consistent and the last time I saw them was 5 minutes ago with a local test I just did with the group cloudfoundry+cf-dev

Thanks for your help.


Re: Impossible to download archives from cloudfoundry+cf-dev

Kenny Paul
 

Hi Mark,
I believe in ONAP it may be limited to one list (onap-discuss) looking at the info I'm seeing on the dashboard.


Re: Impossible to download archives from cloudfoundry+cf-dev

 

Hello,

On Thu, Feb 14, 2019 at 4:58 AM Luis Cañas-Díaz <lcanas@...> wrote:

we are trying to get data on behalf of some projects such as ONAP and Cloudfoundry and we got these errors. If you can clarify whether this is useful or not we will appreciate it.

The errors we get are quite similar to the ones my workmate included in the message above.


Are you seeing these errors with specific groups or all groups you try? Are they intermittent errors or are they consistent? When was the last error you saw?

Thanks,
Mark 


Re: Impossible to download archives from cloudfoundry+cf-dev

Luis Cañas-Díaz
 

Hi,
we are trying to get data on behalf of some projects such as ONAP and Cloudfoundry and we got these errors. If you can clarify whether this is useful or not we will appreciate it.

The errors we get are quite similar to the ones my workmate included in the message above.

Thanks in advance.


Impossible to download archives from cloudfoundry+cf-dev

valcos
 

Hi,

I'm trying to download the archives of the group cloudfoundry+cf-dev using the downloadarchives endpoint , however I get the error below, which seems to be related to a server issue:
RuntimeError: ('Connection broken: IncompleteRead(34069340 bytes read)', IncompleteRead(34069340 bytes read))
Is there any solution to get this archive?

Cheers,
Valerio


Re: Getting archives from group-specific domains

valcos
 

Thank you very much Mark! This change in the API helped me a lot!

Cheers,
Valerio


Re: Getting archives from group-specific domains

 

HI Valerio,

I just changed it so that getsub and getsubs will now return group_name. Hopefully this will let you proceed.

Cheers,
Mark

On Wed, Oct 10, 2018 at 2:48 AM valcos <valcos@...> wrote:
Hi Mark,

Thank you for answering! I'm not sure I've understood your question. I'm going to comment below the steps I did.

- I manually subscribed to 6 groups (e.g., beta | main, beta | api, announce@..., main@...)

- I got my access token --> curl "https://api.groups.io/v1/login" -u 123456: -d "email=xxx@xxx&password=yyy"

- I retrieved my subscriptions --> curl "https://api.groups.io/v1/getsubs" -u ...
  the output contains all subscriptions, but the attribute group_name is not returned. However, this is coherent with https://groups.io/api#get-subscriptions

- I retrieved the subscription for a specific group id --> - curl "https://api.groups.io/v1/getsub?group_id=1" -u ...
  the output contains only one subscription, the attribute group_name is not returned, this is not aligned with https://groups.io/api#get-subscription

As possible enhancements of the API:
- Is it possible to include the group_name in what is returned by the endpoint getsub?
- It would be possible to include domain as parameter of the endpoint downloadarchives, thus one could download archives using the params group_name and domain (instead of using the group_id)?

Thank you,
valerio


Re: Getting archives from group-specific domains

valcos
 

Hi Mark,

Thank you for answering! I'm not sure I've understood your question. I'm going to comment below the steps I did.

- I manually subscribed to 6 groups (e.g., beta | main, beta | api, announce@..., main@...)

- I got my access token --> curl "https://api.groups.io/v1/login" -u 123456: -d "email=xxx@xxx&password=yyy"

- I retrieved my subscriptions --> curl "https://api.groups.io/v1/getsubs" -u ...
  the output contains all subscriptions, but the attribute group_name is not returned. However, this is coherent with https://groups.io/api#get-subscriptions

- I retrieved the subscription for a specific group id --> - curl "https://api.groups.io/v1/getsub?group_id=1" -u ...
  the output contains only one subscription, the attribute group_name is not returned, this is not aligned with https://groups.io/api#get-subscription

As possible enhancements of the API:
- Is it possible to include the group_name in what is returned by the endpoint getsub?
- It would be possible to include domain as parameter of the endpoint downloadarchives, thus one could download archives using the params group_name and domain (instead of using the group_id)?

Thank you,
valerio


Re: Getting archives from group-specific domains

 

Hi Valerio,

Is there any reason why you can't be subscribed to the group ahead of time? Then you could get your subscriptions, which contains the group id.

Mark

On Tue, Oct 9, 2018 at 9:31 AM valcos <valcos@...> wrote:

Actually the fact that an organization has its own domain is not a problem, if you pass the group_id to the endpoint downloadarchives (note that the attribute view_archives has to be enabled in that group permissions). The procedure to download an archive is the following:

The problem I'm having now is how to download the archives if I have only the group_name (and not the group_id). The endpoint getsub, getsubs don't return the group name, and the method getgroup doesn't work if the attribute manage_group_settings is set to false.

Any hints are welcomed.

Cheers,
Valerio


Re: Getting archives from group-specific domains

valcos
 

Actually the fact that an organization has its own domain is not a problem, if you pass the group_id to the endpoint downloadarchives (note that the attribute view_archives has to be enabled in that group permissions). The procedure to download an archive is the following:

  • curl "https://api.groups.io/v1/login" -u 123456: -d "email=xxx@xxx&password=yyy&domain=zzz" (the domain param is not mandatory)
  • curl "https://api.groups.io/v1/downloadarchives?group_id=1" -u your-token
The problem I'm having now is how to download the archives if I have only the group_name (and not the group_id). The endpoint getsub, getsubs don't return the group name, and the method getgroup doesn't work if the attribute manage_group_settings is set to false.

Any hints are welcomed.

Cheers,
Valerio


Re: /downloadarchives

valcos
 

Hi Mark,

Is it possible to use this point to download archives in domains different from groups.io (e.g., https://lists.onap.org)?

Cheers,
Valerio


Re: Getting archives from group-specific domains

valcos
 

I see that in the Authentication API section you can pass the parameter "domain" to get a token for that specific domain. I got a token with:

curl "https://api.groups.io/v1/login" -u 123456: -d "email=valcos@...&password=xxx&domain=lists.onap.org"

However, if I call the API endpoint: https://api.groups.io/v1/downloarchives with a group name included in the domain "lists.onap.org", I got a HTTP 400 request error. I have also tried to include the domain attribute to the downloadarchive request with no success.

How can I download archives in domains different from groups.io via the API?


Getting archives from group-specific domains

valcos
 
Edited

Hi all,

Following the doc, I can easily download archives on the groups.io domain. However, it's not clear to me how to do it when a group has its own domain (e.g., https://lists.onap.org/g/onap-users).
What is the API URL/endpoint I have to use to get these archives?

Thanks,
Valerio


Return email problems with direct_add

m.palmowski@...
 

Hi guys

I'm trying to add a simple PHP integration - when user registers on my website he's automaticly added do groups.io.

Everything is ok, user gets add to group and he gets an email - but it looks like a mix of two groups. Here are the examples:
1. Welcome to thehealthcareclubnewyork@... - I really don't know what email this is - it's not connected in any way with the group thehealthcareclubnewyork
2. Hello,

You have been added by the moderators to their Car Buying Coach Connect group thehealthcareclubnewyork@...

The address to send an email to the groups is thehealthcareclubnewyork@....

If this was a mistake, please click on the following link and you will be immediately removed:

Remove Me!

Cheers,
The Car Buying Coach Connect Team

The problem ony persists when using the API - when I add a user with emailing to thehealthcareclubnewyork+subscribe@groups.io every email is ok.

And here is my code - https://gist.github.com/palmiak/e6d5e5efe7370c7482818c23824f7183


Re: Getting all messages of a group/topic

valcos
 

Thank you for your answer, Mark!


Re: Getting all messages of a group/topic

 

On Thu, Jul 5, 2018 at 1:54 AM valcos <valcos@...> wrote:
It's possible (or planned) to fetch all messages from a given topic/group? Checking the doc, it seems that it's not possible so far.

That api endpoint has not been implemented yet.

Thanks,
Mark


Re: view_archives permission

 

Hello,

On Thu, Jul 5, 2018 at 1:37 AM valcos <valcos@...> wrote:
I'm trying to collect the archives of a group. As written in the doc, the view_archives permission is required. I see that this permission is active for https://groups.io/g/updates/topics, however in other groups is not.
How can I enable/get this permission for any group? Is this permission set by the group itself?

 It’s-archives is determinded by the group's privacy settings.

Cheers,
Mark


Getting all messages of a group/topic

valcos
 

It's possible (or planned) to fetch all messages from a given topic/group? Checking the doc, it seems that it's not possible so far.

Cheers,
Valerio