Hi, Simply restart the Cygnus service and the new configuration will be applied. Anyway… I not sure if even using the proper API KEY you are allowed to create new organizations in data.lab.fiware.org. Copying Sergio about this issue. Regards, Francisco El 25/2/16 10:40, "Ozdemir, Omer Faruk" <omer.ozdemir at atos.net> escribió: >Hello Francisco, > >Im running in DEBUG mode and here is the message: > > {"message": "Access denied: User OTHER_API_KEY_FROM_DEMO_CKAN_WEBSITE >not authorized to create organizations", "__type": "Authorization Error"}} > >OTHER_API_KEY_FROM_DEMO_CKAN_WEBSITE = I was testing with another API key >from http://demo.ckan.org/ but I switched back to the original API_KEY >from(data.lab.fiware.org) couple of days ago. >It seems that Cygnus is not updating this value on startup, do you have >any solution to remove the old catched value? > >Thanks kr >Omer >________________________________________ >From: FRANCISCO ROMERO BUENO [francisco.romerobueno at telefonica.com] >Sent: Thursday, February 25, 2016 11:25 AM >To: Ozdemir, Omer Faruk >Cc: fiware-tech-help at lists.fi-ware.org >Subject: Re: [FIWARE-JIRA] (HELP-5978) [Fiware-tech-help] Cygnus - Ckan >integration error > >Hi Ozdemir, > >Could you please run Cygnus in DEBUG mode and do the run again? > >Anyway, such a message appears when CKAN tells Cygnus the organization >could not be created. Most of the times it is because the organization >existed in the past and it was deleted (could you confirm this?). Deletion >in CKAN is quite special... Deleted elements continue existing in CKAN but >with a “deletion” flag avoiding to crate new elements with the same name. >Nevertheless, the problems may be other: wrong API key, user not allowed >to create organizations, etc. > >Regards, >Francisco > >El 25/2/16 9:53, "Ozdemir, Omer Faruk (JIRA)" <jira-help-desk at fi-ware.org> >escribió: > >> >> [ >>https://jira.fiware.org/browse/HELP-5978?page=com.atlassian.jira.plugin.s >>y >>stem.issuetabpanels:all-tabpanel ] >> >>Ozdemir, Omer Faruk updated HELP-5978: >>-------------------------------------- >> >>Hello Francisco, >> >>Now I get this error: >> >>25 Feb 2016 08:49:48,723 ERROR >>[SinkRunner-PollingRunner-DefaultSinkProcessor] >>(com.telefonica.iot.cygnus.sinks.OrionSink.processOneByOne:267) - >>Runtime error (Don't know how to treat the response code. Possibly the >>organization already exists in a deleted state (respCode=403, >>orgName=ariot)) >> >>Thanks kind regards >>Omer >> >> >>> [Fiware-tech-help] Cygnus - Ckan integration error >>> -------------------------------------------------- >>> >>> Key: HELP-5978 >>> URL: https://jira.fiware.org/browse/HELP-5978 >>> Project: Help-Desk >>> Issue Type: extRequest >>> Components: FIWARE-TECH-HELP >>> Reporter: Ozdemir, Omer Faruk >>> Assignee: Francisco Romero >>> >>> Good morning Dear, >>> We have a problem with Cygnus-Ckan integration, whenever Cygnus sends >>>data request to Ckan, it gets this error: >>> 25 Feb 2016 07:44:40,217 ERROR >>>[SinkRunner-PollingRunner-DefaultSinkProcessor] >>>(com.telefonica.iot.cygnus.sinks.OrionSink.processOneByOne:267) - >>>Runtime error (Don't know how to treat response code 503)) >>> We talked with Sergio Garcia Gomez and thanks to him, he's created us >>>an organization <https://data.lab.fiware.org/organization/fiwaredemos> >>>and gave the admin rights to our users in Ckan. >>> Please find our Cygnus conf files content below: >>> Could you please help us with this error? >>> we need to publish this data in Ckan but we are stucked at the last >>>step of this integration with this error above.. >>> Thanks kr >>> Omer Ozdemir >>> agent: >>> [root at idas conf]# more agent_test.conf >>> cygnusagent.sources = http-source >>> cygnusagent.sinks = ckan-sink >>> cygnusagent.channels = ckan-channel >>> cygnusagent.sources.http-source.channels = ckan-channel >>> cygnusagent.sources.http-source.type = >>>org.apache.flume.source.http.HTTPSource >>> cygnusagent.sources.http-source.port = 5050 >>> cygnusagent.sources.http-source.handler = >>>com.telefonica.iot.cygnus.handlers.OrionRestHandler >>> cygnusagent.sources.http-source.handler.notification_target = /notify >>> cygnusagent.sources.http-source.handler.default_service = def_serv >>> cygnusagent.sources.http-source.handler.default_service_path = >>>def_servpath >>> cygnusagent.sources.http-source.handler.events_ttl = 2 >>> cygnusagent.sources.http-source.interceptors = ts gi >>> cygnusagent.sources.http-source.interceptors.ts.type = timestamp >>> cygnusagent.sources.http-source.interceptors.gi.type = >>>com.telefonica.iot.cygnus.interceptors.GroupingInterceptor$Builder >>> >>>cygnusagent.sources.http-source.interceptors.gi.gropuing_rules_conf_file >>>= /Applications/apache-flume-1.4.0-bin/conf/grouping_rules. >>> conf >>> cygnusagent.channels.ckan-channel.type = memory >>> cygnusagent.channels.ckan-channel.capacity = 1000 >>> cygnusagent.channels.ckan-channel.transactionCapacity = 100 >>> cygnusagent.sinks.ckan-sink.channel = ckan-channel >>> cygnusagent.sinks.ckan-sink.type = >>>com.telefonica.iot.cygnus.sinks.OrionCKANSink >>> cygnusagent.sinks.ckan-sink.enable_grouping = false >>> cygnusagent.sinks.ckan-sink.api_key = MY API KEY GOES HERE >>> cygnusagent.sinks.ckan-sink.ckan_host = https://data.lab.fiware.org >>> cygnusagent.sinks.ckan-sink.ckan_port = 80 >>> cygnusagent.sinks.ckan-sink.orion_url = localhost:1026 >>> cygnusagent.sinks.ckan-sink.attr_persistence = row >>> cygnusagent.sinks.ckan-sink.ssl = false >>> cygnusagent.sinks.ckan-sink.batch_size = 1 >>> cygnusagent.sinks.ckan-sink.batch_timeout = 10 >>> instance: >>> [root at idas conf]# more cygnus_instance_1.conf >>> CYGNUS_USER=cygnus >>> CONFIG_FOLDER=/usr/cygnus/conf >>> CONFIG_FILE=/usr/cygnus/conf/agent_test.conf >>> AGENT_NAME=cygnusagent >>> LOGFILE_NAME=cygnus.log >>> ADMIN_PORT=8085 >>> POLLING_INTERVAL=30 >>> Bu mesaj ve ekleri gönderilen kişiye özeldir ve gizli bilgiler >>>içerebilir. Eğer mesajın gönderilmek istendiği kişi değilseniz lütfen >>>kopyalamayınız, başkalarına göndermeyiniz ve göndericiyi >>>bilgilendiriniz. Internet üzerinden gönderilen mesajların güvenli ve >>>hatasız olduğunun garantisi olmadığından Atos grubu mesajın içeriğinden >>>sorumlu tutulamaz. Göndericinin bilgisayarı anti-virüs sistemleri >>>tarafından taranmaktadır, ancak yine de mesajın virüs içermediği garanti >>>edilemez ve gönderici, meydana gelebilecek zararlardan sorumlu >>>tutulamaz. >>> This e-mail and the documents attached are confidential and intended >>>solely for the addressee; it may also be privileged. If you receive this >>>e-mail in error, please notify the sender immediately and destroy it. As >>>its integrity cannot be secured on the Internet, the Atos group >>>liability cannot be triggered for the message content. Although the >>>sender endeavors to maintain a computer virus-free network, the sender >>>does not warrant that this transmission is virus-free and will not be >>>liable for any damages resulting from any virus transmitted. >>> Since January 1st, old domains won't be supported and messages sent to >>>any domain different to @lists.fiware.org will be lost. >>> Please, send your messages using the new domain >>>(Fiware-tech-help at lists.fiware.org) instead of the old one. >>> _______________________________________________ >>> Fiware-tech-help mailing list >>> Fiware-tech-help at lists.fiware.org >>> https://lists.fiware.org/listinfo/fiware-tech-help >> >> >> >>-- >>This message was sent by Atlassian JIRA >>(v6.4.1#64016) > > >________________________________ > >Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, >puede contener información privilegiada o confidencial y es para uso >exclusivo de la persona o entidad de destino. Si no es usted. el >destinatario indicado, queda notificado de que la lectura, utilización, >divulgación y/o copia sin autorización puede estar prohibida en virtud de >la legislación vigente. Si ha recibido este mensaje por error, le rogamos >que nos lo comunique inmediatamente por esta misma vía y proceda a su >destrucción. > >The information contained in this transmission is privileged and >confidential information intended only for the use of the individual or >entity named above. If the reader of this message is not the intended >recipient, you are hereby notified that any dissemination, distribution >or copying of this communication is strictly prohibited. If you have >received this transmission in error, do not read it. Please immediately >reply to the sender that you have received this communication in error >and then delete it. > >Esta mensagem e seus anexos se dirigem exclusivamente ao seu >destinatário, pode conter informação privilegiada ou confidencial e é >para uso exclusivo da pessoa ou entidade de destino. Se não é vossa >senhoria o destinatário indicado, fica notificado de que a leitura, >utilização, divulgação e/ou cópia sem autorização pode estar proibida em >virtude da legislação vigente. Se recebeu esta mensagem por erro, >rogamos-lhe que nos o comunique imediatamente por esta mesma via e >proceda a sua destruição >Bu mesaj ve ekleri gönderilen kişiye özeldir ve gizli bilgiler >içerebilir. Eğer mesajın gönderilmek istendiği kişi değilseniz lütfen >kopyalamayınız, başkalarına göndermeyiniz ve göndericiyi bilgilendiriniz. >Internet üzerinden gönderilen mesajların güvenli ve hatasız olduğunun >garantisi olmadığından Atos grubu mesajın içeriğinden sorumlu tutulamaz. >Göndericinin bilgisayarı anti-virüs sistemleri tarafından taranmaktadır, >ancak yine de mesajın virüs içermediği garanti edilemez ve gönderici, >meydana gelebilecek zararlardan sorumlu tutulamaz. > >This e-mail and the documents attached are confidential and intended >solely for the addressee; it may also be privileged. If you receive this >e-mail in error, please notify the sender immediately and destroy it. As >its integrity cannot be secured on the Internet, the Atos group liability >cannot be triggered for the message content. Although the sender >endeavors to maintain a computer virus-free network, the sender does not >warrant that this transmission is virus-free and will not be liable for >any damages resulting from any virus transmitted. ________________________________ Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it. Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy