Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems with outgoing secure connections #1987

Open
1 task
palandovalex opened this issue Feb 5, 2023 · 1 comment
Open
1 task

problems with outgoing secure connections #1987

palandovalex opened this issue Feb 5, 2023 · 1 comment
Labels
invalid question reproducer: missing This PR or issue leaks code, which reproduce the problem described or clearly understandable STR triage

Comments

@palandovalex
Copy link

palandovalex commented Feb 5, 2023

I'm submitting a ...

  • bug report

What is the current behavior?

in my cherrypy project, a module (rosreestr2coord) is used, which should access the site api over a secure connection and receive the necessary content. When this module is run through the interpreter, or just through a file, then everything is in order. But when this module is used in a running cherrypy server, a connection refused occurs.

If the current behavior is a bug, please provide the steps to reproduce and if possible a screenshots and logs of the problem. If you can, show us your code.

if __name__ == '__main__':
    config = {
        '/static':{
            'tools.staticdir.on': True,
            'tools.staticdir.dir': STATIC_DIR,
        }
    }
    cherrypy.config.update({
        'server.socket_host': '0.0.0.0', 
        'server.socket_port': 8080
    })
    cherrypy.quickstart(Root(), '/', config=config)

Please tell us about your environment:

  • Cheroot version: 9.0.0
  • CherryPy version: 18.8.0
  • Python version: 3.10.6
  • OS: ubuntu 22.04

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, e.g. stackoverflow, gitter, etc.)

@webknjaz
Copy link
Member

webknjaz commented Feb 5, 2023

Could you post a reproducer? Otherwise, use So or Gitter to get community support.
We can't decide if it's a bug or what's going on without a repro or a decent deep analysis of what's happening.

@webknjaz webknjaz added invalid question reproducer: missing This PR or issue leaks code, which reproduce the problem described or clearly understandable STR triage labels Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid question reproducer: missing This PR or issue leaks code, which reproduce the problem described or clearly understandable STR triage
Projects
None yet
Development

No branches or pull requests

2 participants