Replies: 10 comments
-
Hi @SatyaDnv, does it work if you provide the base_url parameter instead: from TM1py import TM1Service
with TM1Service(base_url="https://localhost:12354", user="admin", password="apple") as tm1:
print(tm1.server.get_product_version()) |
Beta Was this translation helpful? Give feedback.
-
Thank you for the response. No. It sends 404 not found exception. |
Beta Was this translation helpful? Give feedback.
-
ERROR: 404 Not Foundnginx/1.18.0 ' - Status Code: 404 - Reason: 'Not Found' - Headers: {'Server': 'nginx/1.18.0', 'Date': 'Wed, 08 Jun 2022 15:12:11 GMT', 'Content-Type': 'text/html', 'Content-Length': '153', 'Connection': 'keep-alive'} -- |
Beta Was this translation helpful? Give feedback.
-
what request do you do against nginx to get the $metadata document in the browser? Without a proxy you would do this: |
Beta Was this translation helpful? Give feedback.
-
The following request response is working well. however, TM1py is 404 not found error. sConnection_String = 'https://servername:8001/tm1/dev/dashboards' |
Beta Was this translation helpful? Give feedback.
-
https//server0:12354/api/v1/$metadata gaves me response of xml of metadata |
Beta Was this translation helpful? Give feedback.
-
I think the only solution is to re-map the delegation of your Nginx. |
Beta Was this translation helpful? Give feedback.
-
unfortunately, can't change on the system side. Any alternative suggestion on client side is feasible for us. |
Beta Was this translation helpful? Give feedback.
-
With 741. i recieve following error. ERROR:
|
Beta Was this translation helpful? Give feedback.
-
thank you so much for all your support. The branch of 741 helped us. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The standard URL has https://servername:port/api/v1.. for us the onpremise uses nginx setup and has the https://servername:port/tm1/test/
The connection is refused with 404 or 401 as the default behaviour points to api/v1 ...
how to change the default behaviour and use /tm1/test in restservice.py,etc...
Beta Was this translation helpful? Give feedback.
All reactions