dhiaayachi / temporal

Temporal service
https://docs.temporal.io
MIT License
0 stars 0 forks source link

Mysql ERROR : Out of range value for column 'rpc_port' #293

Open dhiaayachi opened 2 months ago

dhiaayachi commented 2 months ago

Expected Behavior

Start Success

Actual Behavior

2023-08-31T17:46:43.067380+0800 error   /Users/admin/go/pkg/mod/go.temporal.io/server@v1.21.5/common/persistence/persistenceMetricClients.go:1281       Operation failed with internal error.   {"error": "UpsertClusterMembership operation failed. Error: Error 1264 (22003): Out of range value for column 'rpc_port' at row 1", "operation": "UpsertClusterMembership", "logging-call-at": "persistenceMetricClients.go:1281"}

Steps to Reproduce the Problem

  1. Start Temporal use config file development-mysql8.yaml on Linux machine
  2. Then Server exit and print error

Specifications

dhiaayachi commented 2 months ago

Thank you for reporting this issue.

The error message indicates that the MySQL database you are using has a constraint on the rpc_port column, and the value specified in your configuration file is out of range.

Could you please check your development-mysql8.yaml configuration file and verify the rpc_port setting for the Frontend service? The default port is 7233.

If you have customized the port, please ensure that it is within the acceptable range for your MySQL database. You can refer to the MySQL documentation for information on the allowed range for port values.

If the port value is within the allowed range and the error persists, please provide the following information:

This will help us to diagnose the issue more effectively.

dhiaayachi commented 2 months ago

Temporal 102: Exploring Durable Execution with Python

This course will take you beyond the basics of Temporal application development and equip you with the skills needed to confidently navigate the full Temporal development lifecycle. You will learn how to effectively test, debug, deploy, and update your Temporal applications.

Key topics covered:

By the end of this course, you will be able to:

Prerequisites:

What you'll need:

Enroll in the course:

The course is available on the Temporal TalentLMS platform. You can access the course and its materials here: https://temporal.talentlms.com/catalog/info/id:168.

Tags:

Last updated: Mar 7, 2024

Next Steps:

Let me know if you have any questions! I'm here to help you succeed with Temporal.

dhiaayachi commented 2 months ago

Thanks for reporting this issue. It looks like you are experiencing a 22003: Out of range value for column 'rpc_port' at row 1 error. This error generally means that the rpc_port column in your MySQL database is too small to store the value that Temporal is trying to write. You should verify that the rpc_port column is set to a size that can accommodate Temporal's port value ( 7233, by default). Refer to https://dev.mysql.com/doc/refman/8.0/en/numeric-types.html to learn how to change a column size. If you continue to see this error, please provide your Temporal configuration file development-mysql8.yaml for review.

dhiaayachi commented 2 months ago

Temporal 102: Exploring Durable Execution with TypeScript | Learn Temporal

Skip to main content

Replay will return September 18-20 in Seattle! Secure your ticket.

Temporal logoTemporal logoHome Get started Courses Project-based tutorials Example applications Documentation

Search

Temporal 102: Exploring Durable Execution with TypeScript

Last updated on Mar 7, 2024

Tags:

Temporal TypeScript SDK

Estimated time: ~⏱️ 4 hours, self-paced.

Cost: Free

Description

In this course, you'll go beyond the basics of Temporal application development, acquiring skills that will help you on your journey to production deployment. Along the way, you'll encounter several common problems faced by Temporal developers, find out why they occur, and more importantly, how to identify and solve them, as well as how to avoid them in the future. By emphasizing key concepts and best practices, you'll gain a deeper understanding of how Temporal works and how to use it effectively.

When you've completed the course, you'll be able to:

Prerequisites:

To be successful in this course, you should have an understanding of the fundamental concepts, tools, and techniques used to develop and execute basic Temporal applications with the TypeScript SDK. This includes the ability to develop and execute Temporal Workflows and Activities, navigate the Web UI, configure and run a Worker, as well as an understanding of the high-level interactions between the Temporal Application and Temporal Cluster during Workflow Execution. We strongly recommend that you complete Temporal 101, which covers these topics, before starting this course.

Since code used in examples and exercises are written in TypeScript, you must also have at least basic proficiency with the TypeScript programming language.

Go to Course

Tags:

Last updated on Mar 7, 2024

Previous\ \ Temporal 102: Exploring Durable Execution with Python Next\ \ Introduction to Temporal Cloud

Temporal logoTemporal logo

Copyright © 2024 Temporal Technologies Inc.