Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 242
    • Issues 242
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 34
    • Merge Requests 34
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • List
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Issues
  • #777

Closed
Open
Opened 1 week ago by Mark Harding@markeharding
  • Report abuse
  • New issue
Report abuse New issue

(chore): Catch RedisException when using pubsub publis - RedisException: Redis server went away

Sentry Issue: ENGINE-F

RedisException: Redis server went away
  File "/Core/Data/PubSub/Redis/Client.php", line 41, in Redis::publish
    return $this->redis->publish($channel, $data);
  File "/Core/Data/PubSub/Redis/Client.php", line 41, in Minds\Core\Data\PubSub\Redis\Client::publish
    return $this->redis->publish($channel, $data);
  File "/Core/Sockets/Events.php", line 86, in Minds\Core\Sockets\Events::emit
    $this->redis->publish($this->prefix . $packet['nsp'] . '#', $packed);
  File "/Core/Notification/UpdateMarkers/Manager.php", line 46, in Minds\Core\Notification\UpdateMarkers\Manager::pushToSocketRoom
    ->emit("marker:{$marker->getEntityGuid()}", json_encode($marker->export()));
  File "/Controllers/api/v2/notifications/markers.php", line 94, in Minds\Controllers\api\v2\notifications\markers::put
    $manager->pushToSocketRoom($marker);
...
(4 additional frame(s) were not displayed)

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

Related issues
0

    Related merge requests
    1
    • Opened 41 minutes ago
      Sep 4, 2019 9:27pm GMT+0000
      (fix) Catch RedisException when using pubsub
      Opened 41 minutes ago
      Sep 4, 2019 9:27pm GMT+0000
      !314
    When this merge request is accepted, this issue will be closed automatically.
    • Discussion 9
    • Designs 0
    • Mark Harding @markeharding changed weight to 1 1 week ago

      changed weight to 1

    • Mark Harding @markeharding changed milestone to %sprint: Lucky Lizard 1 week ago

      changed milestone to %sprint: Lucky Lizard

    • Mark Harding @markeharding assigned to @gthouret 1 week ago

      assigned to @gthouret

    • Mark Harding @markeharding added Priority::1 - High Type::Bug scoped labels 1 week ago

      added Priority::1 - High Type::Bug scoped labels

    • Guy Thouret
      Guy Thouret @gthouret · 1 hour ago
      Developer

      Hoping it's not related to Redis limitations in: https://tech.trivago.com/2017/01/25/learn-redis-the-hard-way-in-production

    • Guy Thouret
      Guy Thouret @gthouret · 1 hour ago
      Developer

      I modified the Redis PubSub interface so that connection issues should be handled and false returned instead of throwing a RedisException.

      Edited by Guy Thouret 1 hour ago
    • Guy Thouret @gthouret mentioned in commit 69ea2858 55 minutes ago

      mentioned in commit 69ea2858

    • Guy Thouret @gthouret added Status::InProgress scoped label 43 minutes ago

      added Status::InProgress scoped label

    • Guy Thouret @gthouret mentioned in merge request !314 41 minutes ago

      mentioned in merge request !314

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply

    The one place for your designs

    Upload and view the latest designs for this issue. Consistent and easy to find, so everyone is up to date.

    Assignee
    Guy Thouret's avatar
    Guy Thouret @gthouret
    Assign to
    none
    Epic
    None
    sprint: Lucky Lizard
    Milestone
    sprint: Lucky Lizard
    Assign milestone
    None
    Time tracking
    No estimate or time spent
    None
    Due date
    None
    3
    Labels
    Priority::1 - High Status::InProgress Type::Bug
    Assign labels
    • View project labels
    1
    Weight
    1
    Confidentiality
    Not confidential
    Lock issue
    Unlocked
    2
    2 participants
    user avatar
    Guy Thouret
    user avatar
    Mark Harding
    Reference: minds/engine#777