Tencent / Tencent/TAD_Sim

关于开发模式下,service不容易获取的解决方案

Open
#85 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
465
Forks
122
PR merge metrics
No merged PRs in 30d

Description

多次打包经验,但是依旧没法正常访问服务

image

研究了一下这个链路,electron会启动service下面的txsim-local-service.exe(后端服务)

但是会报错起不来,然后我手动起了一下,端口是8302,代码里的端口改为8302能通了,但是显示bad request。

看了下可执行release中的exe的所有服务都是9000,就不如直接用exe的服务(即:前端去simapp启动三个项目,然后service直接用exe的服务)

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the development-mode startup and tracing how Electron launches service/txsim-local-service.exe. Check the configured ports against the service's reported ports and investigate the bad request response; done means the development setup starts the intended service and requests succeed without manual intervention.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, electron
Domain
backend, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.