GithubHelp home page GithubHelp logo

SocketError about peatio HOT 6 CLOSED

openware avatar openware commented on August 28, 2024
SocketError

from peatio.

Comments (6)

JustinSeidl avatar JustinSeidl commented on August 28, 2024

Here is the console error in full:

Started GET "/" for 127.0.0.1 at 2017-12-01 18:48:05 -0600
  ActiveRecord::SchemaMigration Load (1.2ms)  SELECT `schema_migrations`.* FROM `schema_migrations`
Processing by WelcomeController#index as HTML
  Member Load (0.4ms)  SELECT `members`.* FROM `members` WHERE `members`.`disabled` = 0 AND `members`.`id` IS NULL ORDER BY `members`.`id` ASC LIMIT 1
Completed 500 Internal Server Error in 19ms

SocketError - getaddrinfo: nodename nor servname provided, or not known:
  app/models/global.rb:59:in `ticker'
  app/models/market.rb:54:in `ticker'
  app/controllers/application_controller.rb:119:in `set_gon'
  lib/middleware/security.rb:11:in `call'
  lib/middleware/i18n_js.rb:9:in `call'

Started POST "/__better_errors/f2bf849bbb6ec229/variables" for 127.0.0.1 at 2017-12-01 18:48:05 -0600

Any help would be greatly appreciated.

from peatio.

JustinSeidl avatar JustinSeidl commented on August 28, 2024

@yivo @dkkoval ^

from peatio.

dmk avatar dmk commented on August 28, 2024

You can't read Rails cache so I guess your app can't connect to Redis. Make sure your Redis server is running and you have REDIS_URL in config/application.yaml.

from peatio.

yivo avatar yivo commented on August 28, 2024

@JustinSeidl By default app.yml sets REDIS_URL to redis://redis:6379. You have got this error since your machine can't resolve IP address to host redis. If you will change redis to localhost, for example, it should work. Either add 127.0.0.1 redis to your hosts. We probably should change it by default.

from peatio.

JustinSeidl avatar JustinSeidl commented on August 28, 2024

@dkkoval @yivo thanks for the help! I'm all setup and hoping to contribute in the near future.

from peatio.

dmk avatar dmk commented on August 28, 2024

@JustinSeidl we will be happy to see you among our contributors! 😉

from peatio.

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.