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

can't seem to have more than one configuration #18

Open
ksonda opened this issue Mar 31, 2022 · 1 comment
Open

can't seem to have more than one configuration #18

ksonda opened this issue Mar 31, 2022 · 1 comment

Comments

@ksonda
Copy link
Member

ksonda commented Mar 31, 2022

If data is already in the database (in this example, with data for station-1a and station-2a, adn you try to make/upload a new configuration, with a CSV with stations-A and station-B, triggering the upload yields this sort of log:

DEBUG:urllib3.connectionpool:http://frost:8080 "GET /FROST-Server/v1.1/Things('station-1') HTTP/1.1" 404 54
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): frost
DEBUG:urllib3.connectionpool:http://frost:8080 "POST /FROST-Server/v1.1/Things HTTP/1.1" 400 113
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): frost
DEBUG:urllib3.connectionpool:http://frost:8080 "GET /FROST-Server/v1.1/Things('station-1') HTTP/1.1" 404 54
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): frost
DEBUG:urllib3.connectionpool:http://frost:8080 "POST /FROST-Server/v1.1/Things HTTP/1.1" 400 113
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): frost
DEBUG:urllib3.connectionpool:http://frost:8080 "GET /FROST-Server/v1.1/Things('station-2') HTTP/1.1" 404 54
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): frost
DEBUG:urllib3.connectionpool:http://frost:8080 "POST /FROST-Server/v1.1/Things HTTP/1.1" 400 113
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): frost
DEBUG:urllib3.connectionpool:http://frost:8080 "GET /FROST-Server/v1.1/Things('station-2') HTTP/1.1" 404 54
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): frost
DEBUG:urllib3.connectionpool:http://frost:8080 "POST /FROST-Server/v1.1/Things HTTP/1.1" 400 113
INFO:app:Application Cross Origin Resource Sharing
INFO:werkzeug:192.168.16.1 - - [31/Mar/2022 13:52:14] "POST /v1/process HTTP/1.1" 200 -

As if it's checking for the existence of the previous

And this log from the browser dev tools (note "preflight" POSTs that respond 200 but never complete)
image

@ksonda
Copy link
Member Author

ksonda commented Mar 31, 2022

Note: no matter how many config.json are created/uploaded and changed,

/app/app/static/usercontent/files/transform_config.json never seems to change. All these various csv files are getting downloaded to /app/app/static/usercontent/files though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant