Giter Site home page Giter Site logo

Comments (7)

tomvdb avatar tomvdb commented on July 26, 2024

Not sure if it's the same, but I had the same problem. The esp8266 calls this url:

https://gweb-paper-signals.firebaseio.com/signals/your-signalid-here.json

if your unique id is wrong, then it just returns null, instead of a valid json object so you then get the parseObject() error in the debug log.

Does

https://gweb-paper-signals.firebaseio.com/signals/politely-appellate-hippopotamus.json

return valid json data if you check it in a browser or just say null?

Nevermind, I checked it with your id in the browser and it does return data. Must be something else then

from paper-signals.

dfashbaugh avatar dfashbaugh commented on July 26, 2024

@mintisan Does the system spend a long time at the "connecting to gweb-paper-signals.firebaseio.com" or does it seem to immediately fail?

When you're connected to your phone hotspot with another computer are you able to see the JSON data from: https://gweb-paper-signals.firebaseio.com/signals/politely-appellate-hippopotamus.json

I'm not totally familiar with Shadowsocks. But your setup looks good to me so far.

As @tomvdb noted above, there is definitely data at your signal ID URL.

from paper-signals.

mintisan avatar mintisan commented on July 26, 2024

@tomvdb Yes, I can open URL on my iPhone which acted as proxy.

And I will check its return value on ESP8266 with UART log.

Thanks.

from paper-signals.

mintisan avatar mintisan commented on July 26, 2024

@tomvdb @dfashbaugh Maybe I find the reason why I can't access URL for ESP8266.( I can open URL on my iPhone.)

So the proxy configuration need to be modified for hotspot.

I will have a try firstly ...

Thanks so much, @tomvdb @dfashbaugh

from paper-signals.

Wanguy avatar Wanguy commented on July 26, 2024

Perhaps It can't connect to console.firebase.google.com while using your hotspot. Although you can open the URL on your phone which acted as the proxy when you share your hotspot.

from paper-signals.

mintisan avatar mintisan commented on July 26, 2024

After I changed the configuration. It works for me now. :D

P address: 172.24.1.23
connecting to gweb-paper-signals.firebaseio.com
requesting URL /signals/politely-appellate-hippopotamus.json
request sent
HTTP/1.1 200 OK

Server: nginx

Date: Sat, 09 Dec 2017 07:39:41 GMT

Content-Type: application/json; charset=utf-8

Content-Length: 503

Connection: close

Access-Control-Allow-Origin: *

Cache-Control: no-cache

Strict-Transport-Security: max-age=31556926; includeSubDomains; preload



headers received
Timer: 30

from paper-signals.

nicolehe avatar nicolehe commented on July 26, 2024

Glad it's working @mintisan! I'd recommend deleting this signal and creating a new one with a new unique ID for security reasons. :)

from paper-signals.

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.