Giter Club home page Giter Club logo

Comments (12)

pfrisella avatar pfrisella commented on June 28, 2024

what does the request look like?
callbacks are supported, have you tried using that?

from google-analytics-super-proxy.

 avatar commented on June 28, 2024
$.get('https://*****.appspot.com/query?id=ag5zfmNtc3VwZXJwcm94eXIVCxIIQXBpUXVlcnkYgICAgIDDlQoM', function(data) {....

I am requesting with jQuery through the $.get function. Should I be using $.getJSON, or something different? I am using jQuery so the data reloads every 2 minutes.

from google-analytics-super-proxy.

 avatar commented on June 28, 2024

Any more information you can give? I would love to use SuperProxy, but if this is what is going to be happening, I can't use it.

from google-analytics-super-proxy.

WillemPaling avatar WillemPaling commented on June 28, 2024

I had the same problem. I had to modify the python code to set the 'Access-Control-Allow-Origin' header.

from google-analytics-super-proxy.

WillemPaling avatar WillemPaling commented on June 28, 2024

I've resolved the issue in my fork: https://github.com/WillemPaling/google-analytics-super-proxy

from google-analytics-super-proxy.

Chris-Barber avatar Chris-Barber commented on June 28, 2024

Hi, I have been having the same issue as RageQuit. WillemPaling I downloaded your fork but there is no config.py?

from google-analytics-super-proxy.

WillemPaling avatar WillemPaling commented on June 28, 2024

Use the config.py from the main fork. I removed it because it had my login details in it :)
I'll fix it up...but that should get you going in the meantime.

from google-analytics-super-proxy.

Chris-Barber avatar Chris-Barber commented on June 28, 2024

I wondered if that was the case. Thanks for you quick response.

from google-analytics-super-proxy.

Chris-Barber avatar Chris-Barber commented on June 28, 2024

I have updated the config and re-deployed with app launcher. However, I am still getting the same issue.

405 (Method Not Allowed) No 'Access-Control-Allow-Origin' header is present on the requested resource.

Using:
$.ajax({
url: url,
cache: false,
success: function (data) {
handleData(data);
}
});

Any ideas how to overcome this?

from google-analytics-super-proxy.

WillemPaling avatar WillemPaling commented on June 28, 2024

I had to change the version number in the app.yaml, and redeploy the app.
Then go into Google App Engine, go to Versions, then set the new version as the default.

from google-analytics-super-proxy.

Chris-Barber avatar Chris-Barber commented on June 28, 2024

Thanks! You are legendary! It worked like a charm.

from google-analytics-super-proxy.

WillemPaling avatar WillemPaling commented on June 28, 2024

Good to hear it's working.

from google-analytics-super-proxy.

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.