Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations pierreick on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connection Error - Ram API

Status
Not open for further replies.

rscassar

Structural
Jul 29, 2010
631
Has anyone been getting a connection error when using the RamConcept API

ConnectionError: HTTPConnectionPool(host='localhost', port=50795): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000023BFCB03AF0>: Failed to establish a new connection: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted'))
 
Replies continue below

Recommended for you

Here are some thoughts:
• Firewall is preventing messages from getting through.
• Concept is prevented from starting up? (you should be able to check that with TaskManager)

You can also try:
• Setting start_timeout_seconds in Concept.start_concept().
• Setting log_file_path in Concept.start_concept() to see what is happening on Concept.exe side
 
Thanks Seth, the problem seemed to go away. Was only happening yesterday, when I got to approx 15,000 pings I was getting OSError and NetworkError. I tried again this morning and back to normal. I was extracting all slab elements data from the model.
 
I believe the error came about cause I had two ram models open thru the API and that was giving some issues.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor