Skip to content

Even after importing protobuf schema, the message type isn't found #2228

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
heijink opened this issue Jan 8, 2025 · 2 comments
Open

Even after importing protobuf schema, the message type isn't found #2228

heijink opened this issue Jan 8, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@heijink
Copy link

heijink commented Jan 8, 2025

Description

I've imported the *.desc files that I generated from the *.proto files using protoc. I can see the responses, but the requests keep telling me that it can't find the relevant message type, even though I can select it. See screenshots.

Steps to Reproduce

See screenshots:

The request message type isn't found:
Screenshot 2025-01-08 at 12 57 30

But I'm able to select it here.
Screenshot 2025-01-08 at 12 57 43

Moreover, if I restart, all the proto.api.* messages are gone. If I then re-import api.desc in the schema, all the proto.api.* message types are back.

It's possible there's something wrong with api.desc, but I'm getting no error messages when importing it, so it's hard to know what's going on.

Environment

  • App version: Proxyman 5.12.2 (51202)
  • macOS version: macOS Sequoia 15.2
@heijink heijink added the bug Something isn't working label Jan 8, 2025
@NghiaTranUIT
Copy link
Member

May I ask: When it loads proto.api.CheckSumRequest successfully, can Proxyman decode your Request Protobuf Body? Just to verify that this feature is working fine, and the bug is how it loads at launch

@jaroslavas
Copy link

jaroslavas commented May 20, 2025

I have very similar issue with protobuf. One of the fields is following:
repeated int32 start_time_offsets = 20;

If I add int values that are small, like 1 or 5, message is decoded fine, with or without the desc file loaded. But if a number higher than 127 is added to array, I get missing message type error as on the screenshot in the first message.
For testing sake I've tried changing type to double, and with double it works fine.

Let me know if you need more info for debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants