Skip to content
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

The URI returns http://:7086 and no data is generated. #33

Open
enishimu1 opened this issue Sep 25, 2024 · 10 comments · May be fixed by #53
Open

The URI returns http://:7086 and no data is generated. #33

enishimu1 opened this issue Sep 25, 2024 · 10 comments · May be fixed by #53
Assignees

Comments

@enishimu1
Copy link

enishimu1 commented Sep 25, 2024

When I run dotnet run on the event-sourcing sample, the URI returns http://:7086 and no data is generated.
Are there any omissions or errors in the procedures?

[Execution result]
C:\Temp\cosmos-db-design-patterns\event-sourcing\source> dotnet run
Unhandled exception. System.InvalidOperationException: The gRPC channel URI 'http://:7086' could not be parsed.

@enishimu1
Copy link
Author

enishimu1 commented Sep 30, 2024

Hellow @markjbrown, @paladique
The results of both command runs are attached.
dotnet run.txt
func start.txt

@markjbrown
Copy link
Contributor

Hey @paladique can you take a look at this when you get a chance? @enishimu1 is using this repo for a demo in a session.

Thanks!

@enishimu1
Copy link
Author

enishimu1 commented Oct 1, 2024 via email

@paladique
Copy link
Contributor

Thanks for the output @enishimu1 - I'll take a look into this

@paladique
Copy link
Contributor

paladique commented Oct 1, 2024

Updates here:

  • The function needed to be changed to an isolated worker model, see PR here: Migrate to Isolated Worker Model #34
  • Since this project was upgraded to .NET 8, there were some additional edits that needed to be made to get this up and running.
  • Active branch referenced, still a WIP. Run console app with dotnet run -- console

@enishimu1
Copy link
Author

enishimu1 commented Oct 2, 2024 via email

@enishimu1
Copy link
Author

enishimu1 commented Oct 2, 2024 via email

@enishimu1
Copy link
Author

Thanks for checking. I'll try this right away.

@enishimu1
Copy link
Author

@paladique

"FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated"
Now, [func start] started without any problems.
However, [dotnet run -- console.txt] still does not start. This time, [http://:] was returned.
Attached is the exception.
(https://github.com/user-attachments/files/17221128/dotnet.run.--.console.txt)

@markjbrown
Copy link
Contributor

I merged @paladique PR for isolated mode. We are reviewing all of these now to make updates and fixes. We can take another look and get resolved. Thanks.

@paladique paladique linked a pull request Oct 17, 2024 that will close this issue
@paladique paladique linked a pull request Oct 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants