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

Connection refused for one of the tunnels #6

Closed
JannisNe opened this issue May 12, 2021 · 3 comments
Closed

Connection refused for one of the tunnels #6

JannisNe opened this issue May 12, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@JannisNe
Copy link
Collaborator

Describe the bug
When trying to open the tunnels to AMPEL one of them refuses connection

(base) jannisnecker@s93dyn148:~$ ssh -L27018:localhost:27018 ztf-wgs.zeuthen.desy.de
Warning: No xauth data; using fake authentication data for X11 forwarding.
Last login: Wed May 12 11:42:01 2021 from pub2.zeuthen.desy.de
Scientific Linux release 7.8 (Nitrogen)

Info: https://dvinfo.zeuthen.desy.de/SL7_User_Information

Please report any bugs or problems to [email protected]

[wgs33] ~ % channel 3: open failed: connect failed: Connection refused

Expected behavior
All works.

Additional context
This leads i believe to the error i get when trying to run Neutrino_GCN_parser.ipynb:

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-4-02deb5acdaa8> in <module>
----> 1 nu = NeutrinoScanner("IC200916A", logger=logger)

~/Software/ampel_followup/ampel_followup_pipeline/neutrino_scanner.py in __init__(self, nu_name, manual_args, gcn_no, logger, cone_nside, t_precursor)
     93 
     94         self.output_path = f"{nu_candidate_output_dir}/{nu_name}.pdf"
---> 95         AmpelWizard.__init__(self, t_min=nu_time, run_config=nu_run_config, logger=logger, cone_nside=cone_nside)
     96         self.default_t_max = Time.now()
     97         self.prob_threshold = 0.9

~/Software/ampel_followup/ampel_followup_pipeline/ampel_magic.py in __init__(self, run_config, t_min, logger, resource, filter_class, cone_nside, fast_query, cones_to_scan)
    110             self.ampel_filter_class = filter_class(logger=logger, resource=resource, **run_config)
    111 
--> 112             self.catshtm = catshtm_server.get_client(resource['catsHTM'])
    113 
    114             self.dap = DevAlertProcessor(self.ampel_filter_class)

~/opt/envs/ampel_followup/lib/python3.8/site-packages/ampel/contrib/hu/catshtm_server.py in get_client(address)
     32         return catsHTMFacade(catalogs=address)
     33     else:
---> 34         raise ValueError(f"{address} is not a directory")
     35 

ValueError: tcp://127.0.0.1:27020 is not a directory
@JannisNe JannisNe added the bug Something isn't working label May 12, 2021
simeonreusch added a commit that referenced this issue May 12, 2021
@JannisNe
Copy link
Collaborator Author

That did it, thanks!

@robertdstein
Copy link
Member

Needs to be properly fixed

@robertdstein robertdstein reopened this May 12, 2021
@robertdstein
Copy link
Member

Linked to #1 for ultimate solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants