Prism serve not working


(Ekaitz Hernandez) #1

I did this:

ekaitz@air-de-ekaitz api-manager-web (APIGOV-5834) $ prism login
Prism version is 2.0.15
Please enter Stoplight Next username or email:
********@gmail.com
Please enter your password:

Logged in as ekaitzht
ekaitz@air-de-ekaitz api-manager-web (APIGOV-5834) $ prism serve https://exporter.stoplight.io/10915/version/1.0/main.oas2.yml --debug
Prism version is 2.0.15
Prism Proxy started on port 4010
DEBUG: martian: accepted connection from [::1]:57745
DEBUG: martian: accepted connection from [::1]:57746
DEBUG: martian: waiting for request: [::1]:57746
DEBUG: martian: waiting for request: [::1]:57745
INFO: martian: received request: http://localhost:4010/
DEBUG: martian: skipping round trip
DEBUG: martian: sent response: http://localhost:4010/
DEBUG: martian: waiting for request: [::1]:57745
DEBUG: martian: connection closed prematurely: EOF
DEBUG: martian: closing connection: [::1]:57745
DEBUG: martian: connection closed prematurely: EOF
DEBUG: martian: closing connection: [::1]:57746

Then I go to the browser and I type my mock server (see attached image):

14


(Taylor Barnett) #2

Hi! This could be a few different things. First, is it setup like in this doc? Especially step 10:


(Taylor Barnett) #3

Since I haven’t heard back, I’m going to go ahead and close this issue.


(Taylor Barnett) #4