engine icon indicating copy to clipboard operation
engine copied to clipboard

Engine API not working

Open SagarKarmoker opened this issue 1 year ago • 2 comments

Unable to render this definition The provided definition does not specify a valid version field.

Please indicate a valid Swagger or OpenAPI version field. Supported version fields are swagger: "2.0" and those that match openapi: 3.x.y (for example, openapi: 3.1.0).

image image

SagarKarmoker avatar May 13 '24 20:05 SagarKarmoker

hi @SagarKarmoker

In the image you pasted the first key is "openapi": "3.0.3".

Can you share more details:

  • which Engine version you are using?
  • Seems like you are running it locally & using ngrok?
  • Can you try setting the ENABLE_HTTPS to true when running locally and see if you are able to connect to it via dashboard.

In the meantime I will try it with ngrok and check it.

farhanW3 avatar May 14 '24 19:05 farhanW3

I am using docker latest image and for exposing the engine address using ngrok

SagarKarmoker avatar May 14 '24 19:05 SagarKarmoker

@SagarKarmoker

are you still facing this issue?

farhanW3 avatar May 22 '24 23:05 farhanW3

I @SagarKarmoker

I tried the same setup and everything seemed to work for me. Can you confirm the below:

  1. On your .env file the make sure to comment/remove the variable ENABLE_HTTPS other it gives errors..

farhanW3 avatar May 28 '24 20:05 farhanW3

@farhanW3 I am using docker where can I make these .env changes?

SagarKarmoker avatar May 28 '24 20:05 SagarKarmoker

@SagarKarmoker I see what is happening. Will look into a fix for it

farhanW3 avatar May 29 '24 22:05 farhanW3

@SagarKarmoker

we have pushed an update on the Dashboard. If you can give it a try.

farhanW3 avatar May 31 '24 01:05 farhanW3

Sure I will do that. Let's give you an update as soon as possible

SagarKarmoker avatar May 31 '24 08:05 SagarKarmoker

Now working fine. Thanks dude

SagarKarmoker avatar Jun 01 '24 20:06 SagarKarmoker