Coder Social home page Coder Social logo

OECD connection failed about sdmx HOT 11 CLOSED

joaogoliveira1 avatar joaogoliveira1 commented on August 23, 2024
OECD connection failed

from sdmx.

Comments (11)

amattioc avatar amattioc commented on August 23, 2024

Hi, both OECD and IMF2 are working with my RJSDMX v2.3.3. What version are you using?

from sdmx.

amattioc avatar amattioc commented on August 23, 2024

Hi again, another question: are you using the getdata tool?

from sdmx.

joaogoliveira1 avatar joaogoliveira1 commented on August 23, 2024

I am using the getdata tool for Stata. Let me see if I can find the version used by the getdata tool.

from sdmx.

joaogoliveira1 avatar joaogoliveira1 commented on August 23, 2024

I think it is using version 2.1. I updated the getdata tool but it stays at 2.1. Maybe it hasn't been updated since 2.1

from sdmx.

joaogoliveira1 avatar joaogoliveira1 commented on August 23, 2024

I downloaded the latest sdmx version for STATA from here and replaced it in the file where the old version is. I still get the same error.

from sdmx.

amattioc avatar amattioc commented on August 23, 2024

Make sure to replace the jar. This is the latest: https://github.com/amattioc/SDMX/releases/download/v2.3.3/SDMX.jar

from sdmx.

joaogoliveira1 avatar joaogoliveira1 commented on August 23, 2024

I replaced it with the version with that version. Now I get the following error:

java.lang.ClassNotFoundException: it.bancaditalia.oss.sdmx.client.StataClientHandler
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.stata.Javacall.load(Javacall.java:119)
at com.stata.Javacall.load(Javacall.java:90)

I went to the ado file which has the datacodes command, and it is basically this:

cap program drop getdatacodes 
program getdatacodes
version 13
javacall it.bancaditalia.oss.sdmx.client.StataClientHandler sdmxHelper
end

The file I replaced is still called sdmx and it is still in the same place, so there shouldnt be any problem, from what I understand. This is just a subroutine to call the sdmx.jar using Java. Any ideas?

from sdmx.

amattioc avatar amattioc commented on August 23, 2024

Can you try this one?
https://github.com/amattioc/SDMX/blob/master/STATA/jar/SDMX.jar

from sdmx.

aaron72 avatar aaron72 commented on August 23, 2024

May 18, 2020 11:30:51 AM it.bancaditalia.oss.sdmx.client.RestSdmxClient runQuery
INFO: Contacting web service with query: https://sdw-wsrest.ecb.europa.eu/service/dataflow/all/all/latest
May 18, 2020 11:32:52 AM it.bancaditalia.oss.sdmx.client.RestSdmxClient runQuery
SEVERE: Exception. Class: java.net.SocketException - Message: Operation not permitted (connect failed)
May 18, 2020 11:32:52 AM it.bancaditalia.oss.sdmx.helper.SDMXHelper$17 run
SEVERE: Exception. Class: it.bancaditalia.oss.sdmx.exceptions.SdmxIOException .Message: Connection problems while talking to endpoint: Operation not permitted (connect failed)

from sdmx.

joaogoliveira1 avatar joaogoliveira1 commented on August 23, 2024

Can you try this one?
https://github.com/amattioc/SDMX/blob/master/STATA/jar/SDMX.jar

Replaced it and solved the problem. Thank you very much @amattioc !

from sdmx.

amattioc avatar amattioc commented on August 23, 2024

Great.

from sdmx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.