Skip to content

Commit

Permalink
Merge pull request #1186 from ITISFoundation/FREEZE_Ueberwald_early_2
Browse files Browse the repository at this point in the history
Hotfix Fix/websocket conn (#1185)
  • Loading branch information
pcrespov authored Nov 26, 2019
2 parents 37b4344 + 0574d7c commit 8fc180d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
log = logging.getLogger(__file__)

# TODO: separate API from server application!
sio = socketio.AsyncServer(async_mode="aiohttp", logging=log)
sio = socketio.AsyncServer(async_mode="aiohttp",
logger=log,
cors_allowed_origins='*', # FIXME: deactivate when reverse proxy issue with traefik resolved
engineio_logger=log)


@sio.on("connect")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ def wait_till_celery_responsive(url):

status = celery.bin.celery.CeleryCommand.commands['status']()
status.app = status.get_app()
status.run()
status.run() # raises celery.bin.base.Error if cannot run
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,18 @@
Here we can find fixtures of most of these configurations
"""

# pylint:disable=wildcard-import
# pylint:disable=unused-import
# pylint:disable=unused-variable
# pylint:disable=unused-argument
# pylint:disable=redefined-outer-name


import os
import re
import shutil
import socket
import subprocess
import sys
from collections import defaultdict
from copy import deepcopy
from pathlib import Path
from typing import Dict, List, Union
from typing import Dict, List

import pytest
import yaml
Expand Down

0 comments on commit 8fc180d

Please sign in to comment.