webapi

Is it posible to expose 5001 (HTTP) and 5672 (TCP) ports in a Cloud Run Service?

六眼飞鱼酱① 提交于 2020-12-15 02:56:03
问题 I am setting up a solution in Google Cloud. I need a RabbitMQ queue broker and a WebAPI developed in .NET Core 2.2. The idea is for the WebAPI to connect to RabbitMQ to receive messages. I have mounted RabbitMQ with GKE in a cluster of kubernetes with RabbitMQ Cluster, obtained in Marketplace. I have mounted the WebAPI in Cloud Run. Both components are raised in a standard way, without any particularity for publication. The WebAPI uses port 5001 for HTTP traffic, and apparently the listener

Is it posible to expose 5001 (HTTP) and 5672 (TCP) ports in a Cloud Run Service?

我的梦境 提交于 2020-12-15 02:55:39
问题 I am setting up a solution in Google Cloud. I need a RabbitMQ queue broker and a WebAPI developed in .NET Core 2.2. The idea is for the WebAPI to connect to RabbitMQ to receive messages. I have mounted RabbitMQ with GKE in a cluster of kubernetes with RabbitMQ Cluster, obtained in Marketplace. I have mounted the WebAPI in Cloud Run. Both components are raised in a standard way, without any particularity for publication. The WebAPI uses port 5001 for HTTP traffic, and apparently the listener

MongoDB SSL on localhost is it required?

点点圈 提交于 2020-12-13 11:31:28
问题 The question doesn't let me sleep, MongoDB SSL on localhost is it required? I have NodeJS RestAPI, and mongoDB on the same machine on the VPS. For what purpose using SSL on localhost, if MongoDB is installed on the same machine as NodeJS? 回答1: MongoDB SSL on localhost is it required? No. For what purpose using SSL on localhost Mostly cargo cult programming I would say. 回答2: Is it required? Required by MongoDB, no. Although it might be required by a system administrator or security manager.

MongoDB SSL on localhost is it required?

泄露秘密 提交于 2020-12-13 11:31:21
问题 The question doesn't let me sleep, MongoDB SSL on localhost is it required? I have NodeJS RestAPI, and mongoDB on the same machine on the VPS. For what purpose using SSL on localhost, if MongoDB is installed on the same machine as NodeJS? 回答1: MongoDB SSL on localhost is it required? No. For what purpose using SSL on localhost Mostly cargo cult programming I would say. 回答2: Is it required? Required by MongoDB, no. Although it might be required by a system administrator or security manager.

An error when sending PATCH with Postman to Asp.net Core webapi

让人想犯罪 __ 提交于 2020-08-20 03:39:29
问题 I have a model, public class Order { public Guid Id { get; set; } public IEnumerable<string> ItemIds { get; set; } public string Currency { get; set; } } and a repository, public interface IOrderRepository { IEnumerable<Order> Get(); Order Get(Guid id); void Add(Order order); void Update(Guid id, Order order); // other irrelevant code has been deleted for simplicity } public class MemoryOrderRepository : IOrderRepository { private readonly IList<Order> _orders = new List<Order>(); public

WebRTC stuck in connecting state when ice servers are included (remote candidates causing issues even over LAN)

岁酱吖の 提交于 2020-07-10 03:16:05
问题 The bounty expires in 7 days . Answers to this question are eligible for a +50 reputation bounty. David Callanan wants to draw more attention to this question. I was temporarily creating an RTCPeerConnection without any iceServers while attempting to solve a previous issue. let peer = new RTCPeerConnection(); This has been working perfectly on my local network. However device that's not on the same network (for example, a mobile on 4G) would not connect. I remembered that I had to add back