You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Blank browser page after starting local server #130
Hi,
I followed the "Scenario 2" instructions here: https://github.com/Systems-Modeling/SysML-v2-API-Services (and got one fix, which worked, from here: #118) to get SysML v2 REST/HTTP API and Services running locally on my machine with: (MacOSX / Apple M3 Pro /macOS Sonoma 14.1.1).
I check the PostgreSQL database, not the docker version, and I can see the tables all got created. I randomly checked to see if any data was in them, none. I am assuming this is norm and I will need to add data. Learning this tool, so that more than likely is beyond installation.
Welcome to SysML 2.0 REST API implementation!
Project Creation Service and Project Navigation services are working.
Based on the instructions, at this URL: http://localhost:9000/docs/, I should see a Swagger page (as shown in this image: https://gist.githubusercontent.com/manasbajaj/0635b32fcf42a75eeca79744af953732/raw/0f73c2f3c8464bc36cb9341516bf9bdfb2342163/SysML-v2-REST-HTTP-API-Swagger-Doc.png)
So I could make some progress on my evaluation, I tried to access the SysML-v2-API-Services via the SST link, https://sysml2-sst.intercax.com:9000/docs/, and got the following error:
This site can’t provide a secure connection
sysml2-sst.intercax.com sent an invalid response.
We are noticing this issue as well and it is due to the fact that Rapid docs capability that renders the OpenAPI specification (JSON) is using an external CDN that seems to be unreachable this week, resulting in this issue. This is the default CDN used by Rapid docs. But we have found an interim workaround and will be providing a fix on the develop branch by Mon.
This is also the reason why you see a blank page on localhost.
Note that this is ONLY an issue in rendering the API docs. The actual API will work, so a GET request to http://sysml2-sst.intercax.com/projects endpoint will work fine.
Alternatively, can you try http://sysml2.intercax.com:9000/docs/ on Chrome with Incognito mode? Continue to site when prompted. The SSL certs are not installed on the site yet and hence you have to open in Incognito mode. Chrome does not allow opening non https sites anymore. We are planning to deploy certs on the site but that requires coordinate with other OMG members using the server.
I will standby until the issue that affects the scenario 2, running it locally, is resolved. There is a specific reason I need to get this working. Good to know you are working on the issue.
Yes, when I try http://sysml2.intercax.com:9000/docs/ , I am able to get to the Systems Modeling API and Services 1.0. page. I will use this in the mean time.
Activity
macroteck commentedon Mar 28, 2025
Additionally:
So I could make some progress on my evaluation, I tried to access the SysML-v2-API-Services via the SST link, https://sysml2-sst.intercax.com:9000/docs/, and got the following error:
This site can’t provide a secure connection
sysml2-sst.intercax.com sent an invalid response.
ERR_SSL_PROTOCOL_ERROR
I am not sure is that is the link, but I googled it since i was not listed in the doc found here: https://github.com/Systems-Modeling/SysML-v2-API-Services. Is this URL incorrect? Can you provide the correct URL, please.
Thanks
Rich
manasbajaj commentedon Mar 28, 2025
Hello @macroteck
We are noticing this issue as well and it is due to the fact that Rapid docs capability that renders the OpenAPI specification (JSON) is using an external CDN that seems to be unreachable this week, resulting in this issue. This is the default CDN used by Rapid docs. But we have found an interim workaround and will be providing a fix on the develop branch by Mon.
This is also the reason why you see a blank page on localhost.
Yes, your URL is correct and http://sysml2-sst.intercax.com:9000/docs/ should work but it is not due to the issue above.
Note that this is ONLY an issue in rendering the API docs. The actual API will work, so a GET request to http://sysml2-sst.intercax.com/projects endpoint will work fine.
Alternatively, can you try http://sysml2.intercax.com:9000/docs/ on Chrome with Incognito mode? Continue to site when prompted. The SSL certs are not installed on the site yet and hence you have to open in Incognito mode. Chrome does not allow opening non https sites anymore. We are planning to deploy certs on the site but that requires coordinate with other OMG members using the server.
Best Regards
Manas
macroteck commentedon Mar 28, 2025
Manas,
Thank you for the reply.
GH-130: ~Switch CDN providers to avoid unpkg.com CDN issue
Merge pull request #131 from Systems-Modeling/problem/GH-130
zwelz3 commentedon Aug 5, 2025
This is closed by #131 now yes?