Coder Social home page Coder Social logo

chat_api_subscriptions's Introduction

Hello


👨🏾‍💻 About:

  • 🔭 Builder and lifelong learner. Interested in web APIs, databases, distributed systems and machine learning.

  • 🌱 Technical writing. See some of my writing here, here and here.

  • ☕️ Not trying to reduce my coffee intake.

  • 📫 How to reach me: [email protected]


🛠  Languages and Technologies :

Languages

Python  JavaScript 


✍️ Blog Posts :

chat_api_subscriptions's People

Contributors

mrkiura avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

paulterinho

chat_api_subscriptions's Issues

Subscription does not work fine.

subscription {
  messages(userId: "2") {
    content
    senderId
    recipientId
  }
}

# When I run the above subscription I fetch this error:

{
  "errors": [
    {
      "message": "Your GraphiQL createFetcher is not properly configured for websocket subscriptions yet. Please provide subscriptionUrl, wsClient or legacyClient option first.",
      "stack": "Error: Your GraphiQL createFetcher is not properly configured for websocket subscriptions yet. Please provide subscriptionUrl, wsClient or legacyClient option first.\n    at https://unpkg.com/[email protected]/graphiql.min.js:2:879063\n    at https://unpkg.com/[email protected]/graphiql.min.js:2:728459\n    at onClick (https://unpkg.com/[email protected]/graphiql.min.js:2:780784)\n    at test.n.<computed> (https://unpkg.com/[email protected]/graphiql.min.js:2:144508)\n    at Object.vi (https://unpkg.com/react-dom@17/umd/react-dom.production.min.js:202:330)\n    at ui (https://unpkg.com/react-dom@17/umd/react-dom.production.min.js:32:27)\n    at xi (https://unpkg.com/react-dom@17/umd/react-dom.production.min.js:32:81)\n    at zg (https://unpkg.com/react-dom@17/umd/react-dom.production.min.js:55:403)\n    at rg (https://unpkg.com/react-dom@17/umd/react-dom.production.min.js:56:317)\n    at https://unpkg.com/react-dom@17/umd/react-dom.production.min.js:66:168"
    }
  ]
}

# requirements.txt

anyio==4.0.0
ariadne==0.20.1
click==8.1.7
exceptiongroup==1.1.3
graphql-core==3.2.3
h11==0.14.0
httptools==0.6.1
idna==3.4
python-dotenv==1.0.0
PyYAML==6.0.1
sniffio==1.3.0
starlette==0.31.1
typing_extensions==4.8.0
uvicorn==0.23.2
uvloop==0.18.0
watchfiles==0.21.0
websockets==11.0.3

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.